Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: content/public/browser/render_view_host.h

Issue 206923002: Adds plumbing to pass WebUI mojo::Handle from browser to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO and merge to trunk Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/web_ui_data_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/web_ui_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698