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

Issue 6541027: Small: Cloud print UI options fix. (Closed)

Created:
9 years, 10 months ago by Scott Byer
Modified:
9 years, 7 months ago
Reviewers:
csilv
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Cloud print options fix. There seemed to be a timing issue on Mac and non-views Linux build that prevented the button handlers from being properly installed. By always installing the handlers and basing their behavior on the visibility of the ui instead, things work on all platforms. BUG=none TEST=Start up Mac Chromium with --enable-cloud-print-proxy, go to Under the Hood, and try to start cloud print - with this patch, the sign in UI will start. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75458

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments; clean up #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -18 lines) Patch
M chrome/browser/dom_ui/options/advanced_options_handler.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc View 1 1 chunk +6 lines, -0 lines 1 comment Download
M chrome/browser/resources/options/advanced_options.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Scott Byer
A small fix I found was needed as I start trying to get the Mac ...
9 years, 10 months ago (2011-02-18 18:15:31 UTC) #1
csilv
http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/options.html File chrome/browser/resources/options/options.html (right): http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/options.html#newcode3 chrome/browser/resources/options/options.html:3: i18n-values="dir:textdirection" If enable-cloud-print-proxy is no longer defined here, wont ...
9 years, 10 months ago (2011-02-18 18:59:54 UTC) #2
Scott Byer
http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/options.html File chrome/browser/resources/options/options.html (right): http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/options.html#newcode3 chrome/browser/resources/options/options.html:3: i18n-values="dir:textdirection" On 2011/02/18 18:59:54, csilv wrote: > If enable-cloud-print-proxy ...
9 years, 10 months ago (2011-02-18 19:11:32 UTC) #3
csilv
Ok right. It still works because when cloud printing is disabled, the handler calls the ...
9 years, 10 months ago (2011-02-18 19:52:33 UTC) #4
csilv
http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/advanced_options.js File chrome/browser/resources/options/advanced_options.js (right): http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/advanced_options.js#newcode133 chrome/browser/resources/options/advanced_options.js:133: if ($('cloud-print-proxy-section').style.display != 'none') { This added check is ...
9 years, 10 months ago (2011-02-18 19:54:28 UTC) #5
Scott Byer
Ah, of course. This make things a bit cleaner... http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/advanced_options.js File chrome/browser/resources/options/advanced_options.js (right): http://codereview.chromium.org/6541027/diff/1/chrome/browser/resources/options/advanced_options.js#newcode133 chrome/browser/resources/options/advanced_options.js:133: ...
9 years, 10 months ago (2011-02-18 20:44:05 UTC) #6
csilv
9 years, 10 months ago (2011-02-18 22:11:55 UTC) #7
LGTM

http://codereview.chromium.org/6541027/diff/4002/chrome/browser/printing/clou...
File chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc (right):

http://codereview.chromium.org/6541027/diff/4002/chrome/browser/printing/clou...
chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc:136: #if
!defined(OS_WIN)
You may want to add a comment describing why this is necessary for the benefit
of future coders that may wonder.

Powered by Google App Engine
This is Rietveld 408576698