| 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> |
| 11 #include <queue> | 11 #include <queue> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "app/surface/transport_dib.h" | |
| 17 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 18 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 19 #include "base/id_map.h" | 18 #include "base/id_map.h" |
| 20 #include "base/linked_ptr.h" | 19 #include "base/linked_ptr.h" |
| 21 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
| 22 #include "base/timer.h" | 21 #include "base/timer.h" |
| 23 #include "base/weak_ptr.h" | 22 #include "base/weak_ptr.h" |
| 24 #include "build/build_config.h" | 23 #include "build/build_config.h" |
| 25 #include "chrome/common/content_settings.h" | 24 #include "chrome/common/content_settings.h" |
| 26 #include "chrome/common/view_types.h" | 25 #include "chrome/common/view_types.h" |
| 27 #include "chrome/renderer/page_load_histograms.h" | 26 #include "chrome/renderer/page_load_histograms.h" |
| 28 #include "content/renderer/renderer_webcookiejar_impl.h" | 27 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 29 #include "content/common/edit_command.h" | 28 #include "content/common/edit_command.h" |
| 30 #include "content/common/navigation_gesture.h" | 29 #include "content/common/navigation_gesture.h" |
| 31 #include "content/common/page_zoom.h" | 30 #include "content/common/page_zoom.h" |
| 32 #include "content/common/renderer_preferences.h" | 31 #include "content/common/renderer_preferences.h" |
| 33 #include "content/renderer/pepper_plugin_delegate_impl.h" | 32 #include "content/renderer/pepper_plugin_delegate_impl.h" |
| 34 #include "content/renderer/render_widget.h" | 33 #include "content/renderer/render_widget.h" |
| 35 #include "ipc/ipc_platform_file.h" | 34 #include "ipc/ipc_platform_file.h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif
ication.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif
ication.h" |
| 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" |
| 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
| 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" |
| 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
| 44 #include "ui/gfx/surface/transport_dib.h" |
| 45 #include "webkit/glue/webpreferences.h" | 45 #include "webkit/glue/webpreferences.h" |
| 46 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 46 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 47 | 47 |
| 48 #if defined(OS_WIN) | 48 #if defined(OS_WIN) |
| 49 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. | 49 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. |
| 50 // VS warns when we inherit the WebWidgetClient method implementations from | 50 // VS warns when we inherit the WebWidgetClient method implementations from |
| 51 // RenderWidget. It's safe to ignore that warning. | 51 // RenderWidget. It's safe to ignore that warning. |
| 52 #pragma warning(disable: 4250) | 52 #pragma warning(disable: 4250) |
| 53 #endif | 53 #endif |
| 54 | 54 |
| (...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 // bunch of stuff, you should probably create a helper class and put your | 1431 // bunch of stuff, you should probably create a helper class and put your |
| 1432 // data and methods on that to avoid bloating RenderView more. You can use | 1432 // data and methods on that to avoid bloating RenderView more. You can use |
| 1433 // the Observer interface to filter IPC messages and receive frame change | 1433 // the Observer interface to filter IPC messages and receive frame change |
| 1434 // notifications. | 1434 // notifications. |
| 1435 // --------------------------------------------------------------------------- | 1435 // --------------------------------------------------------------------------- |
| 1436 | 1436 |
| 1437 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1437 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1438 }; | 1438 }; |
| 1439 | 1439 |
| 1440 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1440 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |