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