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

Issue 10255020: Get the default device scale factor from monitor (Closed)

Created:
8 years, 7 months ago by oshima
Modified:
8 years, 7 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, ben+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Get the default device scale factor from monitor BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134677

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : addressed comments #

Patch Set 5 : sync #

Patch Set 6 : added missing file (gfx_switches) #

Total comments: 4

Patch Set 7 : . #

Patch Set 8 : addressed comments #

Patch Set 9 : check if native view is mapped #

Total comments: 2

Patch Set 10 : updated comment, sync #

Patch Set 11 : . #

Patch Set 12 : mac fix #

Patch Set 13 : updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -25 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 3 chunks +1 line, -12 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +16 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/aura/monitor_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/monitor_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ui_base_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/ui_base_switches.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/monitor.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/monitor.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -4 lines 0 comments Download
M ui/gfx/screen.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/screen_android.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gfx/screen_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
oshima
8 years, 7 months ago (2012-04-28 02:14:57 UTC) #1
oshima
8 years, 7 months ago (2012-04-28 02:15:29 UTC) #2
pkotwicz
Cool!
8 years, 7 months ago (2012-04-29 18:35:15 UTC) #3
sadrul
http://codereview.chromium.org/10255020/diff/3001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): http://codereview.chromium.org/10255020/diff/3001/content/browser/web_contents/web_contents_impl.cc#newcode516 content/browser/web_contents/web_contents_impl.cc:516: prefs.default_device_scale_factor = 1; From this change, it looks like ...
8 years, 7 months ago (2012-04-30 15:15:48 UTC) #4
oshima
http://codereview.chromium.org/10255020/diff/3001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): http://codereview.chromium.org/10255020/diff/3001/content/browser/web_contents/web_contents_impl.cc#newcode516 content/browser/web_contents/web_contents_impl.cc:516: prefs.default_device_scale_factor = 1; On 2012/04/30 15:15:49, sadrul wrote: > ...
8 years, 7 months ago (2012-04-30 17:25:24 UTC) #5
oshima
Moved the code to get default device scale factor to ui/gfx/monitor. PTAL. This actually looks ...
8 years, 7 months ago (2012-04-30 18:23:31 UTC) #6
sadrul
LGTM with a nit and a note: http://codereview.chromium.org/10255020/diff/8006/ui/gfx/gfx_switches.h File ui/gfx/gfx_switches.h (right): http://codereview.chromium.org/10255020/diff/8006/ui/gfx/gfx_switches.h#newcode13 ui/gfx/gfx_switches.h:13: UI_EXPORT extern ...
8 years, 7 months ago (2012-04-30 18:56:59 UTC) #7
oshima
http://codereview.chromium.org/10255020/diff/8006/ui/gfx/gfx_switches.h File ui/gfx/gfx_switches.h (right): http://codereview.chromium.org/10255020/diff/8006/ui/gfx/gfx_switches.h#newcode13 ui/gfx/gfx_switches.h:13: UI_EXPORT extern const char kDefaultDeviceScaleFactor[]; On 2012/04/30 18:57:00, sadrul ...
8 years, 7 months ago (2012-04-30 19:41:13 UTC) #8
oshima
+ben for OWNERS review
8 years, 7 months ago (2012-04-30 19:42:17 UTC) #9
Ben Goodger (Google)
LGTM http://codereview.chromium.org/10255020/diff/19005/ui/aura/monitor_manager.h File ui/aura/monitor_manager.h (right): http://codereview.chromium.org/10255020/diff/19005/ui/aura/monitor_manager.h#newcode45 ui/aura/monitor_manager.h:45: // The device scale factor can be specifeid ...
8 years, 7 months ago (2012-04-30 21:54:36 UTC) #10
oshima
http://codereview.chromium.org/10255020/diff/19005/ui/aura/monitor_manager.h File ui/aura/monitor_manager.h (right): http://codereview.chromium.org/10255020/diff/19005/ui/aura/monitor_manager.h#newcode45 ui/aura/monitor_manager.h:45: // The device scale factor can be specifeid by ...
8 years, 7 months ago (2012-04-30 23:13:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/10255020/21032
8 years, 7 months ago (2012-05-01 03:32:46 UTC) #12
commit-bot: I haz the power
8 years, 7 months ago (2012-05-01 04:55:10 UTC) #13
Change committed as 134677

Powered by Google App Engine
This is Rietveld 408576698