| 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 15 matching lines...) Expand all Loading... |
| 26 #include "content/common/navigation_gesture.h" | 26 #include "content/common/navigation_gesture.h" |
| 27 #include "content/common/page_zoom.h" | 27 #include "content/common/page_zoom.h" |
| 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/WebNode.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
| 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
| 40 #include "ui/gfx/surface/transport_dib.h" | 41 #include "ui/gfx/surface/transport_dib.h" |
| 41 #include "webkit/glue/webpreferences.h" | 42 #include "webkit/glue/webpreferences.h" |
| 42 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 43 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 43 | 44 |
| 44 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
| 45 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. | 46 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 class WebAccessibilityCache; | 116 class WebAccessibilityCache; |
| 116 class WebAccessibilityObject; | 117 class WebAccessibilityObject; |
| 117 class WebApplicationCacheHost; | 118 class WebApplicationCacheHost; |
| 118 class WebApplicationCacheHostClient; | 119 class WebApplicationCacheHostClient; |
| 119 class WebDataSource; | 120 class WebDataSource; |
| 120 class WebDocument; | 121 class WebDocument; |
| 121 class WebDragData; | 122 class WebDragData; |
| 122 class WebFrame; | 123 class WebFrame; |
| 123 class WebGeolocationClient; | 124 class WebGeolocationClient; |
| 124 class WebGeolocationServiceInterface; | 125 class WebGeolocationServiceInterface; |
| 126 class WebIconURL; |
| 125 class WebImage; | 127 class WebImage; |
| 126 class WebInputElement; | 128 class WebInputElement; |
| 127 class WebKeyboardEvent; | 129 class WebKeyboardEvent; |
| 128 class WebMediaPlayer; | 130 class WebMediaPlayer; |
| 129 class WebMediaPlayerClient; | 131 class WebMediaPlayerClient; |
| 130 class WebMouseEvent; | 132 class WebMouseEvent; |
| 131 class WebPlugin; | 133 class WebPlugin; |
| 132 class WebSpeechInputController; | 134 class WebSpeechInputController; |
| 133 class WebSpeechInputListener; | 135 class WebSpeechInputListener; |
| 134 class WebStorageNamespace; | 136 class WebStorageNamespace; |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 virtual void didReceiveDocumentData(WebKit::WebFrame* frame, | 491 virtual void didReceiveDocumentData(WebKit::WebFrame* frame, |
| 490 const char* data, size_t length, | 492 const char* data, size_t length, |
| 491 bool& prevent_default); | 493 bool& prevent_default); |
| 492 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame, | 494 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame, |
| 493 bool is_new_navigation); | 495 bool is_new_navigation); |
| 494 virtual void didClearWindowObject(WebKit::WebFrame* frame); | 496 virtual void didClearWindowObject(WebKit::WebFrame* frame); |
| 495 virtual void didCreateDocumentElement(WebKit::WebFrame* frame); | 497 virtual void didCreateDocumentElement(WebKit::WebFrame* frame); |
| 496 virtual void didReceiveTitle(WebKit::WebFrame* frame, | 498 virtual void didReceiveTitle(WebKit::WebFrame* frame, |
| 497 const WebKit::WebString& title, | 499 const WebKit::WebString& title, |
| 498 WebKit::WebTextDirection direction); | 500 WebKit::WebTextDirection direction); |
| 499 virtual void didChangeIcons(WebKit::WebFrame*); | 501 virtual void didChangeIcon(WebKit::WebFrame*, |
| 502 WebKit::WebIconURL::Type) OVERRIDE; |
| 500 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame); | 503 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame); |
| 501 virtual void didHandleOnloadEvents(WebKit::WebFrame* frame); | 504 virtual void didHandleOnloadEvents(WebKit::WebFrame* frame); |
| 502 virtual void didFailLoad(WebKit::WebFrame* frame, | 505 virtual void didFailLoad(WebKit::WebFrame* frame, |
| 503 const WebKit::WebURLError& error); | 506 const WebKit::WebURLError& error); |
| 504 virtual void didFinishLoad(WebKit::WebFrame* frame); | 507 virtual void didFinishLoad(WebKit::WebFrame* frame); |
| 505 virtual void didNavigateWithinPage(WebKit::WebFrame* frame, | 508 virtual void didNavigateWithinPage(WebKit::WebFrame* frame, |
| 506 bool is_new_navigation); | 509 bool is_new_navigation); |
| 507 virtual void didUpdateCurrentHistoryItem(WebKit::WebFrame* frame); | 510 virtual void didUpdateCurrentHistoryItem(WebKit::WebFrame* frame); |
| 508 virtual void assignIdentifierToRequest(WebKit::WebFrame* frame, | 511 virtual void assignIdentifierToRequest(WebKit::WebFrame* frame, |
| 509 unsigned identifier, | 512 unsigned identifier, |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1153 // 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 |
| 1154 // 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 |
| 1155 // the Observer interface to filter IPC messages and receive frame change | 1158 // the Observer interface to filter IPC messages and receive frame change |
| 1156 // notifications. | 1159 // notifications. |
| 1157 // --------------------------------------------------------------------------- | 1160 // --------------------------------------------------------------------------- |
| 1158 | 1161 |
| 1159 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1162 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1160 }; | 1163 }; |
| 1161 | 1164 |
| 1162 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1165 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |