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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class ListValue; | 44 class ListValue; |
45 } | 45 } |
46 | 46 |
47 namespace content { | 47 namespace content { |
48 class TestRenderViewHost; | 48 class TestRenderViewHost; |
49 class PowerSaveBlocker; | 49 class PowerSaveBlocker; |
50 } | 50 } |
51 | 51 |
52 namespace ui { | 52 namespace ui { |
53 class Range; | 53 class Range; |
| 54 struct SelectedFileInfo; |
54 } | 55 } |
55 | 56 |
56 namespace content { | 57 namespace content { |
57 | 58 |
58 class SessionStorageNamespace; | 59 class SessionStorageNamespace; |
59 class RenderViewHostObserver; | 60 class RenderViewHostObserver; |
60 class RenderWidgetHostDelegate; | 61 class RenderWidgetHostDelegate; |
61 struct FileChooserParams; | 62 struct FileChooserParams; |
62 struct ContextMenuParams; | 63 struct ContextMenuParams; |
63 struct Referrer; | 64 struct Referrer; |
64 struct SelectedFileInfo; | |
65 struct ShowDesktopNotificationHostMsgParams; | 65 struct ShowDesktopNotificationHostMsgParams; |
66 | 66 |
67 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT | 67 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT |
68 // notifications. | 68 // notifications. |
69 class ExecuteNotificationObserver : public NotificationObserver { | 69 class ExecuteNotificationObserver : public NotificationObserver { |
70 public: | 70 public: |
71 explicit ExecuteNotificationObserver(int id); | 71 explicit ExecuteNotificationObserver(int id); |
72 virtual ~ExecuteNotificationObserver(); | 72 virtual ~ExecuteNotificationObserver(); |
73 virtual void Observe(int type, | 73 virtual void Observe(int type, |
74 const NotificationSource& source, | 74 const NotificationSource& source, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 const string16& jscript) OVERRIDE; | 194 const string16& jscript) OVERRIDE; |
195 virtual void ExecutePluginActionAtLocation( | 195 virtual void ExecutePluginActionAtLocation( |
196 const gfx::Point& location, | 196 const gfx::Point& location, |
197 const WebKit::WebPluginAction& action) OVERRIDE; | 197 const WebKit::WebPluginAction& action) OVERRIDE; |
198 virtual void ExitFullscreen() OVERRIDE; | 198 virtual void ExitFullscreen() OVERRIDE; |
199 virtual void Find(int request_id, const string16& search_text, | 199 virtual void Find(int request_id, const string16& search_text, |
200 const WebKit::WebFindOptions& options) OVERRIDE; | 200 const WebKit::WebFindOptions& options) OVERRIDE; |
201 virtual void StopFinding(StopFindAction action) OVERRIDE; | 201 virtual void StopFinding(StopFindAction action) OVERRIDE; |
202 virtual void FirePageBeforeUnload(bool for_cross_site_transition) OVERRIDE; | 202 virtual void FirePageBeforeUnload(bool for_cross_site_transition) OVERRIDE; |
203 virtual void FilesSelectedInChooser( | 203 virtual void FilesSelectedInChooser( |
204 const std::vector<SelectedFileInfo>& files, | 204 const std::vector<ui::SelectedFileInfo>& files, |
205 int permissions) OVERRIDE; | 205 int permissions) OVERRIDE; |
206 virtual RenderViewHostDelegate* GetDelegate() const OVERRIDE; | 206 virtual RenderViewHostDelegate* GetDelegate() const OVERRIDE; |
207 virtual int GetEnabledBindings() const OVERRIDE; | 207 virtual int GetEnabledBindings() const OVERRIDE; |
208 virtual SessionStorageNamespace* | 208 virtual SessionStorageNamespace* |
209 GetSessionStorageNamespace() OVERRIDE; | 209 GetSessionStorageNamespace() OVERRIDE; |
210 virtual SiteInstance* GetSiteInstance() const OVERRIDE; | 210 virtual SiteInstance* GetSiteInstance() const OVERRIDE; |
211 virtual void InsertCSS(const string16& frame_xpath, | 211 virtual void InsertCSS(const string16& frame_xpath, |
212 const std::string& css) OVERRIDE; | 212 const std::string& css) OVERRIDE; |
213 virtual bool IsRenderViewLive() const OVERRIDE; | 213 virtual bool IsRenderViewLive() const OVERRIDE; |
214 virtual void NotifyContextMenuClosed( | 214 virtual void NotifyContextMenuClosed( |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
658 }; | 658 }; |
659 | 659 |
660 #if defined(COMPILER_MSVC) | 660 #if defined(COMPILER_MSVC) |
661 #pragma warning(pop) | 661 #pragma warning(pop) |
662 #endif | 662 #endif |
663 | 663 |
664 } // namespace content | 664 } // namespace content |
665 | 665 |
666 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 666 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |