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

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

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/common/top_controls_state.h" 13 #include "content/public/common/top_controls_state.h"
14 #include "ipc/ipc_sender.h" 14 #include "ipc/ipc_sender.h"
15 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" 15 #include "third_party/WebKit/public/web/WebPageVisibilityState.h"
16 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 17
18 struct WebPreferences;
19
20 namespace blink { 18 namespace blink {
21 class WebElement; 19 class WebElement;
22 class WebFrame; 20 class WebFrame;
23 class WebLocalFrame; 21 class WebLocalFrame;
24 class WebNode; 22 class WebNode;
25 class WebString; 23 class WebString;
26 class WebURLRequest; 24 class WebURLRequest;
27 class WebView; 25 class WebView;
28 struct WebContextMenuData; 26 struct WebContextMenuData;
29 } 27 }
30 28
31 namespace gfx { 29 namespace gfx {
32 class Size; 30 class Size;
33 } 31 }
34 32
35 namespace content { 33 namespace content {
36 34
37 class RenderFrame; 35 class RenderFrame;
38 class RenderViewVisitor; 36 class RenderViewVisitor;
39 struct SSLStatus; 37 struct SSLStatus;
38 struct WebPreferences;
40 39
41 class CONTENT_EXPORT RenderView : public IPC::Sender { 40 class CONTENT_EXPORT RenderView : public IPC::Sender {
42 public: 41 public:
43 // Returns the RenderView containing the given WebView. 42 // Returns the RenderView containing the given WebView.
44 static RenderView* FromWebView(blink::WebView* webview); 43 static RenderView* FromWebView(blink::WebView* webview);
45 44
46 // Returns the RenderView for the given routing ID. 45 // Returns the RenderView for the given routing ID.
47 static RenderView* FromRoutingID(int routing_id); 46 static RenderView* FromRoutingID(int routing_id);
48 47
49 // Visit all RenderViews with a live WebView (i.e., RenderViews that have 48 // Visit all RenderViews with a live WebView (i.e., RenderViews that have
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 131
133 private: 132 private:
134 // This interface should only be implemented inside content. 133 // This interface should only be implemented inside content.
135 friend class RenderViewImpl; 134 friend class RenderViewImpl;
136 RenderView() {} 135 RenderView() {}
137 }; 136 };
138 137
139 } // namespace content 138 } // namespace content
140 139
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 140 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698