Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_ |
| OLD | NEW |