| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void CancelDragAndCloseTab() OVERRIDE; | 72 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 73 virtual bool IsEventTracking() const OVERRIDE; | 73 virtual bool IsEventTracking() const OVERRIDE; |
| 74 virtual void CloseTabAfterEventTracking() OVERRIDE; | 74 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 75 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 75 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
| 76 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; | 76 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; |
| 77 virtual void RemoveOverlayView() OVERRIDE; | 77 virtual void RemoveOverlayView() OVERRIDE; |
| 78 | 78 |
| 79 // Implementation of RenderViewHostDelegate::View. | 79 // Implementation of RenderViewHostDelegate::View. |
| 80 virtual void CreateNewWindow( | 80 virtual void CreateNewWindow( |
| 81 int route_id, | 81 int route_id, |
| 82 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 82 const ViewHostMsg_CreateWindow_Params& params, |
| 83 ContentFrame* opener) OVERRIDE; |
| 83 virtual void CreateNewWidget(int route_id, | 84 virtual void CreateNewWidget(int route_id, |
| 84 WebKit::WebPopupType popup_type) OVERRIDE; | 85 WebKit::WebPopupType popup_type) OVERRIDE; |
| 85 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 86 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 86 virtual void ShowCreatedWindow(int route_id, | 87 virtual void ShowCreatedWindow(int route_id, |
| 87 WindowOpenDisposition disposition, | 88 WindowOpenDisposition disposition, |
| 88 const gfx::Rect& initial_pos, | 89 const gfx::Rect& initial_pos, |
| 89 bool user_gesture) OVERRIDE; | 90 bool user_gesture) OVERRIDE; |
| 90 virtual void ShowCreatedWidget(int route_id, | 91 virtual void ShowCreatedWidget(int route_id, |
| 91 const gfx::Rect& initial_pos) OVERRIDE; | 92 const gfx::Rect& initial_pos) OVERRIDE; |
| 92 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 93 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 mutable const views::FocusManager* focus_manager_; | 171 mutable const views::FocusManager* focus_manager_; |
| 171 | 172 |
| 172 // 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 |
| 173 // weak reference. | 174 // weak reference. |
| 174 views::Widget* overlaid_view_; | 175 views::Widget* overlaid_view_; |
| 175 | 176 |
| 176 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); | 177 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); |
| 177 }; | 178 }; |
| 178 | 179 |
| 179 #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 |