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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual bool HasFocus() const override; | 46 virtual bool HasFocus() const override; |
47 virtual bool IsSurfaceAvailableForCopy() const override; | 47 virtual bool IsSurfaceAvailableForCopy() const override; |
48 virtual void Show() override; | 48 virtual void Show() override; |
49 virtual void Hide() override; | 49 virtual void Hide() override; |
50 virtual bool IsShowing() override; | 50 virtual bool IsShowing() override; |
51 virtual gfx::Rect GetViewBounds() const override; | 51 virtual gfx::Rect GetViewBounds() const override; |
52 virtual gfx::Vector2dF GetLastScrollOffset() const override; | 52 virtual gfx::Vector2dF GetLastScrollOffset() const override; |
53 virtual gfx::NativeView GetNativeView() const override; | 53 virtual gfx::NativeView GetNativeView() const override; |
54 virtual gfx::NativeViewId GetNativeViewId() const override; | 54 virtual gfx::NativeViewId GetNativeViewId() const override; |
55 virtual gfx::NativeViewAccessible GetNativeViewAccessible() override; | 55 virtual gfx::NativeViewAccessible GetNativeViewAccessible() override; |
56 virtual void SetBackgroundColor(SkColor color) override; | 56 virtual void SetBackgroundOpaque(bool opaque) override; |
57 virtual gfx::Size GetPhysicalBackingSize() const override; | 57 virtual gfx::Size GetPhysicalBackingSize() const override; |
58 | 58 |
59 // RenderWidgetHostViewBase implementation. | 59 // RenderWidgetHostViewBase implementation. |
60 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 60 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
61 const gfx::Rect& pos) override; | 61 const gfx::Rect& pos) override; |
62 virtual void InitAsFullscreen( | 62 virtual void InitAsFullscreen( |
63 RenderWidgetHostView* reference_host_view) override; | 63 RenderWidgetHostView* reference_host_view) override; |
64 virtual void WasShown() override; | 64 virtual void WasShown() override; |
65 virtual void WasHidden() override; | 65 virtual void WasHidden() override; |
66 virtual void MovePluginWindows( | 66 virtual void MovePluginWindows( |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // sent through it are routed to the embedding renderer process. | 157 // sent through it are routed to the embedding renderer process. |
158 CrossProcessFrameConnector* frame_connector_; | 158 CrossProcessFrameConnector* frame_connector_; |
159 | 159 |
160 private: | 160 private: |
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
165 | 165 |
166 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 166 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |