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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 // Notification that a move or resize renderer's containing window has | 221 // Notification that a move or resize renderer's containing window has |
| 222 // started. | 222 // started. |
| 223 virtual void NotifyMoveOrResizeStarted() = 0; | 223 virtual void NotifyMoveOrResizeStarted() = 0; |
| 224 | 224 |
| 225 // Reloads the current focused frame. | 225 // Reloads the current focused frame. |
| 226 virtual void ReloadFrame() = 0; | 226 virtual void ReloadFrame() = 0; |
| 227 | 227 |
| 228 // Sets the alternate error page URL (link doctor) for the renderer process. | 228 // Sets the alternate error page URL (link doctor) for the renderer process. |
| 229 virtual void SetAltErrorPageURL(const GURL& url) = 0; | 229 virtual void SetAltErrorPageURL(const GURL& url) = 0; |
| 230 | 230 |
| 231 // Sets a flag indicating if the RenderView that will be hosted will act as a | |
| 232 // guest. | |
| 233 virtual void SetHostsGuest(bool hosts_guest) = 0; | |
|
jam
2012/03/19 16:11:30
what about this one?
again it's not clear to me h
| |
| 234 | |
| 231 // Sets a property with the given name and value on the Web UI binding object. | 235 // Sets a property with the given name and value on the Web UI binding object. |
| 232 // Must call AllowWebUIBindings() on this renderer first. | 236 // Must call AllowWebUIBindings() on this renderer first. |
| 233 virtual void SetWebUIProperty(const std::string& name, | 237 virtual void SetWebUIProperty(const std::string& name, |
| 234 const std::string& value) = 0; | 238 const std::string& value) = 0; |
| 235 | 239 |
| 236 // Set the zoom level for the current main frame | 240 // Set the zoom level for the current main frame |
| 237 virtual void SetZoomLevel(double level) = 0; | 241 virtual void SetZoomLevel(double level) = 0; |
| 238 | 242 |
| 239 // Changes the zoom level for the current main frame. | 243 // Changes the zoom level for the current main frame. |
| 240 virtual void Zoom(PageZoom zoom) = 0; | 244 virtual void Zoom(PageZoom zoom) = 0; |
| 241 | 245 |
| 242 // Send the renderer process the current preferences supplied by the | 246 // Send the renderer process the current preferences supplied by the |
| 243 // RenderViewHostDelegate. | 247 // RenderViewHostDelegate. |
| 244 virtual void SyncRendererPrefs() = 0; | 248 virtual void SyncRendererPrefs() = 0; |
| 245 | 249 |
| 246 virtual void ToggleSpeechInput() = 0; | 250 virtual void ToggleSpeechInput() = 0; |
| 247 | 251 |
| 248 // Passes a list of Webkit preferences to the renderer. | 252 // Passes a list of Webkit preferences to the renderer. |
| 249 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; | 253 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; |
| 250 }; | 254 }; |
| 251 | 255 |
| 252 } // namespace content | 256 } // namespace content |
| 253 | 257 |
| 254 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 258 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
| OLD | NEW |