| 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" |
| 11 #include "content/public/browser/render_widget_host.h" | 11 #include "content/public/browser/render_widget_host.h" |
| 12 #include "content/public/common/page_zoom.h" | 12 #include "content/public/common/page_zoom.h" |
| 13 #include "content/public/common/stop_find_action.h" | 13 #include "content/public/common/stop_find_action.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| 15 | 15 |
| 16 class FilePath; | 16 class FilePath; |
| 17 class GURL; | 17 class GURL; |
| 18 struct WebDropData; | 18 struct WebDropData; |
| 19 |
| 20 namespace webkit_glue { |
| 19 struct WebPreferences; | 21 struct WebPreferences; |
| 22 } |
| 20 | 23 |
| 21 namespace gfx { | 24 namespace gfx { |
| 22 class Point; | 25 class Point; |
| 23 } | 26 } |
| 24 | 27 |
| 25 namespace WebKit { | 28 namespace WebKit { |
| 26 struct WebFindOptions; | 29 struct WebFindOptions; |
| 27 struct WebMediaPlayerAction; | 30 struct WebMediaPlayerAction; |
| 28 struct WebPluginAction; | 31 struct WebPluginAction; |
| 29 } | 32 } |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // Changes the zoom level for the current main frame. | 242 // Changes the zoom level for the current main frame. |
| 240 virtual void Zoom(PageZoom zoom) = 0; | 243 virtual void Zoom(PageZoom zoom) = 0; |
| 241 | 244 |
| 242 // Send the renderer process the current preferences supplied by the | 245 // Send the renderer process the current preferences supplied by the |
| 243 // RenderViewHostDelegate. | 246 // RenderViewHostDelegate. |
| 244 virtual void SyncRendererPrefs() = 0; | 247 virtual void SyncRendererPrefs() = 0; |
| 245 | 248 |
| 246 virtual void ToggleSpeechInput() = 0; | 249 virtual void ToggleSpeechInput() = 0; |
| 247 | 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( |
| 253 const webkit_glue::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 |