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

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

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 3 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 | « no previous file | 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 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 virtual void ShowInstant(TabContents* preview) = 0; 327 virtual void ShowInstant(TabContents* preview) = 0;
328 328
329 // Invoked when the instant's tab contents should be hidden. 329 // Invoked when the instant's tab contents should be hidden.
330 virtual void HideInstant() = 0; 330 virtual void HideInstant() = 0;
331 331
332 // Returns the desired bounds for instant in screen coordinates. Note that if 332 // Returns the desired bounds for instant in screen coordinates. Note that if
333 // instant isn't currently visible this returns the bounds instant would be 333 // instant isn't currently visible this returns the bounds instant would be
334 // placed at. 334 // placed at.
335 virtual gfx::Rect GetInstantBounds() = 0; 335 virtual gfx::Rect GetInstantBounds() = 0;
336 336
337 // Checks if an instant's tab contents is being shown.
338 virtual bool GetIsShowingInstant() = 0;
339
337 // Return the correct disposition for a popup window based on |bounds|. 340 // Return the correct disposition for a popup window based on |bounds|.
338 virtual WindowOpenDisposition GetDispositionForPopupBounds( 341 virtual WindowOpenDisposition GetDispositionForPopupBounds(
339 const gfx::Rect& bounds) = 0; 342 const gfx::Rect& bounds) = 0;
340 343
341 // Construct a FindBar implementation for the |browser|. 344 // Construct a FindBar implementation for the |browser|.
342 virtual FindBar* CreateFindBar() = 0; 345 virtual FindBar* CreateFindBar() = 0;
343 346
344 // Invoked when the preferred size of the contents in current tab has been 347 // Invoked when the preferred size of the contents in current tab has been
345 // changed. We might choose to update the window size to accomodate this 348 // changed. We might choose to update the window size to accomodate this
346 // change. 349 // change.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 409
407 // Returns the ToolbarView. 410 // Returns the ToolbarView.
408 virtual ToolbarView* GetToolbarView() const = 0; 411 virtual ToolbarView* GetToolbarView() const = 0;
409 #endif 412 #endif
410 413
411 protected: 414 protected:
412 virtual ~BrowserWindowTesting() {} 415 virtual ~BrowserWindowTesting() {}
413 }; 416 };
414 417
415 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 418 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698