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

Issue 11066130: Fix for out-of-sync scale factor issue (Closed)

Created:
8 years, 2 months ago by oshima
Modified:
8 years, 2 months ago
Reviewers:
sky, piman
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

3rd try: Fix for out-of-sync scale factor issue - Set active root window early when creating browsers on startup. - Send screen info when device scale factor chagned. - gfx::Screen::GetDisplayNearestWindow should return Primary when the window's root doesn't exist. I missed this condition in https://chromiumcodereview.appspot.com/10961021 BUG=155201, 152728 TEST=manual: see bug for repro steps Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161758 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162691 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163105

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : updated comment #

Total comments: 2

Patch Set 4 : remove change I included by mistake #

Patch Set 5 : rebase #

Patch Set 6 : USE_AURA #

Patch Set 7 : use API that exists on 23 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M ash/display/multi_display_manager.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
oshima
piman -> render_widget_host_impl.cc sky -> everything else
8 years, 2 months ago (2012-10-12 01:02:03 UTC) #1
sky
http://codereview.chromium.org/11066130/diff/14001/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): http://codereview.chromium.org/11066130/diff/14001/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode815 chrome/browser/ui/startup/startup_browser_creator_impl.cc:815: ash::Shell::GetInstance()->set_active_root_window( I don't understand why this is necessary. Why ...
8 years, 2 months ago (2012-10-12 14:31:40 UTC) #2
piman
LGTM when Scott's concerns are addressed.
8 years, 2 months ago (2012-10-12 16:02:08 UTC) #3
oshima
http://codereview.chromium.org/11066130/diff/14001/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): http://codereview.chromium.org/11066130/diff/14001/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode815 chrome/browser/ui/startup/startup_browser_creator_impl.cc:815: ash::Shell::GetInstance()->set_active_root_window( On 2012/10/12 14:31:40, sky wrote: > I don't ...
8 years, 2 months ago (2012-10-12 16:04:46 UTC) #4
oshima
Uploaded new patch. PTAL.
8 years, 2 months ago (2012-10-12 17:11:27 UTC) #5
piman
http://codereview.chromium.org/11066130/diff/10005/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): http://codereview.chromium.org/11066130/diff/10005/content/browser/web_contents/web_contents_view_aura.cc#newcode294 content/browser/web_contents/web_contents_view_aura.cc:294: LOG(ERROR) << "CreateView:"; Did you mean to leave this ...
8 years, 2 months ago (2012-10-12 17:12:56 UTC) #6
oshima
http://codereview.chromium.org/11066130/diff/10005/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): http://codereview.chromium.org/11066130/diff/10005/content/browser/web_contents/web_contents_view_aura.cc#newcode294 content/browser/web_contents/web_contents_view_aura.cc:294: LOG(ERROR) << "CreateView:"; On 2012/10/12 17:12:56, piman wrote: > ...
8 years, 2 months ago (2012-10-12 17:44:53 UTC) #7
piman
lgtm
8 years, 2 months ago (2012-10-12 17:47:00 UTC) #8
sky
As long as this is temporary, LGTM
8 years, 2 months ago (2012-10-12 17:50:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11066130/4008
8 years, 2 months ago (2012-10-12 18:21:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11066130/21001
8 years, 2 months ago (2012-10-13 09:22:14 UTC) #11
commit-bot: I haz the power
Change committed as 161758
8 years, 2 months ago (2012-10-13 11:12:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11066130/33001
8 years, 2 months ago (2012-10-18 09:38:24 UTC) #13
commit-bot: I haz the power
Change committed as 162691
8 years, 2 months ago (2012-10-18 11:25:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11066130/42001
8 years, 2 months ago (2012-10-19 21:38:04 UTC) #15
commit-bot: I haz the power
8 years, 2 months ago (2012-10-20 00:28:12 UTC) #16
Change committed as 163105

Powered by Google App Engine
This is Rietveld 408576698