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

Unified Diff: chrome/browser/window_sizer.h

Issue 79070: createWindow api call. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | chrome/browser/window_sizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/window_sizer.h
===================================================================
--- chrome/browser/window_sizer.h (revision 14694)
+++ chrome/browser/window_sizer.h (working copy)
@@ -10,6 +10,8 @@
#include "base/basictypes.h"
#include "base/gfx/rect.h"
+class Browser;
+
///////////////////////////////////////////////////////////////////////////////
// WindowSizer
//
@@ -91,9 +93,13 @@
};
// Determines the size, position and maximized state for the browser window.
- // See documentation for DetermineWindowBounds below.
+ // See documentation for DetermineWindowBounds below. Normally,
+ // |window_bounds| is calculated by calling GetLastActiveWindowState(). To
+ // explicitly specify a particular window to base the bounds on, pass in a
+ // non-NULL value for |browser|.
static void GetBrowserWindowBounds(const std::wstring& app_name,
const gfx::Rect& specified_bounds,
+ Browser* browser,
gfx::Rect* window_bounds,
bool* maximized);
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | chrome/browser/window_sizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698