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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exposes on RVHImpl only. 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 7ea514c0a281fdf6927159852ad4a320605b2578..57821cd866843eaafb5af4d0fedda7f08097e728 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1538,6 +1538,10 @@ void RenderViewHostImpl::DidCancelPopupMenu() {
}
#endif
+void RenderViewHostImpl::SendOrientationChangeEvent(int orientation) {
+ Send(new ViewMsg_OrientationChangeEvent(GetRoutingID(), orientation));
+}
+
void RenderViewHostImpl::ToggleSpeechInput() {
Send(new InputTagSpeechMsg_ToggleSpeechInput(GetRoutingID()));
}

Powered by Google App Engine
This is Rietveld 408576698