| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual bool GetAllowOverlappingViews() const OVERRIDE; | 58 virtual bool GetAllowOverlappingViews() const OVERRIDE; |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 // WebContentsViewPort implementation ---------------------------------------- | 61 // WebContentsViewPort implementation ---------------------------------------- |
| 62 virtual void CreateView(const gfx::Size& initial_size, | 62 virtual void CreateView(const gfx::Size& initial_size, |
| 63 gfx::NativeView context) OVERRIDE; | 63 gfx::NativeView context) OVERRIDE; |
| 64 virtual RenderWidgetHostView* CreateViewForWidget( | 64 virtual RenderWidgetHostView* CreateViewForWidget( |
| 65 RenderWidgetHost* render_widget_host) OVERRIDE; | 65 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 66 virtual RenderWidgetHostView* CreateViewForPopupWidget( | 66 virtual RenderWidgetHostView* CreateViewForPopupWidget( |
| 67 RenderWidgetHost* render_widget_host) OVERRIDE; | 67 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 68 virtual void SetPageTitle(const string16& title) OVERRIDE; | 68 virtual void SetPageTitle(const base::string16& title) OVERRIDE; |
| 69 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 69 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| 70 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; | 70 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; |
| 71 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; | 71 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; |
| 72 #if defined(OS_MACOSX) | 72 #if defined(OS_MACOSX) |
| 73 virtual bool IsEventTracking() const OVERRIDE; | 73 virtual bool IsEventTracking() const OVERRIDE; |
| 74 virtual void CloseTabAfterEventTracking() OVERRIDE; | 74 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 75 #endif | 75 #endif |
| 76 | 76 |
| 77 // Backend implementation of RenderViewHostDelegateView. | 77 // Backend implementation of RenderViewHostDelegateView. |
| 78 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; | 78 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 103 | 103 |
| 104 // Delegate view for guest's platform view. | 104 // Delegate view for guest's platform view. |
| 105 RenderViewHostDelegateView* platform_view_delegate_view_; | 105 RenderViewHostDelegateView* platform_view_delegate_view_; |
| 106 | 106 |
| 107 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 107 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace content | 110 } // namespace content |
| 111 | 111 |
| 112 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 112 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| OLD | NEW |