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 <list> | 8 #include <list> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/browser/render_widget_host.h" | 12 #include "content/public/browser/render_widget_host.h" |
13 #include "content/public/common/file_chooser_params.h" | 13 #include "content/public/common/file_chooser_params.h" |
14 #include "content/public/common/page_zoom.h" | 14 #include "content/public/common/page_zoom.h" |
15 #include "third_party/WebKit/public/web/WebDragOperation.h" | 15 #include "third_party/WebKit/public/web/WebDragOperation.h" |
16 | 16 |
| 17 #if defined(USE_MOJO) |
| 18 #include "mojo/public/system/core_cpp.h" |
| 19 #endif |
| 20 |
17 class GURL; | 21 class GURL; |
18 struct WebPreferences; | 22 struct WebPreferences; |
19 | 23 |
20 namespace gfx { | 24 namespace gfx { |
21 class Point; | 25 class Point; |
22 } | 26 } |
23 | 27 |
24 namespace base { | 28 namespace base { |
25 class FilePath; | 29 class FilePath; |
26 class Value; | 30 class Value; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 // defined in find-in-page coordinates. | 245 // defined in find-in-page coordinates. |
242 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0; | 246 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0; |
243 | 247 |
244 // Asks the renderer to send the rects of the current find matches. | 248 // Asks the renderer to send the rects of the current find matches. |
245 virtual void RequestFindMatchRects(int current_version) = 0; | 249 virtual void RequestFindMatchRects(int current_version) = 0; |
246 | 250 |
247 // Disables fullscreen media playback for encrypted video. | 251 // Disables fullscreen media playback for encrypted video. |
248 virtual void DisableFullscreenEncryptedMediaPlayback() = 0; | 252 virtual void DisableFullscreenEncryptedMediaPlayback() = 0; |
249 #endif | 253 #endif |
250 | 254 |
| 255 #if defined(USE_MOJO) |
| 256 // Sets the mojo handle for WebUI pages. |
| 257 virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) = 0; |
| 258 #endif |
| 259 |
251 private: | 260 private: |
252 // This interface should only be implemented inside content. | 261 // This interface should only be implemented inside content. |
253 friend class RenderViewHostImpl; | 262 friend class RenderViewHostImpl; |
254 RenderViewHost() {} | 263 RenderViewHost() {} |
255 }; | 264 }; |
256 | 265 |
257 } // namespace content | 266 } // namespace content |
258 | 267 |
259 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 268 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
OLD | NEW |