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_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
14 #include "base/process_util.h" | 14 #include "base/process_util.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "content/public/common/view_type.h" | 17 #include "content/public/common/view_type.h" |
18 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
19 #include "net/base/load_states.h" | 19 #include "net/base/load_states.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
22 #include "ui/base/javascript_message_type.h" | 22 #include "ui/base/javascript_message_type.h" |
23 #include "webkit/glue/window_open_disposition.h" | 23 #include "webkit/glue/window_open_disposition.h" |
24 | 24 |
25 class GURL; | 25 class GURL; |
26 class SkBitmap; | 26 class SkBitmap; |
27 class WebContentsImpl; | 27 class WebContentsImpl; |
28 class WebKeyboardEvent; | 28 class WebKeyboardEvent; |
29 struct NativeWebKeyboardEvent; | |
30 struct ViewHostMsg_CreateWindow_Params; | 29 struct ViewHostMsg_CreateWindow_Params; |
31 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; | 30 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; |
32 struct ViewHostMsg_FrameNavigate_Params; | 31 struct ViewHostMsg_FrameNavigate_Params; |
33 struct ViewMsg_PostMessage_Params; | 32 struct ViewMsg_PostMessage_Params; |
34 struct WebDropData; | 33 struct WebDropData; |
35 struct WebMenuItem; | 34 struct WebMenuItem; |
36 | 35 |
37 namespace webkit_glue { | 36 namespace webkit_glue { |
38 struct WebPreferences; | 37 struct WebPreferences; |
39 } | 38 } |
(...skipping 10 matching lines...) Expand all Loading... |
50 } | 49 } |
51 | 50 |
52 namespace content { | 51 namespace content { |
53 | 52 |
54 class BrowserContext; | 53 class BrowserContext; |
55 class RenderViewHost; | 54 class RenderViewHost; |
56 class WebContents; | 55 class WebContents; |
57 struct ContextMenuParams; | 56 struct ContextMenuParams; |
58 struct FileChooserParams; | 57 struct FileChooserParams; |
59 struct GlobalRequestID; | 58 struct GlobalRequestID; |
| 59 struct NativeWebKeyboardEvent; |
60 struct Referrer; | 60 struct Referrer; |
61 struct RendererPreferences; | 61 struct RendererPreferences; |
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 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 // Notification that the view has lost the mouse lock. | 428 // Notification that the view has lost the mouse lock. |
429 virtual void LostMouseLock() {} | 429 virtual void LostMouseLock() {} |
430 | 430 |
431 protected: | 431 protected: |
432 virtual ~RenderViewHostDelegate() {} | 432 virtual ~RenderViewHostDelegate() {} |
433 }; | 433 }; |
434 | 434 |
435 } // namespace content | 435 } // namespace content |
436 | 436 |
437 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 437 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |