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

Issue 10535134: Add WebUI::GetDeviceScale (Closed)

Created:
8 years, 6 months ago by pkotwicz
Modified:
8 years, 6 months ago
CC:
chromium-reviews, jochen+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Visibility:
Public.

Description

Moves GetIconScaleFactor to WebUI::GetRendererScale in order to reuse code as many places in the C++ code push images to Javascript. Bug=133032 Test=Compiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142499

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc View 1 2 9 chunks +8 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/webui/web_ui_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/webui/web_ui_impl.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/browser/web_ui.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
pkotwicz
8 years, 6 months ago (2012-06-12 19:33:07 UTC) #1
Evan Stade
you'll also need a reviewer for content/ http://codereview.chromium.org/10535134/diff/2001/content/public/browser/web_ui.h File content/public/browser/web_ui.h (right): http://codereview.chromium.org/10535134/diff/2001/content/public/browser/web_ui.h#newcode57 content/public/browser/web_ui.h:57: // Javascript. ...
8 years, 6 months ago (2012-06-14 22:03:23 UTC) #2
pkotwicz
Renamed to GetDeviceScale which is consistent to what this parameter is called elsewhere in the ...
8 years, 6 months ago (2012-06-14 23:14:58 UTC) #3
pkotwicz
I realized my previous comment was a bit vague. This is the naming convention I ...
8 years, 6 months ago (2012-06-14 23:17:11 UTC) #4
Evan Stade
LGTM please add BUG= and TEST= fields. I'm sure there must be a bug filed ...
8 years, 6 months ago (2012-06-15 18:28:00 UTC) #5
pkotwicz
sky for OWNERS
8 years, 6 months ago (2012-06-15 18:56:11 UTC) #6
sky
LGTM
8 years, 6 months ago (2012-06-15 21:02:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10535134/12001
8 years, 6 months ago (2012-06-15 21:22:55 UTC) #8
commit-bot: I haz the power
Presubmit check for 10535134-12001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-15 21:23:04 UTC) #9
Avi (use Gerrit)
8 years, 6 months ago (2012-06-15 22:20:27 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698