diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 20:02:05 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 20:02:05 +0000 |
commit | dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d (patch) | |
tree | 65f01afe493e3aec73488c4867c60f379b73270e /chrome/browser/extensions | |
parent | c91d9ced6258ada125bd9fb042ba795272a91fb6 (diff) | |
download | chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.zip chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.tar.gz chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.tar.bz2 |
Landing Thiago Farina's CL.
See http://codereview.chromium.org/159186
Renaming GetNormalBounds to GetRestoredBounds from browser_window.h.
BUG=None
TEST=None
TBR=tfarina
Review URL: http://codereview.chromium.org/160337
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc index 93818be..a51a9a2 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -290,7 +290,7 @@ bool UpdateWindowFunction::RunImpl() { if (!browser) return false; - gfx::Rect bounds = browser->window()->GetNormalBounds(); + gfx::Rect bounds = browser->window()->GetRestoredBounds(); // Any part of the bounds can optionally be set by the caller. int bounds_val; if (update_props->HasKey(keys::kLeftKey)) { @@ -672,7 +672,7 @@ static DictionaryValue* CreateWindowValue(Browser* browser, browser)); result->SetBoolean(keys::kFocusedKey, browser->window()->IsActive()); - gfx::Rect bounds = browser->window()->GetNormalBounds(); + gfx::Rect bounds = browser->window()->GetRestoredBounds(); // TODO(rafaelw): zIndex ? result->SetInteger(keys::kLeftKey, bounds.x()); |