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

Issue 13684002: cros: Instant extended support for immersive fullscreen (Closed)

Created:
7 years, 8 months ago by James Cook
Modified:
7 years, 8 months ago
Reviewers:
kuan
CC:
chromium-reviews, tfarina, Greg Spencer (Chromium)
Visibility:
Public.

Description

cros: Instant extended support for immersive fullscreen In immersive fullscreen the "top container" holding the tabstrip and toolbar can slide down over the web content. Instant extended shows suggestions in an overlay web view, this must be adjusted to match the omnibox position when the top container is revealed. Instant extended also shows a suggestion+result page in the active web view, which must also be adjusted to align with the omnibox. BUG=169414 TEST=Added to interactive_ui_tests BrowserViewTest and also manual. On Chrome OS, enable the flags for instant extended and immersive fullscreen. Open a normal tab and one to the NTP. Test omnibox suggestions in both tabs, ensure they align with the omnibox. Hit F4 to go into fullscreen, do the same tests. Select "Show Bookmark Bar" and repeat both sets of tests. TBR=sreeram@chromium.org for instant_extended.html changes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194694

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : fix includes #

Patch Set 4 : method ordering #

Total comments: 5

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : seems to work #

Patch Set 7 : works now #

Total comments: 8

Patch Set 8 : rebase again #

Total comments: 2

Patch Set 9 : kuan's suggestion, cleanup #

Patch Set 10 : added one test for immersive instant extended #

Total comments: 4

Patch Set 11 : review comments #

Patch Set 12 : test for NTP suggestions #

Patch Set 13 : rename browser_view_browsertest.cc #

Patch Set 14 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+463 lines, -160 lines) Patch
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -97 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +280 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +36 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 3 4 5 6 7 8 9 6 chunks +85 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 1 2 3 4 5 6 7 8 9 3 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download
M chrome/test/data/instant_extended.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
James Cook
kuan, PTAL. I pair-programmed this with gspencer, so I'm pretty sure the modifications I made ...
7 years, 8 months ago (2013-04-05 02:05:05 UTC) #1
James Cook
On 2013/04/05 02:05:05, James Cook (Chromium) wrote: > kuan, PTAL. I pair-programmed this with gspencer, ...
7 years, 8 months ago (2013-04-05 02:05:33 UTC) #2
kuan
if u don't mind, i'll get to this once i resolve my stable blocker crash, ...
7 years, 8 months ago (2013-04-05 16:49:22 UTC) #3
kuan
i applied your local patch and verified a few 1993-only scenarios; i've also debugged what ...
7 years, 8 months ago (2013-04-08 15:56:30 UTC) #4
kuan
https://codereview.chromium.org/13684002/diff/7001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/13684002/diff/7001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode513 chrome/browser/ui/views/frame/browser_view_layout.cc:513: contents_split_->SetBoundsRect(contents_split_bounds); On 2013/04/08 15:56:30, kuan wrote: > if SetBoundsRect ...
7 years, 8 months ago (2013-04-08 16:05:33 UTC) #5
kuan
https://codereview.chromium.org/13684002/diff/17001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/13684002/diff/17001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode582 chrome/browser/ui/views/frame/browser_view_layout.cc:582: if (!browser()->search_model()->mode().is_search_suggestions()) heads up: this has changed in r192680 ...
7 years, 8 months ago (2013-04-08 23:28:11 UTC) #6
kuan
i've run through the scenarios where immersive and 1993 co-exist; they seem fine, except for ...
7 years, 8 months ago (2013-04-09 13:33:20 UTC) #7
James Cook
kuan, please take another look I'm working on tests now, but I'd like to get ...
7 years, 8 months ago (2013-04-12 21:06:56 UTC) #8
kuan
i've run your patch through 1993-only and 1993+immersive scenarios. the scenario with bookmark and info ...
7 years, 8 months ago (2013-04-15 18:49:35 UTC) #9
kuan
video w/ broken scenario is at: https://docs.google.com/a/google.com/file/d/0BxVj4w-Jk9vJUkZEa25WcUVRSEk/edit?usp=sharing
7 years, 8 months ago (2013-04-15 18:53:55 UTC) #10
kuan
i may have figured out what's wrong. pls try it out. in the meantime, i'll ...
7 years, 8 months ago (2013-04-16 14:27:16 UTC) #11
kuan
On 2013/04/16 14:27:16, kuan wrote: > i may have figured out what's wrong. pls try ...
7 years, 8 months ago (2013-04-16 14:49:08 UTC) #12
James Cook
kuan, PTAL. This has the implementation you suggested this morning, and cleanup from the previous ...
7 years, 8 months ago (2013-04-16 18:51:00 UTC) #13
James Cook
Updated - I added one test for layout with immersive fullscreen + instant extended. I ...
7 years, 8 months ago (2013-04-16 23:30:11 UTC) #14
kuan
i've tested ur patch #10 with multiple 1993-only and 1993+immersive scenarios; they seem fine. i ...
7 years, 8 months ago (2013-04-17 13:30:26 UTC) #15
James Cook
Comments addressed, Windows compile fixed, please take another look. https://codereview.chromium.org/13684002/diff/56001/chrome/browser/ui/views/frame/browser_view_layout.h File chrome/browser/ui/views/frame/browser_view_layout.h (right): https://codereview.chromium.org/13684002/diff/56001/chrome/browser/ui/views/frame/browser_view_layout.h#newcode94 chrome/browser/ui/views/frame/browser_view_layout.h:94: ...
7 years, 8 months ago (2013-04-17 17:22:58 UTC) #16
kuan
lgtm.
7 years, 8 months ago (2013-04-17 17:26:24 UTC) #17
James Cook
7 years, 8 months ago (2013-04-17 21:47:44 UTC) #18
Message was sent while issue was closed.
Committed patchset #14 manually as r194694 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698