| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 touch_editing_client_ = client; | 128 touch_editing_client_ = client; |
| 129 } | 129 } |
| 130 | 130 |
| 131 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); | 131 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); |
| 132 | 132 |
| 133 // RenderWidgetHostView implementation. | 133 // RenderWidgetHostView implementation. |
| 134 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 134 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
| 135 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 135 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 136 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 136 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 137 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 137 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 138 virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE; |
| 138 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 139 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 139 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 140 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 140 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 141 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 141 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; | 142 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; |
| 142 virtual bool HasFocus() const OVERRIDE; | 143 virtual bool HasFocus() const OVERRIDE; |
| 143 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 144 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 144 virtual void Show() OVERRIDE; | 145 virtual void Show() OVERRIDE; |
| 145 virtual void Hide() OVERRIDE; | 146 virtual void Hide() OVERRIDE; |
| 146 virtual bool IsShowing() OVERRIDE; | 147 virtual bool IsShowing() OVERRIDE; |
| 147 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 148 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 // exercise. | 589 // exercise. |
| 589 bool legacy_window_destroyed_; | 590 bool legacy_window_destroyed_; |
| 590 #endif | 591 #endif |
| 591 | 592 |
| 592 bool has_snapped_to_boundary_; | 593 bool has_snapped_to_boundary_; |
| 593 | 594 |
| 594 TouchEditingClient* touch_editing_client_; | 595 TouchEditingClient* touch_editing_client_; |
| 595 | 596 |
| 596 scoped_ptr<OverscrollController> overscroll_controller_; | 597 scoped_ptr<OverscrollController> overscroll_controller_; |
| 597 | 598 |
| 599 // The last scroll offset of the view. |
| 600 gfx::Vector2dF last_scroll_offset_; |
| 601 |
| 598 gfx::Insets insets_; | 602 gfx::Insets insets_; |
| 599 | 603 |
| 600 std::vector<ui::LatencyInfo> software_latency_info_; | 604 std::vector<ui::LatencyInfo> software_latency_info_; |
| 601 | 605 |
| 602 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 606 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
| 603 | 607 |
| 604 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 608 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 605 | 609 |
| 606 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 610 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 607 }; | 611 }; |
| 608 | 612 |
| 609 } // namespace content | 613 } // namespace content |
| 610 | 614 |
| 611 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 615 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |