OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
10 #include "content/browser/web_contents/web_contents_view.h" | 10 #include "content/browser/web_contents/web_contents_view.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 gfx::NativeView context) override; | 40 gfx::NativeView context) override; |
41 RenderWidgetHostViewBase* CreateViewForWidget( | 41 RenderWidgetHostViewBase* CreateViewForWidget( |
42 RenderWidgetHost* render_widget_host, | 42 RenderWidgetHost* render_widget_host, |
43 bool is_guest_view_hack) override; | 43 bool is_guest_view_hack) override; |
44 RenderWidgetHostViewBase* CreateViewForPopupWidget( | 44 RenderWidgetHostViewBase* CreateViewForPopupWidget( |
45 RenderWidgetHost* render_widget_host) override; | 45 RenderWidgetHost* render_widget_host) override; |
46 void SetPageTitle(const base::string16& title) override; | 46 void SetPageTitle(const base::string16& title) override; |
47 void RenderViewCreated(RenderViewHost* host) override; | 47 void RenderViewCreated(RenderViewHost* host) override; |
48 void RenderViewSwappedIn(RenderViewHost* host) override; | 48 void RenderViewSwappedIn(RenderViewHost* host) override; |
49 void SetOverscrollControllerEnabled(bool enabled) override; | 49 void SetOverscrollControllerEnabled(bool enabled) override; |
| 50 ui::Compositor* GetCompositor() const override; |
50 #if defined(OS_MACOSX) | 51 #if defined(OS_MACOSX) |
51 void SetAllowOtherViews(bool allow) override; | 52 void SetAllowOtherViews(bool allow) override; |
52 bool GetAllowOtherViews() const override; | 53 bool GetAllowOtherViews() const override; |
53 bool IsEventTracking() const override; | 54 bool IsEventTracking() const override; |
54 void CloseTabAfterEventTracking() override; | 55 void CloseTabAfterEventTracking() override; |
55 #endif | 56 #endif |
56 | 57 |
57 // Backend implementation of RenderViewHostDelegateView. | 58 // Backend implementation of RenderViewHostDelegateView. |
58 void ShowContextMenu(RenderFrameHost* render_frame_host, | 59 void ShowContextMenu(RenderFrameHost* render_frame_host, |
59 const ContextMenuParams& params) override; | 60 const ContextMenuParams& params) override; |
(...skipping 15 matching lines...) Expand all Loading... |
75 | 76 |
76 // The delegate ownership is passed to WebContentsView. | 77 // The delegate ownership is passed to WebContentsView. |
77 std::unique_ptr<WebContentsViewDelegate> delegate_; | 78 std::unique_ptr<WebContentsViewDelegate> delegate_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); | 80 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace content | 83 } // namespace content |
83 | 84 |
84 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 85 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
OLD | NEW |