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

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: 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 7d5235a18c5e4d44bddb79231fca95d24e4aa59a..58b60eeb1c1b38439b04fd936bf53572ed13ef22 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1658,6 +1658,10 @@ void RenderViewHostImpl::ReloadFrame() {
Send(new ViewMsg_ReloadFrame(GetRoutingID()));
}
+void RenderViewHostImpl::SendOrientationChangeEvent(int orientation) {
+ Send(new ViewMsg_OrientationChangeEvent(GetRoutingID(), orientation));
+}
+
void RenderViewHostImpl::Find(int request_id,
const string16& search_text,
const WebKit::WebFindOptions& options) {

Powered by Google App Engine
This is Rietveld 408576698