Chromium Code Reviews| 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; |