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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual void SizeContents(const gfx::Size& size) override; | 52 virtual void SizeContents(const gfx::Size& size) override; |
53 virtual void Focus() override; | 53 virtual void Focus() override; |
54 virtual void SetInitialFocus() override; | 54 virtual void SetInitialFocus() override; |
55 virtual void StoreFocus() override; | 55 virtual void StoreFocus() override; |
56 virtual void RestoreFocus() override; | 56 virtual void RestoreFocus() override; |
57 virtual DropData* GetDropData() const override; | 57 virtual DropData* GetDropData() const override; |
58 virtual gfx::Rect GetViewBounds() const override; | 58 virtual gfx::Rect GetViewBounds() const override; |
59 virtual void CreateView(const gfx::Size& initial_size, | 59 virtual void CreateView(const gfx::Size& initial_size, |
60 gfx::NativeView context) override; | 60 gfx::NativeView context) override; |
61 virtual RenderWidgetHostViewBase* CreateViewForWidget( | 61 virtual RenderWidgetHostViewBase* CreateViewForWidget( |
62 RenderWidgetHost* render_widget_host) override; | 62 RenderWidgetHost* render_widget_host, bool is_guest_view_hack) override; |
63 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( | 63 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( |
64 RenderWidgetHost* render_widget_host) override; | 64 RenderWidgetHost* render_widget_host) override; |
65 virtual void SetPageTitle(const base::string16& title) override; | 65 virtual void SetPageTitle(const base::string16& title) override; |
66 virtual void RenderViewCreated(RenderViewHost* host) override; | 66 virtual void RenderViewCreated(RenderViewHost* host) override; |
67 virtual void RenderViewSwappedIn(RenderViewHost* host) override; | 67 virtual void RenderViewSwappedIn(RenderViewHost* host) override; |
68 virtual void SetOverscrollControllerEnabled(bool enabled) override; | 68 virtual void SetOverscrollControllerEnabled(bool enabled) override; |
69 #if defined(OS_MACOSX) | 69 #if defined(OS_MACOSX) |
70 virtual void SetAllowOtherViews(bool allow) override; | 70 virtual void SetAllowOtherViews(bool allow) override; |
71 virtual bool GetAllowOtherViews() const override; | 71 virtual bool GetAllowOtherViews() const override; |
72 virtual bool IsEventTracking() const override; | 72 virtual bool IsEventTracking() const override; |
(...skipping 23 matching lines...) Expand all Loading... |
96 | 96 |
97 // Delegate view for guest's platform view. | 97 // Delegate view for guest's platform view. |
98 RenderViewHostDelegateView* platform_view_delegate_view_; | 98 RenderViewHostDelegateView* platform_view_delegate_view_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 100 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
104 | 104 |
105 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 105 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
OLD | NEW |