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

Issue 7549005: Abstract fullscreen exit bubble logic to bring Linux's behaviour in line with (Closed)

Created:
9 years, 4 months ago by jeremya
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Base URL:
/usr/local/google/chromium2/src@trunk
Visibility:
Public.

Description

Abstract fullscreen exit bubble logic to bring Linux's behaviour in line with Windows. BUG=30743 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96568

Patch Set 1 #

Total comments: 31

Patch Set 2 : Address review comments #

Total comments: 6

Patch Set 3 : Fix nits #

Patch Set 4 : Fix crash on exit #

Total comments: 3

Patch Set 5 : Fix another crash-on-exit. #

Total comments: 1

Patch Set 6 : Fix nits. #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase attempt #2. #

Patch Set 9 : Rebase attempt #3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -561 lines) Patch
A + chrome/browser/ui/fullscreen_exit_bubble.h View 1 2 3 chunks +30 lines, -47 lines 0 comments Download
A chrome/browser/ui/fullscreen_exit_bubble.cc View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h View 1 2 3 3 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc View 1 2 3 4 5 4 chunks +62 lines, -30 lines 0 comments Download
M chrome/browser/ui/gtk/slide_animator_gtk.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/ui/views/fullscreen_exit_bubble.h View 1 chunk +0 lines, -109 lines 0 comments Download
D chrome/browser/ui/views/fullscreen_exit_bubble.cc View 1 chunk +0 lines, -261 lines 0 comments Download
A chrome/browser/ui/views/fullscreen_exit_bubble_views.h View 1 1 chunk +64 lines, -0 lines 0 comments Download
A + chrome/browser/ui/views/fullscreen_exit_bubble_views.cc View 1 9 chunks +47 lines, -95 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jeremya
Hi Tony, I've built & tested this on win & lin, and there shouldn't be ...
9 years, 4 months ago (2011-08-02 05:41:38 UTC) #1
tony
Looks ok overall, mostly style nits. Can you find/borrow a second monitor to test as ...
9 years, 4 months ago (2011-08-02 17:04:25 UTC) #2
jeremya
http://codereview.chromium.org/7549005/diff/1/chrome/browser/ui/fullscreen_exit_bubble.cc File chrome/browser/ui/fullscreen_exit_bubble.cc (right): http://codereview.chromium.org/7549005/diff/1/chrome/browser/ui/fullscreen_exit_bubble.cc#newcode6 chrome/browser/ui/fullscreen_exit_bubble.cc:6: #include "ui/gfx/rect.h" On 2011/08/02 17:04:25, tony wrote: > Blank ...
9 years, 4 months ago (2011-08-03 07:32:29 UTC) #3
tony
LGTM with the following comments addressed. Also, can you verify that quitting while the animation ...
9 years, 4 months ago (2011-08-03 17:33:14 UTC) #4
tony
Also, I'm not a huge fan of the polling every 100ms in general. Another way ...
9 years, 4 months ago (2011-08-03 17:53:21 UTC) #5
jeremya
It does crash... though I'm not sure why. Here's the stack trace: [20131:20131:4126999948749:FATAL:browser_main.cc(1026)] Gtk: gtk_widget_size_request: ...
9 years, 4 months ago (2011-08-04 05:09:51 UTC) #6
Peter Kasting
On 2011/08/03 17:53:21, tony wrote: > Also, I'm not a huge fan of the polling ...
9 years, 4 months ago (2011-08-04 18:28:38 UTC) #7
tony
On 2011/08/04 05:09:51, jeremya wrote: > It does crash... though I'm not sure why. I ...
9 years, 4 months ago (2011-08-04 18:37:55 UTC) #8
tony
On 2011/08/04 18:28:38, Peter Kasting wrote: > On 2011/08/03 17:53:21, tony wrote: > > Also, ...
9 years, 4 months ago (2011-08-04 18:42:18 UTC) #9
Peter Kasting
On 2011/08/04 18:42:18, tony wrote: > On 2011/08/04 18:28:38, Peter Kasting wrote: > > On ...
9 years, 4 months ago (2011-08-04 18:47:23 UTC) #10
tony
Oops, committed a change with the wrong description. Forgot that git cl patch overwrites my ...
9 years, 4 months ago (2011-08-04 20:41:08 UTC) #11
jeremya
http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/slide_animator_gtk.cc File chrome/browser/ui/gtk/slide_animator_gtk.cc (right): http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/slide_animator_gtk.cc#newcode122 chrome/browser/ui/gtk/slide_animator_gtk.cc:122: if (widget_.get()->parent) { This seems to stop the other ...
9 years, 4 months ago (2011-08-05 03:08:56 UTC) #12
tony
On 2011/08/05 03:08:56, jeremya wrote: > http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/slide_animator_gtk.cc > File chrome/browser/ui/gtk/slide_animator_gtk.cc (right): > > http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/slide_animator_gtk.cc#newcode122 > ...
9 years, 4 months ago (2011-08-05 18:03:54 UTC) #13
tony
http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc File chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc (right): http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc#newcode99 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc:99: GtkWindow* window = GTK_WINDOW( Nit: I had to check ...
9 years, 4 months ago (2011-08-05 18:23:08 UTC) #14
jeremya
http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc File chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc (right): http://codereview.chromium.org/7549005/diff/6002/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc#newcode99 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc:99: GtkWindow* window = GTK_WINDOW( On 2011/08/05 18:23:08, tony wrote: ...
9 years, 4 months ago (2011-08-08 00:15:39 UTC) #15
tony
LGTM with the following fixed. http://codereview.chromium.org/7549005/diff/24001/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc File chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc (right): http://codereview.chromium.org/7549005/diff/24001/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc#newcode99 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc:99: if (!widget()->parent) return false; ...
9 years, 4 months ago (2011-08-08 16:19:32 UTC) #16
tony
9 years, 4 months ago (2011-08-12 17:00:53 UTC) #17
committed as r96568

Powered by Google App Engine
This is Rietveld 408576698