Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1609)

Unified Diff: public/platform/Platform.h

Issue 419643008: Make Screen Orientation use Platform Events in order to handle polling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@platform_events
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 41343b51fef518693040bc7575e89d3579214a61..ce362799c9c079d4fd1e563bc8f24de9705e5448 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -621,6 +621,9 @@ public:
case blink::WebPlatformEventGamepad:
setGamepadListener(static_cast<blink::WebGamepadListener*>(listener));
break;
+ case blink::WebPlatformEventScreenOrientation:
+ // No backward-compatibility support here.
+ break;
}
}
@@ -646,6 +649,9 @@ public:
case blink::WebPlatformEventGamepad:
setGamepadListener(0);
break;
+ case blink::WebPlatformEventScreenOrientation:
+ // No backward-compatibility support here.
+ break;
}
}
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp ('k') | public/platform/WebPlatformEventType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698