OLD | NEW |
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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h
" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 | 14 |
15 namespace webkit_glue { | 15 namespace webkit_glue { |
16 struct WebPreferences; | 16 struct WebPreferences; |
17 } | 17 } |
18 | 18 |
19 namespace WebKit { | 19 namespace WebKit { |
20 class WebFrame; | 20 class WebFrame; |
21 class WebNode; | 21 class WebNode; |
22 class WebPlugin; | 22 class WebPlugin; |
23 class WebString; | 23 class WebString; |
24 class WebURLRequest; | 24 class WebURLRequest; |
25 class WebView; | 25 class WebView; |
26 struct WebContextMenuData; | 26 struct WebContextMenuData; |
27 struct WebPluginParams; | 27 struct WebPluginParams; |
| 28 struct WebRenderingStats; |
28 } | 29 } |
29 | 30 |
30 namespace gfx { | 31 namespace gfx { |
31 class Size; | 32 class Size; |
32 } | 33 } |
33 | 34 |
34 namespace webkit { | 35 namespace webkit { |
35 struct WebPluginInfo; | 36 struct WebPluginInfo; |
36 } | 37 } |
37 | 38 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Displays a modal alert dialog containing the given message. Returns | 121 // Displays a modal alert dialog containing the given message. Returns |
121 // once the user dismisses the dialog. | 122 // once the user dismisses the dialog. |
122 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, | 123 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, |
123 const WebKit::WebString& message) = 0; | 124 const WebKit::WebString& message) = 0; |
124 | 125 |
125 // The client should handle the navigation externally. | 126 // The client should handle the navigation externally. |
126 virtual void LoadURLExternally( | 127 virtual void LoadURLExternally( |
127 WebKit::WebFrame* frame, | 128 WebKit::WebFrame* frame, |
128 const WebKit::WebURLRequest& request, | 129 const WebKit::WebURLRequest& request, |
129 WebKit::WebNavigationPolicy policy) = 0; | 130 WebKit::WebNavigationPolicy policy) = 0; |
| 131 |
| 132 virtual void GetRenderingStats(WebKit::WebRenderingStats&) const = 0; |
130 }; | 133 }; |
131 | 134 |
132 } // namespace content | 135 } // namespace content |
133 | 136 |
134 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |