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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 unsigned frame_id; | 765 unsigned frame_id; |
762 }; | 766 }; |
763 scoped_ptr<ReleasedFrameInfo> released_software_frame_; | 767 scoped_ptr<ReleasedFrameInfo> released_software_frame_; |
764 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; | 768 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; |
765 | 769 |
766 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 770 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
767 | 771 |
768 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 772 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
769 | 773 |
770 #if defined(OS_WIN) | 774 #if defined(OS_WIN) |
771 // The dummy HWND which corresponds to the bounds of the web page. This is | 775 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used |
772 // passed to windowless plugins like Flash/Silverlight, etc as the | 776 // for accessibility, as the container for windowless plugins like |
773 // container window. | 777 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads, |
774 HWND plugin_parent_window_; | 778 // etc. |
| 779 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
| 780 legacy_render_widget_host_HWND_; |
775 #endif | 781 #endif |
776 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 782 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
777 }; | 783 }; |
778 | 784 |
779 } // namespace content | 785 } // namespace content |
780 | 786 |
781 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 787 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |