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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 // Exposed for tests. | 345 // Exposed for tests. |
346 aura::Window* window() { return window_; } | 346 aura::Window* window() { return window_; } |
347 | 347 |
348 DelegatedFrameHost* GetDelegatedFrameHost() const { | 348 DelegatedFrameHost* GetDelegatedFrameHost() const { |
349 return delegated_frame_host_.get(); | 349 return delegated_frame_host_.get(); |
350 } | 350 } |
351 | 351 |
352 const ui::MotionEventAura& pointer_state() const { return pointer_state_; } | 352 const ui::MotionEventAura& pointer_state() const { return pointer_state_; } |
353 | 353 |
354 private: | 354 private: |
| 355 friend class InputMethodResultAuraTest; |
355 friend class RenderWidgetHostViewAuraCopyRequestTest; | 356 friend class RenderWidgetHostViewAuraCopyRequestTest; |
356 friend class TestInputMethodObserver; | 357 friend class TestInputMethodObserver; |
357 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 358 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
358 PopupRetainsCaptureAfterMouseRelease); | 359 PopupRetainsCaptureAfterMouseRelease); |
359 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); | 360 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SetCompositionText); |
360 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); | 361 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventState); |
361 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 362 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
362 TouchEventPositionsArentRounded); | 363 TouchEventPositionsArentRounded); |
363 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventSyncAsync); | 364 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, TouchEventSyncAsync); |
364 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, Resize); | 365 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, Resize); |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 bool disable_input_event_router_for_testing_; | 694 bool disable_input_event_router_for_testing_; |
694 | 695 |
695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 696 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
696 | 697 |
697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 698 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
698 }; | 699 }; |
699 | 700 |
700 } // namespace content | 701 } // namespace content |
701 | 702 |
702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 703 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |