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

Side by Side Diff: content/public/renderer/render_frame.h

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix - webview() -> web_view Created 6 years, 5 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/public/common/web_preferences.cc ('k') | content/public/renderer/render_view.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_RENDERER_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
11 #include "ipc/ipc_sender.h" 11 #include "ipc/ipc_sender.h"
12 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" 12 #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
13 13
14 struct WebPreferences;
15
16 namespace blink { 14 namespace blink {
17 class WebFrame; 15 class WebFrame;
18 class WebLocalFrame; 16 class WebLocalFrame;
19 class WebNode; 17 class WebNode;
20 class WebPlugin; 18 class WebPlugin;
21 class WebURLRequest; 19 class WebURLRequest;
22 struct WebPluginParams; 20 struct WebPluginParams;
23 } 21 }
24 22
25 namespace content { 23 namespace content {
26 class ContextMenuClient; 24 class ContextMenuClient;
27 class RenderView; 25 class RenderView;
28 class ServiceRegistry; 26 class ServiceRegistry;
29 struct ContextMenuParams; 27 struct ContextMenuParams;
30 struct WebPluginInfo; 28 struct WebPluginInfo;
29 struct WebPreferences;
31 30
32 // This interface wraps functionality, which is specific to frames, such as 31 // This interface wraps functionality, which is specific to frames, such as
33 // navigation. It provides communication with a corresponding RenderFrameHost 32 // navigation. It provides communication with a corresponding RenderFrameHost
34 // in the browser process. 33 // in the browser process.
35 class CONTENT_EXPORT RenderFrame : public IPC::Listener, 34 class CONTENT_EXPORT RenderFrame : public IPC::Listener,
36 public IPC::Sender { 35 public IPC::Sender {
37 public: 36 public:
38 // Returns the RenderFrame given a WebFrame. 37 // Returns the RenderFrame given a WebFrame.
39 static RenderFrame* FromWebFrame(blink::WebFrame* web_frame); 38 static RenderFrame* FromWebFrame(blink::WebFrame* web_frame);
40 39
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 96
98 private: 97 private:
99 // This interface should only be implemented inside content. 98 // This interface should only be implemented inside content.
100 friend class RenderFrameImpl; 99 friend class RenderFrameImpl;
101 RenderFrame() {} 100 RenderFrame() {}
102 }; 101 };
103 102
104 } // namespace content 103 } // namespace content
105 104
106 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 105 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698