diff options
author | Jansen Jan <farodin91@sek-server.de> | 2016-12-08 14:02:08 +0100 |
---|---|---|
committer | Jansen Jan <farodin91@sek-server.de> | 2016-12-09 11:45:50 +0100 |
commit | 55f0e56224be03dcbd17d5cba1c45f8b0c6bb390 (patch) | |
tree | fb8f23cab824af1e9731c3bc1acb754ee443c77b /components/script/script_thread.rs | |
parent | c3c086e521b73d191d5de9239a6748691b0f96a3 (diff) | |
download | servo-55f0e56224be03dcbd17d5cba1c45f8b0c6bb390.tar.gz servo-55f0e56224be03dcbd17d5cba1c45f8b0c6bb390.zip |
Add support for fullscreen #10102
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index ad8c3d09e57..f55d9279138 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -946,7 +946,9 @@ impl ScriptThread { ScriptThreadEventCategory::TimerEvent => ProfilerCategory::ScriptTimerEvent, ScriptThreadEventCategory::WebSocketEvent => ProfilerCategory::ScriptWebSocketEvent, ScriptThreadEventCategory::WorkerEvent => ProfilerCategory::ScriptWorkerEvent, - ScriptThreadEventCategory::ServiceWorkerEvent => ProfilerCategory::ScriptServiceWorkerEvent + ScriptThreadEventCategory::ServiceWorkerEvent => ProfilerCategory::ScriptServiceWorkerEvent, + ScriptThreadEventCategory::EnterFullscreen => ProfilerCategory::ScriptEnterFullscreen, + ScriptThreadEventCategory::ExitFullscreen => ProfilerCategory::ScriptExitFullscreen, }; profile(profiler_cat, None, self.time_profiler_chan.clone(), f) } else { |