| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 protected: | 347 protected: |
| 348 ~RenderWidgetHostViewAura() override; | 348 ~RenderWidgetHostViewAura() override; |
| 349 | 349 |
| 350 // Exposed for tests. | 350 // Exposed for tests. |
| 351 aura::Window* window() { return window_; } | 351 aura::Window* window() { return window_; } |
| 352 | 352 |
| 353 DelegatedFrameHost* GetDelegatedFrameHost() const { | 353 DelegatedFrameHost* GetDelegatedFrameHost() const { |
| 354 return delegated_frame_host_.get(); | 354 return delegated_frame_host_.get(); |
| 355 } | 355 } |
| 356 |
| 356 const ui::MotionEventAura& pointer_state() const { return pointer_state_; } | 357 const ui::MotionEventAura& pointer_state() const { return pointer_state_; } |
| 357 | 358 |
| 358 private: | 359 private: |
| 359 friend class RenderWidgetHostViewAuraCopyRequestTest; | 360 friend class RenderWidgetHostViewAuraCopyRequestTest; |
| 360 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 361 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
| 361 PopupRetainsCaptureAfterMouseRelease); | 362 PopupRetainsCaptureAfterMouseRelease); |
| 362 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); | 363 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); |
| 363 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); | 364 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); |
| 364 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 365 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
| 365 TouchEventPositionsArentRounded); | 366 TouchEventPositionsArentRounded); |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 float device_scale_factor_; | 698 float device_scale_factor_; |
| 698 | 699 |
| 699 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 700 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 700 | 701 |
| 701 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 702 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 702 }; | 703 }; |
| 703 | 704 |
| 704 } // namespace content | 705 } // namespace content |
| 705 | 706 |
| 706 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 707 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |