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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 // Changes the zoom level for the current main frame. 239 // Changes the zoom level for the current main frame.
240 virtual void Zoom(PageZoom zoom) = 0; 240 virtual void Zoom(PageZoom zoom) = 0;
241 241
242 // Send the renderer process the current preferences supplied by the 242 // Send the renderer process the current preferences supplied by the
243 // RenderViewHostDelegate. 243 // RenderViewHostDelegate.
244 virtual void SyncRendererPrefs() = 0; 244 virtual void SyncRendererPrefs() = 0;
245 245
246 virtual void ToggleSpeechInput() = 0; 246 virtual void ToggleSpeechInput() = 0;
247 247
248 // 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
249 virtual void SendOrientationChangeEvent(int orientation) = 0;
250
248 // Passes a list of Webkit preferences to the renderer. 251 // Passes a list of Webkit preferences to the renderer.
249 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; 252 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0;
250 }; 253 };
251 254
252 } // namespace content 255 } // namespace content
253 256
254 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 257 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« 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