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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/process/kill.h" | 12 #include "base/process/kill.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 14 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/public/common/media_stream_request.h" | 16 #include "content/public/common/media_stream_request.h" |
17 #include "content/public/common/page_transition_types.h" | 17 #include "content/public/common/page_transition_types.h" |
18 #include "net/base/load_states.h" | 18 #include "net/base/load_states.h" |
19 #include "third_party/WebKit/public/web/WebPopupType.h" | 19 #include "third_party/WebKit/public/web/WebPopupType.h" |
20 #include "ui/base/window_open_disposition.h" | 20 #include "ui/base/window_open_disposition.h" |
21 | 21 |
22 class GURL; | 22 class GURL; |
23 class SkBitmap; | 23 class SkBitmap; |
24 struct ViewHostMsg_CreateWindow_Params; | 24 struct ViewHostMsg_CreateWindow_Params; |
25 struct FrameHostMsg_DidCommitProvisionalLoad_Params; | 25 struct FrameHostMsg_DidCommitProvisionalLoad_Params; |
26 struct ViewMsg_PostMessage_Params; | 26 struct ViewMsg_PostMessage_Params; |
27 struct WebPreferences; | |
28 | 27 |
29 namespace base { | 28 namespace base { |
30 class ListValue; | 29 class ListValue; |
31 class TimeTicks; | 30 class TimeTicks; |
32 } | 31 } |
33 | 32 |
34 namespace IPC { | 33 namespace IPC { |
35 class Message; | 34 class Message; |
36 } | 35 } |
37 | 36 |
(...skipping 14 matching lines...) Expand all Loading... |
52 class SessionStorageNamespace; | 51 class SessionStorageNamespace; |
53 class SiteInstance; | 52 class SiteInstance; |
54 class WebContents; | 53 class WebContents; |
55 class WebContentsImpl; | 54 class WebContentsImpl; |
56 struct AXEventNotificationDetails; | 55 struct AXEventNotificationDetails; |
57 struct FileChooserParams; | 56 struct FileChooserParams; |
58 struct GlobalRequestID; | 57 struct GlobalRequestID; |
59 struct NativeWebKeyboardEvent; | 58 struct NativeWebKeyboardEvent; |
60 struct Referrer; | 59 struct Referrer; |
61 struct RendererPreferences; | 60 struct RendererPreferences; |
| 61 struct WebPreferences; |
62 | 62 |
63 // | 63 // |
64 // RenderViewHostDelegate | 64 // RenderViewHostDelegate |
65 // | 65 // |
66 // An interface implemented by an object interested in knowing about the state | 66 // An interface implemented by an object interested in knowing about the state |
67 // of the RenderViewHost. | 67 // of the RenderViewHost. |
68 // | 68 // |
69 // This interface currently encompasses every type of message that was | 69 // This interface currently encompasses every type of message that was |
70 // previously being sent by WebContents itself. Some of these notifications | 70 // previously being sent by WebContents itself. Some of these notifications |
71 // may not be relevant to all users of RenderViewHost and we should consider | 71 // may not be relevant to all users of RenderViewHost and we should consider |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 virtual void AccessibilityEventReceived( | 296 virtual void AccessibilityEventReceived( |
297 const std::vector<AXEventNotificationDetails>& details) {} | 297 const std::vector<AXEventNotificationDetails>& details) {} |
298 | 298 |
299 protected: | 299 protected: |
300 virtual ~RenderViewHostDelegate() {} | 300 virtual ~RenderViewHostDelegate() {} |
301 }; | 301 }; |
302 | 302 |
303 } // namespace content | 303 } // namespace content |
304 | 304 |
305 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 305 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |