| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_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/javascript_message_type.h" | 21 #include "content/public/common/javascript_message_type.h" |
| 22 #include "content/public/common/window_container_type.h" | 22 #include "content/public/common/window_container_type.h" |
| 23 #include "net/base/load_states.h" | 23 #include "net/base/load_states.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.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 ChildProcessSecurityPolicyImpl; | 30 class ChildProcessSecurityPolicyImpl; |
| 31 class PowerSaveBlocker; | |
| 32 class SessionStorageNamespaceImpl; | 31 class SessionStorageNamespaceImpl; |
| 33 class SkBitmap; | 32 class SkBitmap; |
| 34 class ViewMsg_Navigate; | 33 class ViewMsg_Navigate; |
| 35 struct AccessibilityHostMsg_NotificationParams; | 34 struct AccessibilityHostMsg_NotificationParams; |
| 36 struct MediaPlayerAction; | 35 struct MediaPlayerAction; |
| 37 struct ViewHostMsg_CreateWindow_Params; | 36 struct ViewHostMsg_CreateWindow_Params; |
| 38 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; | 37 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; |
| 39 struct ViewHostMsg_ShowPopup_Params; | 38 struct ViewHostMsg_ShowPopup_Params; |
| 40 struct ViewMsg_Navigate_Params; | 39 struct ViewMsg_Navigate_Params; |
| 41 struct ViewMsg_PostMessage_Params; | 40 struct ViewMsg_PostMessage_Params; |
| 42 struct ViewMsg_StopFinding_Params; | 41 struct ViewMsg_StopFinding_Params; |
| 43 | 42 |
| 44 namespace base { | 43 namespace base { |
| 45 class ListValue; | 44 class ListValue; |
| 46 } | 45 } |
| 47 | 46 |
| 48 namespace content { | 47 namespace content { |
| 49 class TestRenderViewHost; | 48 class TestRenderViewHost; |
| 49 class PowerSaveBlocker; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace ui { | 52 namespace ui { |
| 53 class Range; | 53 class Range; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace webkit_glue { | 56 namespace webkit_glue { |
| 57 struct WebAccessibility; | 57 struct WebAccessibility; |
| 58 } | 58 } |
| 59 | 59 |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 bool send_accessibility_updated_notifications_; | 642 bool send_accessibility_updated_notifications_; |
| 643 | 643 |
| 644 // The most recently received accessibility tree - for unit testing only. | 644 // The most recently received accessibility tree - for unit testing only. |
| 645 webkit_glue::WebAccessibility accessibility_tree_; | 645 webkit_glue::WebAccessibility accessibility_tree_; |
| 646 | 646 |
| 647 // The termination status of the last render view that terminated. | 647 // The termination status of the last render view that terminated. |
| 648 base::TerminationStatus render_view_termination_status_; | 648 base::TerminationStatus render_view_termination_status_; |
| 649 | 649 |
| 650 // Holds PowerSaveBlockers for the media players in use. Key is the | 650 // Holds PowerSaveBlockers for the media players in use. Key is the |
| 651 // player_cookie passed to OnMediaNotification, value is the PowerSaveBlocker. | 651 // player_cookie passed to OnMediaNotification, value is the PowerSaveBlocker. |
| 652 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 652 typedef std::map<int64, content::PowerSaveBlocker*> PowerSaveBlockerMap; |
| 653 PowerSaveBlockerMap power_save_blockers_; | 653 PowerSaveBlockerMap power_save_blockers_; |
| 654 | 654 |
| 655 // A list of observers that filter messages. Weak references. | 655 // A list of observers that filter messages. Weak references. |
| 656 ObserverList<RenderViewHostObserver> observers_; | 656 ObserverList<RenderViewHostObserver> observers_; |
| 657 | 657 |
| 658 // When the last ShouldClose message was sent. | 658 // When the last ShouldClose message was sent. |
| 659 base::TimeTicks send_should_close_start_time_; | 659 base::TimeTicks send_should_close_start_time_; |
| 660 | 660 |
| 661 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 661 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 662 }; | 662 }; |
| 663 | 663 |
| 664 #if defined(COMPILER_MSVC) | 664 #if defined(COMPILER_MSVC) |
| 665 #pragma warning(pop) | 665 #pragma warning(pop) |
| 666 #endif | 666 #endif |
| 667 | 667 |
| 668 } // namespace content | 668 } // namespace content |
| 669 | 669 |
| 670 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 670 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |