| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraCopyRequestTest, | 353 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraCopyRequestTest, |
| 354 DestroyedAfterCopyRequest); | 354 DestroyedAfterCopyRequest); |
| 355 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, | 355 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
| 356 VisibleViewportTest); | 356 VisibleViewportTest); |
| 357 | 357 |
| 358 class WindowObserver; | 358 class WindowObserver; |
| 359 friend class WindowObserver; | 359 friend class WindowObserver; |
| 360 | 360 |
| 361 void UpdateCursorIfOverSelf(); | 361 void UpdateCursorIfOverSelf(); |
| 362 | 362 |
| 363 void SnapToPhysicalPixelBoundary(); |
| 364 |
| 363 // Set the bounds of the window and handle size changes. Assumes the caller | 365 // Set the bounds of the window and handle size changes. Assumes the caller |
| 364 // has already adjusted the origin of |rect| to conform to whatever coordinate | 366 // has already adjusted the origin of |rect| to conform to whatever coordinate |
| 365 // space is required by the aura::Window. | 367 // space is required by the aura::Window. |
| 366 void InternalSetBounds(const gfx::Rect& rect); | 368 void InternalSetBounds(const gfx::Rect& rect); |
| 367 | 369 |
| 368 #if defined(OS_WIN) | 370 #if defined(OS_WIN) |
| 369 bool UsesNativeWindowFrame() const; | 371 bool UsesNativeWindowFrame() const; |
| 370 #endif | 372 #endif |
| 371 | 373 |
| 372 ui::InputMethod* GetInputMethod() const; | 374 ui::InputMethod* GetInputMethod() const; |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 // etc. | 566 // etc. |
| 565 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 567 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
| 566 legacy_render_widget_host_HWND_; | 568 legacy_render_widget_host_HWND_; |
| 567 #endif | 569 #endif |
| 568 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 570 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 569 }; | 571 }; |
| 570 | 572 |
| 571 } // namespace content | 573 } // namespace content |
| 572 | 574 |
| 573 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 575 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |