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

Issue 9353010: Add FullscreenController::ToggleFullscreenModeWithExtension (Closed)

Created:
8 years, 10 months ago by hashimoto
Modified:
8 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, nkostylev+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), stevenjb+watch_chromium.org, davemoore+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Add FullscreenController::ToggleFullscreenModeWithExtension Add a new method Remove unused argument |for_tab|, it is only used inside fullscreen_controller.cc BUG=112782 TEST=build success Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122969

Patch Set 1 : _ #

Total comments: 2

Patch Set 2 : Move bubble type selection logic inside GetFullscreenExitBubbleType #

Patch Set 3 : Fix copyright, compile erorr. Moved browser.h/cc change to this patch set. #

Total comments: 2

Patch Set 4 : Rebased onto ToT, fixed tab fullscreen exit handling #

Patch Set 5 : Fix Mac build #

Total comments: 6

Patch Set 6 : Fix method defenition ordering, add comment #

Total comments: 5

Patch Set 7 : Remember the extension which caused fullscreen by URL instead of pointer #

Total comments: 2

Patch Set 8 : Small style fix #

Total comments: 4

Patch Set 9 : Style and comment fix #

Patch Set 10 : Rebased onto ToT #

Patch Set 11 : Show "An extension triggered full screen." when the extension's name is not available. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -115 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker_browsertest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/media/media_player.cc View 1 2 3 4 5 6 7 8 7 chunks +14 lines, -23 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/fullscreen_controller.h View 1 2 3 4 5 6 7 8 4 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/ui/fullscreen_controller.cc View 1 2 3 4 5 6 7 8 9 8 chunks +83 lines, -55 lines 0 comments Download
M chrome/browser/ui/fullscreen_exit_bubble_type.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/fullscreen_exit_bubble_type.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +23 lines, -10 lines 0 comments Download
M chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/fullscreen_exit_bubble_views.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
hashimoto
This patch is separated from http://codereview.chromium.org/9328037/
8 years, 10 months ago (2012-02-07 11:39:44 UTC) #1
hashimoto
+koz
8 years, 10 months ago (2012-02-07 11:40:54 UTC) #2
scheib
http://codereview.chromium.org/9353010/diff/31/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/31/chrome/browser/ui/fullscreen_controller.cc#newcode204 chrome/browser/ui/fullscreen_controller.cc:204: GetFullscreenExitBubbleType(); Can this logic be kept inside GetFullscreenExitBubbleType()?
8 years, 10 months ago (2012-02-07 18:55:09 UTC) #3
koz (OOO until 15th September)
lgtm
8 years, 10 months ago (2012-02-08 00:06:22 UTC) #4
hashimoto
http://codereview.chromium.org/9353010/diff/31/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/31/chrome/browser/ui/fullscreen_controller.cc#newcode204 chrome/browser/ui/fullscreen_controller.cc:204: GetFullscreenExitBubbleType(); On 2012/02/07 18:55:10, scheib wrote: > Can this ...
8 years, 10 months ago (2012-02-08 02:43:18 UTC) #5
scheib
lgtm
8 years, 10 months ago (2012-02-08 03:44:11 UTC) #6
hashimoto
Ben, could you review this change as an OWNER of browser/ui/ ? Evan, could you ...
8 years, 10 months ago (2012-02-08 03:57:46 UTC) #7
yzshen1
http://codereview.chromium.org/9353010/diff/6003/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/6003/chrome/browser/ui/fullscreen_controller.cc#newcode116 chrome/browser/ui/fullscreen_controller.cc:116: ToggleFullscreenModeInternal(true, NULL); I think the following scenario doesn't work ...
8 years, 10 months ago (2012-02-08 18:05:26 UTC) #8
hashimoto
http://codereview.chromium.org/9353010/diff/6003/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/6003/chrome/browser/ui/fullscreen_controller.cc#newcode116 chrome/browser/ui/fullscreen_controller.cc:116: ToggleFullscreenModeInternal(true, NULL); On 2012/02/08 18:05:27, yzshen1 wrote: > I ...
8 years, 10 months ago (2012-02-09 09:10:17 UTC) #9
scheib
lgtm
8 years, 10 months ago (2012-02-09 18:05:28 UTC) #10
Ben Goodger (Google)
http://codereview.chromium.org/9353010/diff/16005/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/9353010/diff/16005/chrome/browser/ui/browser.h#newcode540 chrome/browser/ui/browser.h:540: void ToggleFullscreenModeWithExtension(const Extension& extension); Add a comment here that ...
8 years, 10 months ago (2012-02-09 19:32:49 UTC) #11
hashimoto
http://codereview.chromium.org/9353010/diff/16005/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/9353010/diff/16005/chrome/browser/ui/browser.h#newcode540 chrome/browser/ui/browser.h:540: void ToggleFullscreenModeWithExtension(const Extension& extension); On 2012/02/09 19:32:49, Ben Goodger ...
8 years, 10 months ago (2012-02-10 05:09:32 UTC) #12
yzshen1
Mostly looks good. Thanks! http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc#newcode161 chrome/browser/ui/fullscreen_controller.cc:161: extension_caused_fullscreen_ = &extension; [nit, optional] ...
8 years, 10 months ago (2012-02-10 21:24:49 UTC) #13
hashimoto
http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc#newcode161 chrome/browser/ui/fullscreen_controller.cc:161: extension_caused_fullscreen_ = &extension; On 2012/02/10 21:24:49, yzshen1 wrote: > ...
8 years, 10 months ago (2012-02-13 07:43:44 UTC) #14
yzshen1
lgtm http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc File chrome/browser/ui/fullscreen_controller.cc (right): http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc#newcode291 chrome/browser/ui/fullscreen_controller.cc:291: url = extension_caused_fullscreen_->url(); On 2012/02/13 07:43:44, hashimoto wrote: ...
8 years, 10 months ago (2012-02-13 18:38:48 UTC) #15
Evan Stade
i'm guessing you only want me to review the gtk change. That lgtm http://codereview.chromium.org/9353010/diff/30001/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc File ...
8 years, 10 months ago (2012-02-13 20:08:00 UTC) #16
hashimoto
Ben, can I have your OWNER LGTM for browser/ui? http://codereview.chromium.org/9353010/diff/30001/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc File chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc (right): http://codereview.chromium.org/9353010/diff/30001/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc#newcode62 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc:62: ...
8 years, 10 months ago (2012-02-14 00:59:55 UTC) #17
hashimoto
On 2012/02/13 18:38:48, yzshen1 wrote: > lgtm > > http://codereview.chromium.org/9353010/diff/15024/chrome/browser/ui/fullscreen_controller.cc > File chrome/browser/ui/fullscreen_controller.cc (right): > ...
8 years, 10 months ago (2012-02-14 01:04:36 UTC) #18
yzshen1
LGTM > GetLabelTextForType in fullscreen_exit_bubble_type.cc uses the extension's name > as |host|, but when it ...
8 years, 10 months ago (2012-02-14 01:09:48 UTC) #19
Ben Goodger (Google)
Can you please email me a screenshot of what the full screen exit bubble looks ...
8 years, 10 months ago (2012-02-14 19:01:15 UTC) #20
scheib
Please update http://www.chromium.org/developers/design-documents/mouse-lock which lists the permutations of strings displayed.
8 years, 10 months ago (2012-02-14 19:08:13 UTC) #21
hashimoto
On Wed, Feb 15, 2012 at 4:01 AM, <ben@chromium.org> wrote: > Can you please email ...
8 years, 10 months ago (2012-02-15 00:30:01 UTC) #22
hashimoto
http://codereview.chromium.org/9353010/diff/35002/chrome/browser/chromeos/media/media_player.cc File chrome/browser/chromeos/media/media_player.cc (right): http://codereview.chromium.org/9353010/diff/35002/chrome/browser/chromeos/media/media_player.cc#newcode179 chrome/browser/chromeos/media/media_player.cc:179: if (mediaplayer_browser_) { On 2012/02/14 19:01:16, Ben Goodger (Google) ...
8 years, 10 months ago (2012-02-15 01:40:42 UTC) #23
hashimoto
On 2012/02/14 19:08:13, scheib wrote: > Please update http://www.chromium.org/developers/design-documents/mouse-lock > which lists the permutations of ...
8 years, 10 months ago (2012-02-15 01:42:24 UTC) #24
hashimoto
thakis, Can I have your OWNER LGTM about tiny change on chrome/browser/ui/cocoa/browser_window_cocoa.mm?
8 years, 10 months ago (2012-02-15 01:46:49 UTC) #25
Nico
cocoa lgtm stamp
8 years, 10 months ago (2012-02-15 01:47:58 UTC) #26
scheib
On 2012/02/15 01:42:24, hashimoto wrote: > On 2012/02/14 19:08:13, scheib wrote: > > Please update ...
8 years, 10 months ago (2012-02-15 05:29:29 UTC) #27
hashimoto
On 2012/02/15 05:29:29, scheib wrote: > On 2012/02/15 01:42:24, hashimoto wrote: > > On 2012/02/14 ...
8 years, 10 months ago (2012-02-15 10:41:10 UTC) #28
Ben Goodger (Google)
Can you show something more useful than the extension id? jklsdfjklsdfjklsdfjklsdfjklsdfjklsdfjklsdf triggered fullscreen is a ...
8 years, 10 months ago (2012-02-15 22:19:40 UTC) #29
hashimoto
Extension IDs are shown only when 1. An extension triggers fullscreen. 2. User uninstalls the ...
8 years, 10 months ago (2012-02-15 23:08:55 UTC) #30
Ben Goodger (Google)
I want to repeat, you are showing this: sdfjkljkljklfjklsdfjklsdfsdfjkl triggered full screen. This is never ...
8 years, 10 months ago (2012-02-15 23:11:59 UTC) #31
hashimoto
New patch set, PTAL. Cryptic extension ID is no longer shown.
8 years, 10 months ago (2012-02-20 09:27:30 UTC) #32
scheib
On 2012/02/20 09:27:30, hashimoto wrote: > New patch set, PTAL. > Cryptic extension ID is ...
8 years, 10 months ago (2012-02-20 23:47:17 UTC) #33
hashimoto
On 2012/02/20 23:47:17, scheib wrote: > On 2012/02/20 09:27:30, hashimoto wrote: > > New patch ...
8 years, 10 months ago (2012-02-21 02:24:49 UTC) #34
Ben Goodger (Google)
What do you show now? -Ben On Mon, Feb 20, 2012 at 6:24 PM, <hashimoto@chromium.org> ...
8 years, 10 months ago (2012-02-21 15:36:11 UTC) #35
Evan Stade
On 2012/02/21 15:36:11, Ben Goodger (Google) wrote: > What do you show now? "An extension ...
8 years, 10 months ago (2012-02-21 22:00:06 UTC) #36
Ben Goodger (Google)
lgtm
8 years, 10 months ago (2012-02-21 22:40:58 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/9353010/55003
8 years, 10 months ago (2012-02-22 02:19:40 UTC) #38
commit-bot: I haz the power
8 years, 10 months ago (2012-02-22 04:46:19 UTC) #39
Change committed as 122969

Powered by Google App Engine
This is Rietveld 408576698