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

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

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 11 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 | Annotate | Revision Log
« 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 (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_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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h"
10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 // Returns whether the bookmark bar is animating or not. 201 // Returns whether the bookmark bar is animating or not.
202 virtual bool IsBookmarkBarAnimating() const = 0; 202 virtual bool IsBookmarkBarAnimating() const = 0;
203 203
204 // Returns whether the tab strip is editable (for extensions). 204 // Returns whether the tab strip is editable (for extensions).
205 virtual bool IsTabStripEditable() const = 0; 205 virtual bool IsTabStripEditable() const = 0;
206 206
207 // Returns whether the tool bar is visible or not. 207 // Returns whether the tool bar is visible or not.
208 virtual bool IsToolbarVisible() const = 0; 208 virtual bool IsToolbarVisible() const = 0;
209 209
210 // Returns the rect where the resize corner should be drawn by the render
211 // widget host view (on top of what the renderer returns). We return an empty
212 // rect to identify that there shouldn't be a resize corner (in the cases
213 // where we take care of it ourselves at the browser level).
214 virtual gfx::Rect GetRootWindowResizerRect() const = 0;
215
210 // Returns whether the window is a panel. This is not always synonomous 216 // Returns whether the window is a panel. This is not always synonomous
211 // with the associated browser having type panel since some environments 217 // with the associated browser having type panel since some environments
212 // may draw popups in panel windows. 218 // may draw popups in panel windows.
213 virtual bool IsPanel() const = 0; 219 virtual bool IsPanel() const = 0;
214 220
215 // Tells the frame not to render as inactive until the next activation change. 221 // Tells the frame not to render as inactive until the next activation change.
216 // This is required on Windows when dropdown selects are shown to prevent the 222 // This is required on Windows when dropdown selects are shown to prevent the
217 // select from deactivating the browser frame. A stub implementation is 223 // select from deactivating the browser frame. A stub implementation is
218 // provided here since the functionality is Windows-specific. 224 // provided here since the functionality is Windows-specific.
219 virtual void DisableInactiveFrame() {} 225 virtual void DisableInactiveFrame() {}
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 413
408 // Returns the ToolbarView. 414 // Returns the ToolbarView.
409 virtual ToolbarView* GetToolbarView() const = 0; 415 virtual ToolbarView* GetToolbarView() const = 0;
410 #endif 416 #endif
411 417
412 protected: 418 protected:
413 virtual ~BrowserWindowTesting() {} 419 virtual ~BrowserWindowTesting() {}
414 }; 420 };
415 421
416 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 422 #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