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_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 } | 60 } |
61 | 61 |
62 namespace ui { | 62 namespace ui { |
63 class CompositorLock; | 63 class CompositorLock; |
64 class InputMethod; | 64 class InputMethod; |
65 class LocatedEvent; | 65 class LocatedEvent; |
66 class Texture; | 66 class Texture; |
67 } | 67 } |
68 | 68 |
69 namespace content { | 69 namespace content { |
70 #if defined(OS_WIN) | |
71 class LegacyRenderWidgetHostHWND; | |
72 #endif | |
73 | |
70 class RenderWidgetHostImpl; | 74 class RenderWidgetHostImpl; |
71 class RenderWidgetHostView; | 75 class RenderWidgetHostView; |
72 class ResizeLock; | 76 class ResizeLock; |
73 | 77 |
74 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. | 78 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. |
75 class CONTENT_EXPORT RenderWidgetHostViewAura | 79 class CONTENT_EXPORT RenderWidgetHostViewAura |
76 : public RenderWidgetHostViewBase, | 80 : public RenderWidgetHostViewBase, |
77 public ui::CompositorObserver, | 81 public ui::CompositorObserver, |
78 public ui::TextInputClient, | 82 public ui::TextInputClient, |
79 public gfx::DisplayObserver, | 83 public gfx::DisplayObserver, |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
793 unsigned frame_id; | 797 unsigned frame_id; |
794 }; | 798 }; |
795 scoped_ptr<ReleasedFrameInfo> released_software_frame_; | 799 scoped_ptr<ReleasedFrameInfo> released_software_frame_; |
796 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; | 800 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; |
797 | 801 |
798 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 802 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
799 | 803 |
800 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 804 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
801 | 805 |
802 #if defined(OS_WIN) | 806 #if defined(OS_WIN) |
803 // The dummy HWND which corresponds to the bounds of the web page. This is | 807 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used |
804 // passed to windowless plugins like Flash/Silverlight, etc as the | 808 // for accessibility, as the container for windowless plugins like |
805 // container window. | 809 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads, |
806 HWND plugin_parent_window_; | 810 // etc. |
811 // This instance is deleted when the parent window is destroyed. | |
sky
2014/02/05 18:16:47
Comment is wrong here, this class deletes it. In f
ananta
2014/02/05 19:52:36
Done.
| |
812 content::LegacyRenderWidgetHostHWND* legacy_render_widget_host_HWND_; | |
807 #endif | 813 #endif |
808 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 814 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
809 }; | 815 }; |
810 | 816 |
811 } // namespace content | 817 } // namespace content |
812 | 818 |
813 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 819 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |