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

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

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nasko 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/render_view_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_listener.h" 9 #include "ipc/ipc_listener.h"
10 #include "ipc/ipc_sender.h" 10 #include "ipc/ipc_sender.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual gfx::NativeView GetNativeView() = 0; 53 virtual gfx::NativeView GetNativeView() = 0;
54 54
55 // Let the renderer know that the menu has been closed. 55 // Let the renderer know that the menu has been closed.
56 virtual void NotifyContextMenuClosed( 56 virtual void NotifyContextMenuClosed(
57 const CustomContextMenuContext& context) = 0; 57 const CustomContextMenuContext& context) = 0;
58 58
59 // Executes custom context menu action that was provided from Blink. 59 // Executes custom context menu action that was provided from Blink.
60 virtual void ExecuteCustomContextMenuCommand( 60 virtual void ExecuteCustomContextMenuCommand(
61 int action, const CustomContextMenuContext& context) = 0; 61 int action, const CustomContextMenuContext& context) = 0;
62 62
63 // Requests the renderer to insert CSS into the frame's document.
64 virtual void InsertCSS(const std::string& css) = 0;
65
63 // Temporary until we get rid of RenderViewHost. 66 // Temporary until we get rid of RenderViewHost.
64 virtual RenderViewHost* GetRenderViewHost() = 0; 67 virtual RenderViewHost* GetRenderViewHost() = 0;
65 68
66 private: 69 private:
67 // This interface should only be implemented inside content. 70 // This interface should only be implemented inside content.
68 friend class RenderFrameHostImpl; 71 friend class RenderFrameHostImpl;
69 RenderFrameHost() {} 72 RenderFrameHost() {}
70 }; 73 };
71 74
72 } // namespace content 75 } // namespace content
73 76
74 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 77 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698