OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "content/common/renderer_preferences.h" | 28 #include "content/common/renderer_preferences.h" |
29 #include "content/renderer/pepper_plugin_delegate_impl.h" | 29 #include "content/renderer/pepper_plugin_delegate_impl.h" |
30 #include "content/renderer/render_widget.h" | 30 #include "content/renderer/render_widget.h" |
31 #include "ipc/ipc_platform_file.h" | 31 #include "ipc/ipc_platform_file.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif
ication.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif
ication.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
41 #include "ui/gfx/surface/transport_dib.h" | 42 #include "ui/gfx/surface/transport_dib.h" |
42 #include "webkit/glue/webpreferences.h" | 43 #include "webkit/glue/webpreferences.h" |
43 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 44 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
44 | 45 |
45 #if defined(OS_WIN) | 46 #if defined(OS_WIN) |
46 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. | 47 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. |
47 // VS warns when we inherit the WebWidgetClient method implementations from | 48 // VS warns when we inherit the WebWidgetClient method implementations from |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 virtual WebKit::WebGeolocationClient* geolocationClient(); | 422 virtual WebKit::WebGeolocationClient* geolocationClient(); |
422 virtual WebKit::WebSpeechInputController* speechInputController( | 423 virtual WebKit::WebSpeechInputController* speechInputController( |
423 WebKit::WebSpeechInputListener* listener); | 424 WebKit::WebSpeechInputListener* listener); |
424 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 425 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
425 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 426 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
426 virtual void zoomLevelChanged(); | 427 virtual void zoomLevelChanged(); |
427 virtual void registerProtocolHandler(const WebKit::WebString& scheme, | 428 virtual void registerProtocolHandler(const WebKit::WebString& scheme, |
428 const WebKit::WebString& base_url, | 429 const WebKit::WebString& base_url, |
429 const WebKit::WebString& url, | 430 const WebKit::WebString& url, |
430 const WebKit::WebString& title); | 431 const WebKit::WebString& title); |
| 432 virtual WebKit::WebPageVisibilityState visibilityState() const; |
431 | 433 |
432 // WebKit::WebFrameClient implementation ------------------------------------- | 434 // WebKit::WebFrameClient implementation ------------------------------------- |
433 | 435 |
434 virtual WebKit::WebPlugin* createPlugin( | 436 virtual WebKit::WebPlugin* createPlugin( |
435 WebKit::WebFrame* frame, | 437 WebKit::WebFrame* frame, |
436 const WebKit::WebPluginParams& params); | 438 const WebKit::WebPluginParams& params); |
437 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame, | 439 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame, |
438 WebKit::WebWorkerClient* client); | 440 WebKit::WebWorkerClient* client); |
439 virtual WebKit::WebSharedWorker* createSharedWorker( | 441 virtual WebKit::WebSharedWorker* createSharedWorker( |
440 WebKit::WebFrame* frame, const WebKit::WebURL& url, | 442 WebKit::WebFrame* frame, const WebKit::WebURL& url, |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 // bunch of stuff, you should probably create a helper class and put your | 1156 // bunch of stuff, you should probably create a helper class and put your |
1155 // data and methods on that to avoid bloating RenderView more. You can use | 1157 // data and methods on that to avoid bloating RenderView more. You can use |
1156 // the Observer interface to filter IPC messages and receive frame change | 1158 // the Observer interface to filter IPC messages and receive frame change |
1157 // notifications. | 1159 // notifications. |
1158 // --------------------------------------------------------------------------- | 1160 // --------------------------------------------------------------------------- |
1159 | 1161 |
1160 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1162 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1161 }; | 1163 }; |
1162 | 1164 |
1163 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1165 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |