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

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

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 years, 2 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/ui/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/lifetime/browser_close_manager.h" 10 #include "chrome/browser/lifetime/browser_close_manager.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 // Returns whether the bookmark bar is animating or not. 204 // Returns whether the bookmark bar is animating or not.
205 virtual bool IsBookmarkBarAnimating() const = 0; 205 virtual bool IsBookmarkBarAnimating() const = 0;
206 206
207 // Returns whether the tab strip is editable (for extensions). 207 // Returns whether the tab strip is editable (for extensions).
208 virtual bool IsTabStripEditable() const = 0; 208 virtual bool IsTabStripEditable() const = 0;
209 209
210 // Returns whether the tool bar is visible or not. 210 // Returns whether the tool bar is visible or not.
211 virtual bool IsToolbarVisible() const = 0; 211 virtual bool IsToolbarVisible() const = 0;
212 212
213 // Returns the rect where the resize corner should be drawn by the render
214 // widget host view (on top of what the renderer returns). We return an empty
215 // rect to identify that there shouldn't be a resize corner (in the cases
216 // where we take care of it ourselves at the browser level).
217 virtual gfx::Rect GetRootWindowResizerRect() const = 0;
218
219 // Shows the Update Recommended dialog box. 213 // Shows the Update Recommended dialog box.
220 virtual void ShowUpdateChromeDialog() = 0; 214 virtual void ShowUpdateChromeDialog() = 0;
221 215
222 // Shows the Bookmark bubble. |url| is the URL being bookmarked, 216 // Shows the Bookmark bubble. |url| is the URL being bookmarked,
223 // |already_bookmarked| is true if the url is already bookmarked. 217 // |already_bookmarked| is true if the url is already bookmarked.
224 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; 218 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0;
225 219
226 // Callback type used with the ShowBookmarkAppBubble() method. The boolean 220 // Callback type used with the ShowBookmarkAppBubble() method. The boolean
227 // parameter is true when the user accepts the dialog. The WebApplicationInfo 221 // parameter is true when the user accepts the dialog. The WebApplicationInfo
228 // parameter contains the WebApplicationInfo as edited by the user. 222 // parameter contains the WebApplicationInfo as edited by the user.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 virtual std::string GetWorkspace() const = 0; 381 virtual std::string GetWorkspace() const = 0;
388 virtual bool IsVisibleOnAllWorkspaces() const = 0; 382 virtual bool IsVisibleOnAllWorkspaces() const = 0;
389 383
390 protected: 384 protected:
391 friend class BrowserCloseManager; 385 friend class BrowserCloseManager;
392 friend class BrowserView; 386 friend class BrowserView;
393 virtual void DestroyBrowser() = 0; 387 virtual void DestroyBrowser() = 0;
394 }; 388 };
395 389
396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698