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

Issue 11299119: Fix html select tag on 2nd display. (Closed)

Created:
8 years, 1 month ago by oshima
Modified:
8 years, 1 month ago
Reviewers:
jam, sky
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Fix html select tag on 2nd display. - Translate the bounds_in_screen in InitAsPopup to parent coordinates. - Don't remove observer if the browser window has been reparented. This can happen when a browser is moved to different display. I also moved Add/RemoveObserver to the WebContentsView's ctor/dtor to make it easy to follow which windows it is observing. There is still one issue where this doesn't work IF the web content view's parent isn't toplevel window. Only case I know of is constrained html dialog, which doesn't have html select tag, so I'll leave it for now. I'll address it when necessary. BUG=161509 TEST=manual. see bug for repro step. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169204

Patch Set 1 #

Patch Set 2 : remove comment #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -17 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 3 chunks +10 lines, -12 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 5 chunks +9 lines, -5 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
oshima
8 years, 1 month ago (2012-11-20 23:16:07 UTC) #1
oshima
https://codereview.chromium.org/11299119/diff/3001/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (left): https://codereview.chromium.org/11299119/diff/3001/content/browser/web_contents/web_contents_view_aura.cc#oldcode281 content/browser/web_contents/web_contents_view_aura.cc:281: // This is for the Ash case. This is ...
8 years, 1 month ago (2012-11-20 23:21:03 UTC) #2
jam
redirecting to sky, he knows this stuff much better than me +1 to ignoring constrained ...
8 years, 1 month ago (2012-11-21 19:21:02 UTC) #3
oshima
On 2012/11/21 19:21:02, John Abd-El-Malek wrote: > redirecting to sky, he knows this stuff much ...
8 years, 1 month ago (2012-11-21 19:29:55 UTC) #4
sky
LGTM
8 years, 1 month ago (2012-11-21 22:42:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11299119/3001
8 years, 1 month ago (2012-11-22 00:24:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11299119/3001
8 years, 1 month ago (2012-11-22 00:24:31 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-11-22 01:12:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11299119/3001
8 years, 1 month ago (2012-11-22 01:13:49 UTC) #9
commit-bot: I haz the power
8 years, 1 month ago (2012-11-22 03:19:45 UTC) #10
Change committed as 169204

Powered by Google App Engine
This is Rietveld 408576698