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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 : public RenderWidgetHostViewBase, | 80 : public RenderWidgetHostViewBase, |
81 public DelegatedFrameHostClient, | 81 public DelegatedFrameHostClient, |
82 public ui::TextInputClient, | 82 public ui::TextInputClient, |
83 public gfx::DisplayObserver, | 83 public gfx::DisplayObserver, |
84 public aura::WindowTreeHostObserver, | 84 public aura::WindowTreeHostObserver, |
85 public aura::WindowDelegate, | 85 public aura::WindowDelegate, |
86 public aura::client::ActivationDelegate, | 86 public aura::client::ActivationDelegate, |
87 public aura::client::ActivationChangeObserver, | 87 public aura::client::ActivationChangeObserver, |
88 public aura::client::FocusChangeObserver, | 88 public aura::client::FocusChangeObserver, |
89 public aura::client::CursorClientObserver, | 89 public aura::client::CursorClientObserver, |
90 public base::SupportsWeakPtr<RenderWidgetHostViewAura> { | 90 public base::SupportsWeakPtr<RenderWidgetHostViewAura> { |
Avi (use Gerrit)
2014/11/20 15:54:45
It's silly for RenderWidgetHostViewAura to be both
MRV
2014/11/21 15:08:30
Done.
| |
91 public: | 91 public: |
92 // Displays and controls touch editing elements such as selection handles. | 92 // Displays and controls touch editing elements such as selection handles. |
93 class TouchEditingClient { | 93 class TouchEditingClient { |
94 public: | 94 public: |
95 TouchEditingClient() {} | 95 TouchEditingClient() {} |
96 | 96 |
97 // Tells the client to start showing touch editing handles. | 97 // Tells the client to start showing touch editing handles. |
98 virtual void StartTouchEditing() = 0; | 98 virtual void StartTouchEditing() = 0; |
99 | 99 |
100 // Notifies the client that touch editing is no longer needed. |quick| | 100 // Notifies the client that touch editing is no longer needed. |quick| |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
611 gfx::Insets insets_; | 611 gfx::Insets insets_; |
612 | 612 |
613 std::vector<ui::LatencyInfo> software_latency_info_; | 613 std::vector<ui::LatencyInfo> software_latency_info_; |
614 | 614 |
615 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 615 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
616 | 616 |
617 // True when this view acts as a platform view hack for a | 617 // True when this view acts as a platform view hack for a |
618 // RenderWidgetHostViewGuest. | 618 // RenderWidgetHostViewGuest. |
619 bool is_guest_view_hack_; | 619 bool is_guest_view_hack_; |
620 | 620 |
621 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | |
622 | |
623 gfx::Rect disambiguation_target_rect_; | 621 gfx::Rect disambiguation_target_rect_; |
624 | 622 |
625 // The last scroll offset when we start to render the link disambiguation | 623 // The last scroll offset when we start to render the link disambiguation |
626 // view, so we can ensure the window hasn't moved between copying from the | 624 // view, so we can ensure the window hasn't moved between copying from the |
627 // compositing surface and showing the disambiguation popup. | 625 // compositing surface and showing the disambiguation popup. |
628 gfx::Vector2dF disambiguation_scroll_offset_; | 626 gfx::Vector2dF disambiguation_scroll_offset_; |
629 | 627 |
628 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | |
630 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 629 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
631 }; | 630 }; |
632 | 631 |
633 } // namespace content | 632 } // namespace content |
634 | 633 |
635 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 634 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |