mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
implement cef_browser_t::get_identifier()
This commit is contained in:
parent
49d91a5606
commit
797aa36484
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ cef_class_impl! {
|
||||||
fn get_main_frame(&this,) -> *mut cef_frame_t {{
|
fn get_main_frame(&this,) -> *mut cef_frame_t {{
|
||||||
this.downcast().frame.clone()
|
this.downcast().frame.clone()
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
fn get_identifier(&this,) -> c_int {{
|
||||||
|
this.downcast().id as c_int
|
||||||
|
}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue