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

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

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync to get android fix 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/common/frame_messages.h ('k') | content/public/browser/render_widget_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 // Edit operations.
64 virtual void Cut() = 0;
65 virtual void Copy() = 0;
66 virtual void Paste() = 0;
67
63 // Requests the renderer to insert CSS into the frame's document. 68 // Requests the renderer to insert CSS into the frame's document.
64 virtual void InsertCSS(const std::string& css) = 0; 69 virtual void InsertCSS(const std::string& css) = 0;
65 70
66 // Temporary until we get rid of RenderViewHost. 71 // Temporary until we get rid of RenderViewHost.
67 virtual RenderViewHost* GetRenderViewHost() = 0; 72 virtual RenderViewHost* GetRenderViewHost() = 0;
68 73
69 private: 74 private:
70 // This interface should only be implemented inside content. 75 // This interface should only be implemented inside content.
71 friend class RenderFrameHostImpl; 76 friend class RenderFrameHostImpl;
72 RenderFrameHost() {} 77 RenderFrameHost() {}
73 }; 78 };
74 79
75 } // namespace content 80 } // namespace content
76 81
77 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 82 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698