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

Issue 10949023: Add switch to provide app window size on startup (Closed)

Created:
8 years, 3 months ago by Nikita (slow)
Modified:
8 years, 3 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add switch to provide app window size on startup Current use of this switch would be for new user session on Chrome OS where we're launching Getting Started Guide via --app=[URL] and want to initialize with the specific size. Otherwise app window is initialized with the default size and then resized by GSG itself. (see issue). BUG=148955 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157835

Patch Set 1 #

Total comments: 14

Patch Set 2 : review #

Patch Set 3 : comment #

Patch Set 4 : remove hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -11 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.h View 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 5 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 5 chunks +53 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nikita (slow)
mihaip@ - please review chrome/browser/ui/extensions/* sky@ - please review whole CL
8 years, 3 months ago (2012-09-19 17:01:37 UTC) #1
sky
http://codereview.chromium.org/10949023/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/10949023/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode78 chrome/browser/chromeos/login/existing_user_controller.cc:78: const char kGSGAppWindowSize[] = "820,550"; Shouldn't this be specified ...
8 years, 3 months ago (2012-09-19 17:20:14 UTC) #2
Nikita (slow)
http://codereview.chromium.org/10949023/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/10949023/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode78 chrome/browser/chromeos/login/existing_user_controller.cc:78: const char kGSGAppWindowSize[] = "820,550"; On 2012/09/19 17:20:14, sky ...
8 years, 3 months ago (2012-09-19 17:46:41 UTC) #3
sky
On Wed, Sep 19, 2012 at 10:46 AM, <nkostylev@chromium.org> wrote: > > http://codereview.chromium.org/10949023/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc > File ...
8 years, 3 months ago (2012-09-19 20:54:24 UTC) #4
Nikita (slow)
On 2012/09/19 20:54:24, sky wrote: > > > > Probably you're right but from what ...
8 years, 3 months ago (2012-09-20 15:01:19 UTC) #5
Nikita (slow)
http://codereview.chromium.org/10949023/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): http://codereview.chromium.org/10949023/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode221 chrome/browser/ui/startup/startup_browser_creator_impl.cc:221: size_t num1_size = str.find_first_of(','); On 2012/09/19 17:20:14, sky wrote: ...
8 years, 3 months ago (2012-09-20 15:01:27 UTC) #6
Nikita (slow)
http://codereview.chromium.org/10949023/diff/1/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/10949023/diff/1/chrome/common/chrome_switches.cc#newcode65 chrome/common/chrome_switches.cc:65: // Specify the initial "application" mode window size: --app-window-size=w,h ...
8 years, 3 months ago (2012-09-20 16:07:35 UTC) #7
Nikita (slow)
http://codereview.chromium.org/10949023/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): http://codereview.chromium.org/10949023/diff/1/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode553 chrome/browser/ui/startup/startup_browser_creator_impl.cc:553: extra_height_work_area = ash::kLauncherPreferredSize; On 2012/09/19 17:20:14, sky wrote: > ...
8 years, 3 months ago (2012-09-20 16:55:00 UTC) #8
sky
LGTM
8 years, 3 months ago (2012-09-20 16:59:17 UTC) #9
Nikita (slow)
+Mike for owners review
8 years, 3 months ago (2012-09-20 17:37:58 UTC) #10
Nikita (slow)
+Mike for owners review
8 years, 3 months ago (2012-09-20 17:37:58 UTC) #11
miket_OOO
8 years, 3 months ago (2012-09-20 17:40:04 UTC) #12
On 2012/09/20 17:37:58, Nikita Kostylev wrote:
> +Mike for owners review

OWNERS LGTM. Thanks!

Powered by Google App Engine
This is Rietveld 408576698