| 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 gfx::NativeView context) override; | 59 gfx::NativeView context) override; |
| 60 RenderWidgetHostViewBase* CreateViewForWidget( | 60 RenderWidgetHostViewBase* CreateViewForWidget( |
| 61 RenderWidgetHost* render_widget_host, | 61 RenderWidgetHost* render_widget_host, |
| 62 bool is_guest_view_hack) override; | 62 bool is_guest_view_hack) override; |
| 63 RenderWidgetHostViewBase* CreateViewForPopupWidget( | 63 RenderWidgetHostViewBase* CreateViewForPopupWidget( |
| 64 RenderWidgetHost* render_widget_host) override; | 64 RenderWidgetHost* render_widget_host) override; |
| 65 void SetPageTitle(const base::string16& title) override; | 65 void SetPageTitle(const base::string16& title) override; |
| 66 void RenderViewCreated(RenderViewHost* host) override; | 66 void RenderViewCreated(RenderViewHost* host) override; |
| 67 void RenderViewSwappedIn(RenderViewHost* host) override; | 67 void RenderViewSwappedIn(RenderViewHost* host) override; |
| 68 void SetOverscrollControllerEnabled(bool enabled) override; | 68 void SetOverscrollControllerEnabled(bool enabled) override; |
| 69 ui::Compositor* GetCompositor() const override; |
| 69 #if defined(OS_MACOSX) | 70 #if defined(OS_MACOSX) |
| 70 void SetAllowOtherViews(bool allow) override; | 71 void SetAllowOtherViews(bool allow) override; |
| 71 bool GetAllowOtherViews() const override; | 72 bool GetAllowOtherViews() const override; |
| 72 bool IsEventTracking() const override; | 73 bool IsEventTracking() const override; |
| 73 void CloseTabAfterEventTracking() override; | 74 void CloseTabAfterEventTracking() override; |
| 74 #endif | 75 #endif |
| 75 | 76 |
| 76 // Backend implementation of RenderViewHostDelegateView. | 77 // Backend implementation of RenderViewHostDelegateView. |
| 77 void ShowContextMenu(RenderFrameHost* render_frame_host, | 78 void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 78 const ContextMenuParams& params) override; | 79 const ContextMenuParams& params) override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 std::unique_ptr<WebContentsViewDelegate> delegate_; | 112 std::unique_ptr<WebContentsViewDelegate> delegate_; |
| 112 std::unique_ptr<aura::Window> aura_window_; | 113 std::unique_ptr<aura::Window> aura_window_; |
| 113 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 114 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus); | 116 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace content | 119 } // namespace content |
| 119 | 120 |
| 120 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ | 121 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| OLD | NEW |