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

Issue 6389003: DOMUI/CrOS: Set an empty sync action link label (which has the result of hiding (Closed)

Created:
9 years, 11 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
csilv
CC:
chromium-reviews
Visibility:
Public.

Description

DOMUI/CrOS: Set an empty sync action link label (which has the result of hiding the button). BUG=chromium-os:11195 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72531

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M chrome/browser/dom_ui/options/personal_options_handler.cc View 1 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
James Hawkins
9 years, 11 months ago (2011-01-25 19:53:11 UTC) #1
csilv
LGTM http://codereview.chromium.org/6389003/diff/1/chrome/browser/dom_ui/options/personal_options_handler.cc File chrome/browser/dom_ui/options/personal_options_handler.cc (right): http://codereview.chromium.org/6389003/diff/1/chrome/browser/dom_ui/options/personal_options_handler.cc#newcode262 chrome/browser/dom_ui/options/personal_options_handler.cc:262: visible.reset(Value::CreateBooleanValue(false)); suggestion: put the visible.reset() line in an ...
9 years, 11 months ago (2011-01-25 20:00:49 UTC) #2
James Hawkins
9 years, 11 months ago (2011-01-25 20:05:08 UTC) #3
http://codereview.chromium.org/6389003/diff/1/chrome/browser/dom_ui/options/p...
File chrome/browser/dom_ui/options/personal_options_handler.cc (right):

http://codereview.chromium.org/6389003/diff/1/chrome/browser/dom_ui/options/p...
chrome/browser/dom_ui/options/personal_options_handler.cc:262:
visible.reset(Value::CreateBooleanValue(false));
On 2011/01/25 20:00:49, csilv wrote:
> suggestion: put the visible.reset() line in an #if defined (OS_CHROMEOS)
block,
> and remove the javascript call from the conditional since it's the same for
both
> conditions.

Done.

Powered by Google App Engine
This is Rietveld 408576698