| 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 23 matching lines...) Expand all Loading... |
| 34 class RenderViewHostDelegate; | 34 class RenderViewHostDelegate; |
| 35 class RenderViewHostObserver; | 35 class RenderViewHostObserver; |
| 36 class SessionStorageNamespace; | 36 class SessionStorageNamespace; |
| 37 class SiteInstance; | 37 class SiteInstance; |
| 38 class SkBitmap; | 38 class SkBitmap; |
| 39 class ViewMsg_Navigate; | 39 class ViewMsg_Navigate; |
| 40 struct ContextMenuParams; | 40 struct ContextMenuParams; |
| 41 struct MediaPlayerAction; | 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; | |
| 45 struct ViewHostMsg_ShowPopup_Params; | 44 struct ViewHostMsg_ShowPopup_Params; |
| 46 struct ViewMsg_Navigate_Params; | 45 struct ViewMsg_Navigate_Params; |
| 47 struct ViewMsg_StopFinding_Params; | 46 struct ViewMsg_StopFinding_Params; |
| 48 struct WebDropData; | 47 struct WebDropData; |
| 49 struct WebPreferences; | 48 struct WebPreferences; |
| 50 | 49 |
| 51 namespace base { | 50 namespace base { |
| 52 class ListValue; | 51 class ListValue; |
| 53 } | 52 } |
| 54 | 53 |
| 55 namespace content { | 54 namespace content { |
| 55 struct FileChooserParams; |
| 56 struct ShowDesktopNotificationHostMsgParams; | 56 struct ShowDesktopNotificationHostMsgParams; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace gfx { | 59 namespace gfx { |
| 60 class Point; | 60 class Point; |
| 61 } // namespace gfx | 61 } // namespace gfx |
| 62 | 62 |
| 63 namespace ui { | 63 namespace ui { |
| 64 class Range; | 64 class Range; |
| 65 } // namespace ui | 65 } // namespace ui |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); | 571 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); |
| 572 void OnMediaNotification(int64 player_cookie, | 572 void OnMediaNotification(int64 player_cookie, |
| 573 bool has_video, | 573 bool has_video, |
| 574 bool has_audio, | 574 bool has_audio, |
| 575 bool is_playing); | 575 bool is_playing); |
| 576 void OnRequestDesktopNotificationPermission(const GURL& origin, | 576 void OnRequestDesktopNotificationPermission(const GURL& origin, |
| 577 int callback_id); | 577 int callback_id); |
| 578 void OnShowDesktopNotification( | 578 void OnShowDesktopNotification( |
| 579 const content::ShowDesktopNotificationHostMsgParams& params); | 579 const content::ShowDesktopNotificationHostMsgParams& params); |
| 580 void OnCancelDesktopNotification(int notification_id); | 580 void OnCancelDesktopNotification(int notification_id); |
| 581 void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); | 581 void OnRunFileChooser(const content::FileChooserParams& params); |
| 582 | 582 |
| 583 void OnWebUISend(const GURL& source_url, const std::string& name, | 583 void OnWebUISend(const GURL& source_url, const std::string& name, |
| 584 const base::ListValue& args); | 584 const base::ListValue& args); |
| 585 | 585 |
| 586 #if defined(OS_MACOSX) | 586 #if defined(OS_MACOSX) |
| 587 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 587 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 588 #endif | 588 #endif |
| 589 | 589 |
| 590 private: | 590 private: |
| 591 friend class TestRenderViewHost; | 591 friend class TestRenderViewHost; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 674 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
| 675 PowerSaveBlockerMap power_save_blockers_; | 675 PowerSaveBlockerMap power_save_blockers_; |
| 676 | 676 |
| 677 // A list of observers that filter messages. Weak references. | 677 // A list of observers that filter messages. Weak references. |
| 678 ObserverList<RenderViewHostObserver> observers_; | 678 ObserverList<RenderViewHostObserver> observers_; |
| 679 | 679 |
| 680 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 680 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 681 }; | 681 }; |
| 682 | 682 |
| 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |