Index: chrome/browser/ui/views/tab_contents/tab_contents_view_views.h |
diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.h b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.h |
index 413d01efbf0aecb1dbdd1c85779b70aaa7947256..b11f1d3b8279388d61ee637b5387886969c96289 100644 |
--- a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.h |
+++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.h |
@@ -16,7 +16,6 @@ |
class ConstrainedWindowGtk; |
class NativeTabContentsView; |
class RenderViewContextMenuViews; |
-class SadTabView; |
class SkBitmap; |
struct WebDropData; |
namespace gfx { |
@@ -28,8 +27,6 @@ class Widget; |
} |
// Views-specific implementation of the TabContentsView. |
-// TODO(beng): Remove last remnants of Windows-specificity, and make this |
-// subclass Widget. |
class TabContentsViewViews : public views::Widget, |
public TabContentsView, |
public internal::NativeTabContentsViewDelegate { |
@@ -75,6 +72,8 @@ class TabContentsViewViews : public views::Widget, |
virtual bool IsEventTracking() const; |
virtual void CloseTabAfterEventTracking(); |
virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
+ virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; |
+ virtual void RemoveOverlayView() OVERRIDE; |
// Implementation of RenderViewHostDelegate::View. |
virtual void CreateNewWindow( |
@@ -152,11 +151,6 @@ class TabContentsViewViews : public views::Widget, |
NativeTabContentsView* native_tab_contents_view_; |
- // If non-null we're showing a sad tab. SadTabView is hosted in a separate |
- // widget so that TabContentsViewViews does not need to draw, and can be |
- // created without a texture. |
- views::Widget* sad_tab_widget_; |
- |
// The id used in the ViewStorage to store the last focused view. |
int last_focused_view_storage_id_; |
@@ -174,6 +168,10 @@ class TabContentsViewViews : public views::Widget, |
// accessible when un-parented. |
mutable const views::FocusManager* focus_manager_; |
+ // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a |
+ // weak reference. |
+ views::Widget* overlaid_view_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); |
}; |