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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/process_util.h" | 15 #include "base/process_util.h" |
16 #include "content/browser/renderer_host/render_widget_host_impl.h" | 16 #include "content/browser/renderer_host/render_widget_host_impl.h" |
17 #include "content/browser/site_instance_impl.h" | 17 #include "content/browser/site_instance_impl.h" |
18 #include "content/common/accessibility_node_data.h" | 18 #include "content/common/accessibility_node_data.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/render_view_host.h" | 20 #include "content/public/browser/render_view_host.h" |
21 #include "content/public/common/javascript_message_type.h" | 21 #include "content/public/common/javascript_message_type.h" |
22 #include "content/public/common/window_container_type.h" | 22 #include "content/public/common/window_container_type.h" |
23 #include "net/base/load_states.h" | 23 #include "net/base/load_states.h" |
24 #include "third_party/skia/include/core/SkColor.h" | 24 #include "third_party/skia/include/core/SkColor.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
28 #include "webkit/glue/window_open_disposition.h" | 28 #include "webkit/glue/window_open_disposition.h" |
29 | 29 |
30 class ChildProcessSecurityPolicyImpl; | |
31 class SkBitmap; | 30 class SkBitmap; |
32 class ViewMsg_Navigate; | 31 class ViewMsg_Navigate; |
33 struct AccessibilityHostMsg_NotificationParams; | 32 struct AccessibilityHostMsg_NotificationParams; |
34 struct MediaPlayerAction; | 33 struct MediaPlayerAction; |
35 struct ViewHostMsg_CreateWindow_Params; | 34 struct ViewHostMsg_CreateWindow_Params; |
36 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; | 35 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; |
37 struct ViewHostMsg_ShowPopup_Params; | 36 struct ViewHostMsg_ShowPopup_Params; |
38 struct ViewMsg_Navigate_Params; | 37 struct ViewMsg_Navigate_Params; |
39 struct ViewMsg_PostMessage_Params; | 38 struct ViewMsg_PostMessage_Params; |
40 struct ViewMsg_StopFinding_Params; | 39 struct ViewMsg_StopFinding_Params; |
41 | 40 |
42 namespace base { | 41 namespace base { |
43 class ListValue; | 42 class ListValue; |
44 } | 43 } |
45 | 44 |
46 namespace ui { | 45 namespace ui { |
47 class Range; | 46 class Range; |
48 struct SelectedFileInfo; | 47 struct SelectedFileInfo; |
49 } | 48 } |
50 | 49 |
51 namespace content { | 50 namespace content { |
52 | 51 |
53 #if defined(OS_ANDROID) | 52 class ChildProcessSecurityPolicyImpl; |
54 class MediaPlayerManagerAndroid; | |
55 #endif | |
56 class PowerSaveBlocker; | 53 class PowerSaveBlocker; |
57 class RenderViewHostObserver; | 54 class RenderViewHostObserver; |
58 class RenderWidgetHostDelegate; | 55 class RenderWidgetHostDelegate; |
59 class SessionStorageNamespace; | 56 class SessionStorageNamespace; |
60 class SessionStorageNamespaceImpl; | 57 class SessionStorageNamespaceImpl; |
61 class TestRenderViewHost; | 58 class TestRenderViewHost; |
62 struct ContextMenuParams; | 59 struct ContextMenuParams; |
63 struct FileChooserParams; | 60 struct FileChooserParams; |
64 struct Referrer; | 61 struct Referrer; |
65 struct ShowDesktopNotificationHostMsgParams; | 62 struct ShowDesktopNotificationHostMsgParams; |
66 | 63 |
| 64 #if defined(OS_ANDROID) |
| 65 class MediaPlayerManagerAndroid; |
| 66 #endif |
| 67 |
67 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT | 68 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT |
68 // notifications. | 69 // notifications. |
69 class ExecuteNotificationObserver : public NotificationObserver { | 70 class ExecuteNotificationObserver : public NotificationObserver { |
70 public: | 71 public: |
71 explicit ExecuteNotificationObserver(int id); | 72 explicit ExecuteNotificationObserver(int id); |
72 virtual ~ExecuteNotificationObserver(); | 73 virtual ~ExecuteNotificationObserver(); |
73 virtual void Observe(int type, | 74 virtual void Observe(int type, |
74 const NotificationSource& source, | 75 const NotificationSource& source, |
75 const NotificationDetails& details) OVERRIDE; | 76 const NotificationDetails& details) OVERRIDE; |
76 | 77 |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 700 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
700 }; | 701 }; |
701 | 702 |
702 #if defined(COMPILER_MSVC) | 703 #if defined(COMPILER_MSVC) |
703 #pragma warning(pop) | 704 #pragma warning(pop) |
704 #endif | 705 #endif |
705 | 706 |
706 } // namespace content | 707 } // namespace content |
707 | 708 |
708 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 709 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |