| 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 CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Reset the native parent of this view to NULL. Unparented windows should | 46 // Reset the native parent of this view to NULL. Unparented windows should |
| 47 // not receive any messages. | 47 // not receive any messages. |
| 48 virtual void Unparent(); | 48 virtual void Unparent(); |
| 49 | 49 |
| 50 NativeTabContentsView* native_tab_contents_view() const { | 50 NativeTabContentsView* native_tab_contents_view() const { |
| 51 return native_tab_contents_view_; | 51 return native_tab_contents_view_; |
| 52 } | 52 } |
| 53 | 53 |
| 54 // Overridden from WebContentsView: | 54 // Overridden from WebContentsView: |
| 55 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; | 55 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; |
| 56 virtual RenderWidgetHostView* CreateViewForWidget( | 56 virtual content::RenderWidgetHostView* CreateViewForWidget( |
| 57 RenderWidgetHost* render_widget_host) OVERRIDE; | 57 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 58 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 58 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 59 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 59 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
| 60 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 60 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
| 61 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 61 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
| 62 virtual void SetPageTitle(const string16& title) OVERRIDE; | 62 virtual void SetPageTitle(const string16& title) OVERRIDE; |
| 63 virtual void OnTabCrashed(base::TerminationStatus status, | 63 virtual void OnTabCrashed(base::TerminationStatus status, |
| 64 int error_code) OVERRIDE; | 64 int error_code) OVERRIDE; |
| 65 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 65 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
| 66 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 66 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 mutable const views::FocusManager* focus_manager_; | 171 mutable const views::FocusManager* focus_manager_; |
| 172 | 172 |
| 173 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a | 173 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a |
| 174 // weak reference. | 174 // weak reference. |
| 175 views::Widget* overlaid_view_; | 175 views::Widget* overlaid_view_; |
| 176 | 176 |
| 177 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); | 177 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ | 180 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ |
| OLD | NEW |