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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 DiscardDelegatedFramesWithLocking); | 377 DiscardDelegatedFramesWithLocking); |
378 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SoftwareDPIChange); | 378 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, SoftwareDPIChange); |
379 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 379 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
380 UpdateCursorIfOverSelf); | 380 UpdateCursorIfOverSelf); |
381 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraCopyRequestTest, | 381 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraCopyRequestTest, |
382 DestroyedAfterCopyRequest); | 382 DestroyedAfterCopyRequest); |
383 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 383 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
384 VisibleViewportTest); | 384 VisibleViewportTest); |
385 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 385 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
386 OverscrollResetsOnBlur); | 386 OverscrollResetsOnBlur); |
| 387 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
| 388 FinishCompositionByMouse); |
387 FRIEND_TEST_ALL_PREFIXES(WebContentsViewAuraTest, | 389 FRIEND_TEST_ALL_PREFIXES(WebContentsViewAuraTest, |
388 WebContentsViewReparent); | 390 WebContentsViewReparent); |
389 | 391 |
390 class WindowObserver; | 392 class WindowObserver; |
391 friend class WindowObserver; | 393 friend class WindowObserver; |
392 | 394 |
393 void UpdateCursorIfOverSelf(); | 395 void UpdateCursorIfOverSelf(); |
394 | 396 |
395 // Tracks whether SnapToPhysicalPixelBoundary() has been called. | 397 // Tracks whether SnapToPhysicalPixelBoundary() has been called. |
396 bool has_snapped_to_boundary() { return has_snapped_to_boundary_; } | 398 bool has_snapped_to_boundary() { return has_snapped_to_boundary_; } |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 // view, so we can ensure the window hasn't moved between copying from the | 625 // view, so we can ensure the window hasn't moved between copying from the |
624 // compositing surface and showing the disambiguation popup. | 626 // compositing surface and showing the disambiguation popup. |
625 gfx::Vector2dF disambiguation_scroll_offset_; | 627 gfx::Vector2dF disambiguation_scroll_offset_; |
626 | 628 |
627 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 629 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
628 }; | 630 }; |
629 | 631 |
630 } // namespace content | 632 } // namespace content |
631 | 633 |
632 #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 |