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