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 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/public/browser/render_widget_host.h" | 10 #include "content/public/browser/render_widget_host.h" |
11 #include "content/public/common/page_zoom.h" | 11 #include "content/public/common/page_zoom.h" |
12 #include "content/public/common/stop_find_action.h" | 12 #include "content/public/common/stop_find_action.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
14 | 14 |
15 class FilePath; | |
16 class GURL; | 15 class GURL; |
17 struct WebDropData; | 16 struct WebDropData; |
18 | 17 |
19 namespace gfx { | 18 namespace gfx { |
20 class Point; | 19 class Point; |
21 } | 20 } |
22 | 21 |
23 namespace base { | 22 namespace base { |
| 23 class FilePath; |
24 class Value; | 24 class Value; |
25 } | 25 } |
26 | 26 |
27 namespace ui { | 27 namespace ui { |
28 struct SelectedFileInfo; | 28 struct SelectedFileInfo; |
29 } | 29 } |
30 | 30 |
31 namespace WebKit { | 31 namespace WebKit { |
32 struct WebFindOptions; | 32 struct WebFindOptions; |
33 struct WebMediaPlayerAction; | 33 struct WebMediaPlayerAction; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual void DesktopNotificationPostDisplay(int callback_context) = 0; | 106 virtual void DesktopNotificationPostDisplay(int callback_context) = 0; |
107 virtual void DesktopNotificationPostError(int notification_id, | 107 virtual void DesktopNotificationPostError(int notification_id, |
108 const string16& message) = 0; | 108 const string16& message) = 0; |
109 virtual void DesktopNotificationPostClose(int notification_id, | 109 virtual void DesktopNotificationPostClose(int notification_id, |
110 bool by_user) = 0; | 110 bool by_user) = 0; |
111 virtual void DesktopNotificationPostClick(int notification_id) = 0; | 111 virtual void DesktopNotificationPostClick(int notification_id) = 0; |
112 | 112 |
113 // Notifies the listener that a directory enumeration is complete. | 113 // Notifies the listener that a directory enumeration is complete. |
114 virtual void DirectoryEnumerationFinished( | 114 virtual void DirectoryEnumerationFinished( |
115 int request_id, | 115 int request_id, |
116 const std::vector<FilePath>& files) = 0; | 116 const std::vector<base::FilePath>& files) = 0; |
117 | 117 |
118 // Tells the renderer not to add scrollbars with height and width below a | 118 // Tells the renderer not to add scrollbars with height and width below a |
119 // threshold. | 119 // threshold. |
120 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0; | 120 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0; |
121 | 121 |
122 // Notifies the renderer that a a drag operation that it started has ended, | 122 // Notifies the renderer that a a drag operation that it started has ended, |
123 // either in a drop or by being cancelled. | 123 // either in a drop or by being cancelled. |
124 virtual void DragSourceEndedAt( | 124 virtual void DragSourceEndedAt( |
125 int client_x, int client_y, int screen_x, int screen_y, | 125 int client_x, int client_y, int screen_x, int screen_y, |
126 WebKit::WebDragOperation operation) = 0; | 126 WebKit::WebDragOperation operation) = 0; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 const WebKit::WebFindOptions& options, | 293 const WebKit::WebFindOptions& options, |
294 int* match_count, | 294 int* match_count, |
295 int* active_ordinal) = 0; | 295 int* active_ordinal) = 0; |
296 #endif | 296 #endif |
297 | 297 |
298 }; | 298 }; |
299 | 299 |
300 } // namespace content | 300 } // namespace content |
301 | 301 |
302 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 302 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
OLD | NEW |