| 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 21 matching lines...) Expand all Loading... |
| 32 class FilePath; | 32 class FilePath; |
| 33 class GURL; | 33 class GURL; |
| 34 class ListValue; | 34 class ListValue; |
| 35 class RenderViewHostDelegate; | 35 class RenderViewHostDelegate; |
| 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 ContentSettings; | 40 struct ContentSettings; |
| 41 struct ContextMenuParams; | 41 struct ContextMenuParams; |
| 42 struct ExtensionHostMsg_DomMessage_Params; |
| 42 struct MediaPlayerAction; | 43 struct MediaPlayerAction; |
| 43 struct ViewHostMsg_AccessibilityNotification_Params; | 44 struct ViewHostMsg_AccessibilityNotification_Params; |
| 44 struct ViewHostMsg_CreateWindow_Params; | 45 struct ViewHostMsg_CreateWindow_Params; |
| 45 struct ViewHostMsg_DomMessage_Params; | |
| 46 struct ViewHostMsg_ShowPopup_Params; | 46 struct ViewHostMsg_ShowPopup_Params; |
| 47 struct ViewMsg_Navigate_Params; | 47 struct ViewMsg_Navigate_Params; |
| 48 struct WebApplicationInfo; | 48 struct WebApplicationInfo; |
| 49 struct WebDropData; | 49 struct WebDropData; |
| 50 struct WebPreferences; | 50 struct WebPreferences; |
| 51 struct UserMetricsAction; | 51 struct UserMetricsAction; |
| 52 | 52 |
| 53 namespace gfx { | 53 namespace gfx { |
| 54 class Point; | 54 class Point; |
| 55 } // namespace gfx | 55 } // namespace gfx |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 const gfx::Point& image_offset); | 595 const gfx::Point& image_offset); |
| 596 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 596 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
| 597 void OnTakeFocus(bool reverse); | 597 void OnTakeFocus(bool reverse); |
| 598 void OnAddMessageToConsole(const std::wstring& message, | 598 void OnAddMessageToConsole(const std::wstring& message, |
| 599 int32 line_no, | 599 int32 line_no, |
| 600 const std::wstring& source_id); | 600 const std::wstring& source_id); |
| 601 void OnUpdateInspectorSetting(const std::string& key, | 601 void OnUpdateInspectorSetting(const std::string& key, |
| 602 const std::string& value); | 602 const std::string& value); |
| 603 void OnMsgShouldCloseACK(bool proceed); | 603 void OnMsgShouldCloseACK(bool proceed); |
| 604 | 604 |
| 605 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); | 605 void OnExtensionRequest(const ExtensionHostMsg_DomMessage_Params& params); |
| 606 void OnExtensionPostMessage(int port_id, const std::string& message); | 606 void OnExtensionPostMessage(int port_id, const std::string& message); |
| 607 void OnAccessibilityNotifications( | 607 void OnAccessibilityNotifications( |
| 608 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 608 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
| 609 void OnCSSInserted(); | 609 void OnCSSInserted(); |
| 610 void OnContentBlocked(ContentSettingsType type, | 610 void OnContentBlocked(ContentSettingsType type, |
| 611 const std::string& resource_identifier); | 611 const std::string& resource_identifier); |
| 612 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 612 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 613 void OnWebDatabaseAccessed(const GURL& url, | 613 void OnWebDatabaseAccessed(const GURL& url, |
| 614 const string16& name, | 614 const string16& name, |
| 615 const string16& display_name, | 615 const string16& display_name, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 // The termination status of the last render view that terminated. | 707 // The termination status of the last render view that terminated. |
| 708 base::TerminationStatus render_view_termination_status_; | 708 base::TerminationStatus render_view_termination_status_; |
| 709 | 709 |
| 710 // The enabled/disabled states of various commands. | 710 // The enabled/disabled states of various commands. |
| 711 std::map<RenderViewCommand, CommandState> command_states_; | 711 std::map<RenderViewCommand, CommandState> command_states_; |
| 712 | 712 |
| 713 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 713 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 714 }; | 714 }; |
| 715 | 715 |
| 716 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 716 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |