| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 // RenderWidgetHostView implementation. | 56 // RenderWidgetHostView implementation. |
| 57 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 57 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
| 58 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 58 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 59 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 59 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 60 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 60 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 61 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 61 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 62 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 62 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 63 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 63 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 64 virtual bool HasFocus() const OVERRIDE; | 64 virtual bool HasFocus() const OVERRIDE; |
| 65 virtual bool HasSurface() const OVERRIDE; |
| 65 virtual void Show() OVERRIDE; | 66 virtual void Show() OVERRIDE; |
| 66 virtual void Hide() OVERRIDE; | 67 virtual void Hide() OVERRIDE; |
| 67 virtual bool IsShowing() OVERRIDE; | 68 virtual bool IsShowing() OVERRIDE; |
| 68 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 69 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 69 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 70 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 70 | 71 |
| 71 // Overridden from RenderWidgetHostViewPort: | 72 // Overridden from RenderWidgetHostViewPort: |
| 72 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 73 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
| 73 const gfx::Rect& pos) OVERRIDE; | 74 const gfx::Rect& pos) OVERRIDE; |
| 74 virtual void InitAsFullscreen( | 75 virtual void InitAsFullscreen( |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 // These locks are the ones waiting for a texture of the right size to come | 302 // These locks are the ones waiting for a texture of the right size to come |
| 302 // back from the renderer/GPU process. | 303 // back from the renderer/GPU process. |
| 303 std::vector<linked_ptr<ResizeLock> > resize_locks_; | 304 std::vector<linked_ptr<ResizeLock> > resize_locks_; |
| 304 // These locks are the ones waiting for a frame to be drawn. | 305 // These locks are the ones waiting for a frame to be drawn. |
| 305 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; | 306 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; |
| 306 | 307 |
| 307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 308 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 308 }; | 309 }; |
| 309 | 310 |
| 310 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 311 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |