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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "content/public/common/window_container_type.h" | 21 #include "content/public/common/window_container_type.h" |
22 #include "net/base/load_states.h" | 22 #include "net/base/load_states.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
27 #include "webkit/glue/webaccessibility.h" | 27 #include "webkit/glue/webaccessibility.h" |
28 #include "webkit/glue/window_open_disposition.h" | 28 #include "webkit/glue/window_open_disposition.h" |
29 | 29 |
30 class ChildProcessSecurityPolicy; | 30 class ChildProcessSecurityPolicy; |
31 struct ContextMenuParams; | |
32 struct DesktopNotificationHostMsg_Show_Params; | |
33 class FilePath; | 31 class FilePath; |
34 class GURL; | 32 class GURL; |
35 struct MediaPlayerAction; | |
36 class PowerSaveBlocker; | 33 class PowerSaveBlocker; |
37 class RenderViewHostDelegate; | 34 class RenderViewHostDelegate; |
38 class RenderViewHostObserver; | 35 class RenderViewHostObserver; |
39 class SessionStorageNamespace; | 36 class SessionStorageNamespace; |
40 class SiteInstance; | 37 class SiteInstance; |
41 class SkBitmap; | 38 class SkBitmap; |
| 39 class ViewMsg_Navigate; |
| 40 struct ContextMenuParams; |
| 41 struct MediaPlayerAction; |
42 struct ViewHostMsg_AccessibilityNotification_Params; | 42 struct ViewHostMsg_AccessibilityNotification_Params; |
43 struct ViewHostMsg_CreateWindow_Params; | 43 struct ViewHostMsg_CreateWindow_Params; |
44 struct ViewHostMsg_RunFileChooser_Params; | 44 struct ViewHostMsg_RunFileChooser_Params; |
45 struct ViewHostMsg_ShowPopup_Params; | 45 struct ViewHostMsg_ShowPopup_Params; |
46 class ViewMsg_Navigate; | |
47 struct ViewMsg_Navigate_Params; | 46 struct ViewMsg_Navigate_Params; |
48 struct ViewMsg_StopFinding_Params; | 47 struct ViewMsg_StopFinding_Params; |
49 struct WebDropData; | 48 struct WebDropData; |
50 struct WebPreferences; | 49 struct WebPreferences; |
51 | 50 |
52 namespace base { | 51 namespace base { |
53 class ListValue; | 52 class ListValue; |
54 } | 53 } |
55 | 54 |
| 55 namespace content { |
| 56 struct ShowDesktopNotificationHostMsgParams; |
| 57 } |
| 58 |
56 namespace gfx { | 59 namespace gfx { |
57 class Point; | 60 class Point; |
58 } // namespace gfx | 61 } // namespace gfx |
59 | 62 |
60 namespace ui { | 63 namespace ui { |
61 class Range; | 64 class Range; |
62 } // namespace ui | 65 } // namespace ui |
63 | 66 |
64 namespace webkit_glue { | 67 namespace webkit_glue { |
65 struct WebAccessibility; | 68 struct WebAccessibility; |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 569 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
567 void OnScriptEvalResponse(int id, const base::ListValue& result); | 570 void OnScriptEvalResponse(int id, const base::ListValue& result); |
568 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); | 571 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); |
569 void OnMediaNotification(int64 player_cookie, | 572 void OnMediaNotification(int64 player_cookie, |
570 bool has_video, | 573 bool has_video, |
571 bool has_audio, | 574 bool has_audio, |
572 bool is_playing); | 575 bool is_playing); |
573 void OnRequestDesktopNotificationPermission(const GURL& origin, | 576 void OnRequestDesktopNotificationPermission(const GURL& origin, |
574 int callback_id); | 577 int callback_id); |
575 void OnShowDesktopNotification( | 578 void OnShowDesktopNotification( |
576 const DesktopNotificationHostMsg_Show_Params& params); | 579 const content::ShowDesktopNotificationHostMsgParams& params); |
577 void OnCancelDesktopNotification(int notification_id); | 580 void OnCancelDesktopNotification(int notification_id); |
578 void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); | 581 void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); |
579 | 582 |
580 void OnWebUISend(const GURL& source_url, const std::string& name, | 583 void OnWebUISend(const GURL& source_url, const std::string& name, |
581 const base::ListValue& args); | 584 const base::ListValue& args); |
582 | 585 |
583 #if defined(OS_MACOSX) | 586 #if defined(OS_MACOSX) |
584 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 587 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
585 #endif | 588 #endif |
586 | 589 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 674 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
672 PowerSaveBlockerMap power_save_blockers_; | 675 PowerSaveBlockerMap power_save_blockers_; |
673 | 676 |
674 // A list of observers that filter messages. Weak references. | 677 // A list of observers that filter messages. Weak references. |
675 ObserverList<RenderViewHostObserver> observers_; | 678 ObserverList<RenderViewHostObserver> observers_; |
676 | 679 |
677 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 680 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
678 }; | 681 }; |
679 | 682 |
680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |