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

Issue 16998006: Add handling for immersive fullscreen to the zoom bubble (Closed)

Created:
7 years, 6 months ago by pkotwicz
Modified:
7 years, 6 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

This CL - Anchors the zoom bubble to the magnifying glass when the zoom bubble is visible and the top-of-window view are revealed in immersive fullscreen. The top-of-window views stay revealed as long as the zoom bubble is visible. - Positions the zoom bubble in the top right when in immersive fullscreen and the top-of-window views are not already revealed. For the sake of simplicity the zoom bubble is closed if the user reveals the top-of-window views. BUG=181062 TEST=Manual, see bug Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208008

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Nits as per sky@ #

Patch Set 7 : Disable unittest on Linux Aura #

Patch Set 8 : Exit fullscreen before exiting test to make test nonflaky #

Patch Set 9 : Fix ZoomBubbleBrowserTest.NonImmersiveFullscreen #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -25 lines) Patch
M chrome/browser/ui/views/frame/immersive_mode_controller.h View 1 2 3 4 5 4 chunks +24 lines, -1 line 0 comments Download
A chrome/browser/ui/views/frame/immersive_mode_controller.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 1 2 3 4 5 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.h View 1 2 3 4 5 chunks +25 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_bubble_view.cc View 1 2 3 4 4 chunks +48 lines, -13 lines 0 comments Download
A chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
pkotwicz
James, PTAL
7 years, 6 months ago (2013-06-15 23:32:58 UTC) #1
James Cook
How hard would it be to write some kind of test for this? https://codereview.chromium.org/16998006/diff/6001/chrome/browser/ui/views/frame/immersive_mode_controller.h File ...
7 years, 6 months ago (2013-06-17 16:13:41 UTC) #2
pkotwicz
James, can you please take another look?
7 years, 6 months ago (2013-06-18 05:49:48 UTC) #3
pkotwicz
I was really tempted to just go with a notification. I made ImmersiveModeController non-virtual so ...
7 years, 6 months ago (2013-06-18 13:57:04 UTC) #4
James Cook
LGTM with a couple optional comments https://codereview.chromium.org/16998006/diff/20001/chrome/browser/ui/views/frame/immersive_mode_controller.cc File chrome/browser/ui/views/frame/immersive_mode_controller.cc (right): https://codereview.chromium.org/16998006/diff/20001/chrome/browser/ui/views/frame/immersive_mode_controller.cc#newcode11 chrome/browser/ui/views/frame/immersive_mode_controller.cc:11: FOR_EACH_OBSERVER(Observer, observers_, OnImmersiveModeControllerDestroyed()); ...
7 years, 6 months ago (2013-06-18 17:03:38 UTC) #5
pkotwicz
Scott, can you please take a look at the changes in chrome/browser/ui/views/location_bar? https://codereview.chromium.org/16998006/diff/20001/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc File chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc ...
7 years, 6 months ago (2013-06-18 23:25:46 UTC) #6
pkotwicz
Scott, can you please take a look?
7 years, 6 months ago (2013-06-19 02:18:53 UTC) #7
pkotwicz
In particular, can you review the changes in chrome/browser/ui/views/location_bar?
7 years, 6 months ago (2013-06-19 02:19:31 UTC) #8
sky
LGTM https://codereview.chromium.org/16998006/diff/34001/chrome/browser/ui/views/frame/immersive_mode_controller.h File chrome/browser/ui/views/frame/immersive_mode_controller.h (right): https://codereview.chromium.org/16998006/diff/34001/chrome/browser/ui/views/frame/immersive_mode_controller.h#newcode45 chrome/browser/ui/views/frame/immersive_mode_controller.h:45: virtual ~Observer() {} Make this protected. https://codereview.chromium.org/16998006/diff/34001/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc File ...
7 years, 6 months ago (2013-06-19 13:32:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/44001
7 years, 6 months ago (2013-06-21 03:03:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/59001
7 years, 6 months ago (2013-06-21 04:13:31 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=128548
7 years, 6 months ago (2013-06-21 06:44:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/74001
7 years, 6 months ago (2013-06-21 14:47:05 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=128775
7 years, 6 months ago (2013-06-21 17:37:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/86001
7 years, 6 months ago (2013-06-21 19:46:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/86001
7 years, 6 months ago (2013-06-22 02:34:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/86001
7 years, 6 months ago (2013-06-22 03:02:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/86001
7 years, 6 months ago (2013-06-22 03:31:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/16998006/86001
7 years, 6 months ago (2013-06-22 03:40:52 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 06:55:33 UTC) #20
Message was sent while issue was closed.
Change committed as 208008

Powered by Google App Engine
This is Rietveld 408576698