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

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

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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 9f1972d56b86c96f8e152fdd04cc3e839f1de79c..313da9cd3d883e13f42a46f2773fdb9e907b0356 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -383,6 +383,9 @@ class CONTENT_EXPORT RenderViewHostImpl
void DidCancelPopupMenu();
#endif
+ // User rotated the screen. Calls the "onorientationchange" Javascript hook.
+ void SendOrientationChangeEvent(int orientation);
+
void set_save_accessibility_tree_for_testing(bool save) {
save_accessibility_tree_for_testing_ = save;
}
@@ -408,7 +411,9 @@ class CONTENT_EXPORT RenderViewHostImpl
GURL* url);
// NOTE: Do not add functions that just send an IPC message that are called in
- // one or two places. Have the caller send the IPC message directly.
+ // one or two places. Have the caller send the IPC message directly (unless
+ // the caller places are in different platforms, in which case it's better
+ // to keep them consistent).
bulach 2012/05/14 17:10:49 I tried to clarify this a bit, let me know if this
protected:
friend class RenderViewHostObserver;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698