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

Unified Diff: chrome/browser/ui/panels/panel.cc

Issue 8584001: Remove unused "maximized" parameter from WindowSizer::GetBrowserWindowBounds(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/ui/browser.cc ('k') | chrome/browser/ui/window_sizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.cc
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index 1c797bd3bab56e92744d9b372227249d3858cc6f..bbdf2b9833ad5c99bef30d0653bc7b75730091e9 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -391,9 +391,8 @@ DownloadShelf* Panel::GetDownloadShelf() {
// Set initial bounds so window will not be positioned at an offset
// to this panel as panels are at the bottom of the screen.
gfx::Rect window_bounds;
- bool maximized;
- WindowSizer::GetBrowserWindowBounds(
- std::string(), gfx::Rect(), panel_browser, &window_bounds, &maximized);
+ WindowSizer::GetBrowserWindowBounds(std::string(), gfx::Rect(),
+ panel_browser, &window_bounds);
Browser::CreateParams params(Browser::TYPE_TABBED, profile);
params.initial_bounds = window_bounds;
tabbed_browser = Browser::CreateWithParams(params);
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/window_sizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698