| 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_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 gfx::NativeView context) override; | 58 gfx::NativeView context) override; |
| 59 RenderWidgetHostViewBase* CreateViewForWidget( | 59 RenderWidgetHostViewBase* CreateViewForWidget( |
| 60 RenderWidgetHost* render_widget_host, | 60 RenderWidgetHost* render_widget_host, |
| 61 bool is_guest_view_hack) override; | 61 bool is_guest_view_hack) override; |
| 62 RenderWidgetHostViewBase* CreateViewForPopupWidget( | 62 RenderWidgetHostViewBase* CreateViewForPopupWidget( |
| 63 RenderWidgetHost* render_widget_host) override; | 63 RenderWidgetHost* render_widget_host) override; |
| 64 void SetPageTitle(const base::string16& title) override; | 64 void SetPageTitle(const base::string16& title) override; |
| 65 void RenderViewCreated(RenderViewHost* host) override; | 65 void RenderViewCreated(RenderViewHost* host) override; |
| 66 void RenderViewSwappedIn(RenderViewHost* host) override; | 66 void RenderViewSwappedIn(RenderViewHost* host) override; |
| 67 void SetOverscrollControllerEnabled(bool enabled) override; | 67 void SetOverscrollControllerEnabled(bool enabled) override; |
| 68 ui::Compositor* GetCompositor() const override; |
| 68 #if defined(OS_MACOSX) | 69 #if defined(OS_MACOSX) |
| 69 void SetAllowOtherViews(bool allow) override; | 70 void SetAllowOtherViews(bool allow) override; |
| 70 bool GetAllowOtherViews() const override; | 71 bool GetAllowOtherViews() const override; |
| 71 bool IsEventTracking() const override; | 72 bool IsEventTracking() const override; |
| 72 void CloseTabAfterEventTracking() override; | 73 void CloseTabAfterEventTracking() override; |
| 73 #endif | 74 #endif |
| 74 | 75 |
| 75 // Backend implementation of RenderViewHostDelegateView. | 76 // Backend implementation of RenderViewHostDelegateView. |
| 76 void ShowContextMenu(RenderFrameHost* render_frame_host, | 77 void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 77 const ContextMenuParams& params) override; | 78 const ContextMenuParams& params) override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 95 | 96 |
| 96 // Delegate view for guest's platform view. | 97 // Delegate view for guest's platform view. |
| 97 RenderViewHostDelegateView* platform_view_delegate_view_; | 98 RenderViewHostDelegateView* platform_view_delegate_view_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 100 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace content | 103 } // namespace content |
| 103 | 104 |
| 104 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 105 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| OLD | NEW |