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

Unified Diff: content/public/browser/render_view_host.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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index 991c868c9a23d38b9ae016f7637ddd55f1c74cbc..84c5a53e4f2d33336b6a98241842d871a8d775ac 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -245,6 +245,9 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
virtual void ToggleSpeechInput() = 0;
+ // User rotated the screen. Calls the "onorientationchange" Javascript hook.
jam 2012/05/14 06:09:54 where will the code that call this reside, i.e. in
bulach 2012/05/14 11:59:30 really good point! until a couple of days ago :) t
+ virtual void SendOrientationChangeEvent(int orientation) = 0;
+
// Passes a list of Webkit preferences to the renderer.
virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0;
};
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698