Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Side by Side Diff: chrome/browser/browser_window.h

Issue 42490: Experiments with a new tabstrip + animator (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // This method should call Browser::InProgressDownloadResponse once the user 188 // This method should call Browser::InProgressDownloadResponse once the user
189 // has confirmed. 189 // has confirmed.
190 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; 190 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0;
191 191
192 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is 192 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is
193 // the window the dialog should be opened modal to and is a native window 193 // the window the dialog should be opened modal to and is a native window
194 // handle. 194 // handle.
195 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 195 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
196 gfx::NativeWindow parent_window) = 0; 196 gfx::NativeWindow parent_window) = 0;
197 197
198 // Asks the window to continue a drag operation begun in a different browser
199 // window. |tab_bounds| are the bounds of the Tab view that was dragged from
200 // the source window, in screen coordinates. The corresponding Tab view in
201 // this new window will be positioned at these bounds for a seamless
202 // appearance.
203 virtual void ContinueDraggingDetachedTab(const gfx::Rect& tab_bounds) {}
204
198 // BrowserThemeProvider calls this when a user has changed his or her theme, 205 // BrowserThemeProvider calls this when a user has changed his or her theme,
199 // indicating that it's time to redraw everything. 206 // indicating that it's time to redraw everything.
200 virtual void UserChangedTheme() = 0; 207 virtual void UserChangedTheme() = 0;
201 208
202 // Get extra vertical height that the render view should add to its requests 209 // Get extra vertical height that the render view should add to its requests
203 // to webkit. This can help prevent sending extraneous layout/repaint requests 210 // to webkit. This can help prevent sending extraneous layout/repaint requests
204 // when the delegate is in the process of resizing the tab contents view (e.g. 211 // when the delegate is in the process of resizing the tab contents view (e.g.
205 // during infobar animations). 212 // during infobar animations).
206 virtual int GetExtraRenderViewHeight() const = 0; 213 virtual int GetExtraRenderViewHeight() const = 0;
207 214
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 247
241 // Returns the LocationBarView. 248 // Returns the LocationBarView.
242 virtual LocationBarView* GetLocationBarView() const = 0; 249 virtual LocationBarView* GetLocationBarView() const = 0;
243 250
244 // Returns the TabContentsContainer. 251 // Returns the TabContentsContainer.
245 virtual views::View* GetTabContentsContainerView() const = 0; 252 virtual views::View* GetTabContentsContainerView() const = 0;
246 #endif 253 #endif
247 }; 254 };
248 255
249 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 256 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698