| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 RenderWidgetHost* GetRenderWidgetHost() const override; | 76 RenderWidgetHost* GetRenderWidgetHost() const override; |
| 77 void SetSize(const gfx::Size& size) override; | 77 void SetSize(const gfx::Size& size) override; |
| 78 void SetBounds(const gfx::Rect& rect) override; | 78 void SetBounds(const gfx::Rect& rect) override; |
| 79 void Focus() override; | 79 void Focus() override; |
| 80 bool HasFocus() const override; | 80 bool HasFocus() const override; |
| 81 bool IsSurfaceAvailableForCopy() const override; | 81 bool IsSurfaceAvailableForCopy() const override; |
| 82 void Show() override; | 82 void Show() override; |
| 83 void Hide() override; | 83 void Hide() override; |
| 84 bool IsShowing() override; | 84 bool IsShowing() override; |
| 85 gfx::Rect GetViewBounds() const override; | 85 gfx::Rect GetViewBounds() const override; |
| 86 gfx::Size GetVisibleViewportSize() const override; |
| 86 gfx::Vector2dF GetLastScrollOffset() const override; | 87 gfx::Vector2dF GetLastScrollOffset() const override; |
| 87 gfx::NativeView GetNativeView() const override; | 88 gfx::NativeView GetNativeView() const override; |
| 88 gfx::NativeViewId GetNativeViewId() const override; | 89 gfx::NativeViewId GetNativeViewId() const override; |
| 89 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 90 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
| 90 void SetBackgroundColor(SkColor color) override; | 91 void SetBackgroundColor(SkColor color) override; |
| 91 gfx::Size GetPhysicalBackingSize() const override; | 92 gfx::Size GetPhysicalBackingSize() const override; |
| 92 | 93 |
| 93 // RenderWidgetHostViewBase implementation. | 94 // RenderWidgetHostViewBase implementation. |
| 94 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 95 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 95 const gfx::Rect& bounds) override; | 96 const gfx::Rect& bounds) override; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // it convenient to swap() when processing the list. | 234 // it convenient to swap() when processing the list. |
| 234 FrameSwappedCallbackList frame_swapped_callbacks_; | 235 FrameSwappedCallbackList frame_swapped_callbacks_; |
| 235 | 236 |
| 236 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 237 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 237 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 238 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 238 }; | 239 }; |
| 239 | 240 |
| 240 } // namespace content | 241 } // namespace content |
| 241 | 242 |
| 242 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |