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

Issue 8595017: aura: Popup windows too large to fit into the screen (or too small) gets opened in a tab instead. (Closed)

Created:
9 years, 1 month ago by sadrul
Modified:
9 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

aura: Popup windows too large to fit into the screen (or too small) gets opened in a tab instead. ChromeOS with aura uses the normal BrowserView, and not chromeos::BrowserView, so it is necessary to dup this logic in here. BUG=103484 TEST=browser_tests:BrowserNavigatorTest.Disposition_LargePopup* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110755

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sadrul
9 years, 1 month ago (2011-11-18 20:00:55 UTC) #1
sky
http://codereview.chromium.org/8595017/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): http://codereview.chromium.org/8595017/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode1300 chrome/browser/ui/views/frame/browser_view.cc:1300: gfx::Size size = aura::Desktop::GetInstance()->GetHostSize(); Use screen instead. Where was ...
9 years, 1 month ago (2011-11-18 20:21:05 UTC) #2
sky
One more question. This seems like weird behavior (forcing a popup to be a tab). ...
9 years, 1 month ago (2011-11-18 20:24:05 UTC) #3
sadrul
On 2011/11/18 20:24:05, sky wrote: > One more question. This seems like weird behavior (forcing ...
9 years, 1 month ago (2011-11-18 20:25:23 UTC) #4
sadrul
http://codereview.chromium.org/8595017/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): http://codereview.chromium.org/8595017/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode1300 chrome/browser/ui/views/frame/browser_view.cc:1300: gfx::Size size = aura::Desktop::GetInstance()->GetHostSize(); On 2011/11/18 20:21:05, sky wrote: ...
9 years, 1 month ago (2011-11-18 20:29:24 UTC) #5
sadrul
On 2011/11/18 20:25:23, sadrul wrote: > On 2011/11/18 20:24:05, sky wrote: > > One more ...
9 years, 1 month ago (2011-11-18 20:36:33 UTC) #6
sky
9 years, 1 month ago (2011-11-18 21:02:18 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698