aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index 1ddfbc1dc5d..9e5d4be9467 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -153,6 +153,14 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
self.compositor.repaint_synchronously()
}
+ pub fn pinch_zoom_level(&self) -> f32 {
+ self.compositor.pinch_zoom_level()
+ }
+
+ pub fn get_title_for_main_frame(&self) {
+ self.compositor.get_title_for_main_frame()
+ }
+
pub fn shutdown(mut self) {
self.compositor.shutdown();
}