| 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 22 matching lines...) Expand all Loading... |
| 33 virtual ~WebContentsViewGuest(); | 33 virtual ~WebContentsViewGuest(); |
| 34 | 34 |
| 35 WebContents* web_contents(); | 35 WebContents* web_contents(); |
| 36 | 36 |
| 37 // WebContentsView implementation -------------------------------------------- | 37 // WebContentsView implementation -------------------------------------------- |
| 38 | 38 |
| 39 virtual void CreateView(const gfx::Size& initial_size, | 39 virtual void CreateView(const gfx::Size& initial_size, |
| 40 gfx::NativeView context) OVERRIDE; | 40 gfx::NativeView context) OVERRIDE; |
| 41 virtual RenderWidgetHostView* CreateViewForWidget( | 41 virtual RenderWidgetHostView* CreateViewForWidget( |
| 42 RenderWidgetHost* render_widget_host) OVERRIDE; | 42 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 43 virtual RenderWidgetHostView* CreateViewForPopupWidget( |
| 44 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 43 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 45 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 44 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 46 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
| 45 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 47 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
| 46 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 48 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
| 47 virtual void SetPageTitle(const string16& title) OVERRIDE; | 49 virtual void SetPageTitle(const string16& title) OVERRIDE; |
| 48 virtual void OnTabCrashed(base::TerminationStatus status, | 50 virtual void OnTabCrashed(base::TerminationStatus status, |
| 49 int error_code) OVERRIDE; | 51 int error_code) OVERRIDE; |
| 50 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 52 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
| 51 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 53 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| 52 virtual void Focus() OVERRIDE; | 54 virtual void Focus() OVERRIDE; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 WebContentsImpl* web_contents_; | 89 WebContentsImpl* web_contents_; |
| 88 gfx::Size requested_size_; | 90 gfx::Size requested_size_; |
| 89 BrowserPluginGuest* guest_; | 91 BrowserPluginGuest* guest_; |
| 90 | 92 |
| 91 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 93 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 } // namespace content | 96 } // namespace content |
| 95 | 97 |
| 96 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 98 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
| OLD | NEW |