| 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 415 |
| 416 // Called prior to removing |window_| from a WindowEventDispatcher. | 416 // Called prior to removing |window_| from a WindowEventDispatcher. |
| 417 void RemovingFromRootWindow(); | 417 void RemovingFromRootWindow(); |
| 418 | 418 |
| 419 // DelegatedFrameHostClient implementation. | 419 // DelegatedFrameHostClient implementation. |
| 420 virtual ui::Compositor* GetCompositor() const OVERRIDE; | 420 virtual ui::Compositor* GetCompositor() const OVERRIDE; |
| 421 virtual ui::Layer* GetLayer() OVERRIDE; | 421 virtual ui::Layer* GetLayer() OVERRIDE; |
| 422 virtual RenderWidgetHostImpl* GetHost() OVERRIDE; | 422 virtual RenderWidgetHostImpl* GetHost() OVERRIDE; |
| 423 virtual void SchedulePaintInRect( | 423 virtual void SchedulePaintInRect( |
| 424 const gfx::Rect& damage_rect_in_dip) OVERRIDE; | 424 const gfx::Rect& damage_rect_in_dip) OVERRIDE; |
| 425 virtual void DelegatedCompositorDidSwapBuffers() OVERRIDE {} |
| 426 virtual void DelegatedCompositorAbortedSwapBuffers() OVERRIDE {} |
| 425 virtual bool IsVisible() OVERRIDE; | 427 virtual bool IsVisible() OVERRIDE; |
| 426 virtual scoped_ptr<ResizeLock> CreateResizeLock( | 428 virtual scoped_ptr<ResizeLock> CreateResizeLock( |
| 427 bool defer_compositor_lock) OVERRIDE; | 429 bool defer_compositor_lock) OVERRIDE; |
| 428 virtual gfx::Size DesiredFrameSize() OVERRIDE; | 430 virtual gfx::Size DesiredFrameSize() OVERRIDE; |
| 429 virtual float CurrentDeviceScaleFactor() OVERRIDE; | 431 virtual float CurrentDeviceScaleFactor() OVERRIDE; |
| 430 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; | 432 virtual gfx::Size ConvertViewSizeToPixel(const gfx::Size& size) OVERRIDE; |
| 431 | 433 |
| 432 // Detaches |this| from the input method object. | 434 // Detaches |this| from the input method object. |
| 433 void DetachFromInputMethod(); | 435 void DetachFromInputMethod(); |
| 434 | 436 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // etc. | 584 // etc. |
| 583 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 585 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
| 584 legacy_render_widget_host_HWND_; | 586 legacy_render_widget_host_HWND_; |
| 585 #endif | 587 #endif |
| 586 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 587 }; | 589 }; |
| 588 | 590 |
| 589 } // namespace content | 591 } // namespace content |
| 590 | 592 |
| 591 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 593 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |