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

Unified Diff: content/renderer/render_view_impl.h

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 8e5522a2db4342d4d1409dee4717c2177cebe7bd..782f145d78d1b422d4f36444c159c9989ca3f046 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -863,6 +863,10 @@ class RenderViewImpl : public RenderWidget,
const FilePath& local_directory_name);
void OnMediaPlayerActionAt(const gfx::Point& location,
const WebKit::WebMediaPlayerAction& action);
+
+ // Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on.
+ void OnOrientationChangeEvent(int orientation);
+
void OnPluginActionAt(const gfx::Point& location,
const WebKit::WebPluginAction& action);
void OnMoveOrResizeStarted();

Powered by Google App Engine
This is Rietveld 408576698