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

Issue 9706044: Ash: Extend tabs to top of window for maximized windows (Closed)

Created:
8 years, 9 months ago by James Cook
Modified:
8 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Ash: Extend tabs to top of window for maximized windows This makes them clickable when the cursor is at the edge of the screen. For maximized windows we suppress the resize area that extends 1 pixel inside the window bounds, as maximized windows can't be resized (at least for now). This allows double-clicking on the top edge of the screen to restore a maximized window and suppresses misleading resize cursors. BUG=117952 TEST=manual, maximize a window and try single and double-clicking along the top screen edge. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126943

Patch Set 1 #

Patch Set 2 : Just push tabs to top #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M ash/wm/frame_painter.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc View 1 2 chunks +4 lines, -3 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
James Cook
Dave, PTAL. This is a reimplementation of some code I think you wrote initially that ...
8 years, 9 months ago (2012-03-15 00:10:38 UTC) #1
Ben Goodger (Google)
So, for desktop Chrome we achieve this simply by laying out the tab at the ...
8 years, 9 months ago (2012-03-15 14:53:54 UTC) #2
James Cook
On 2012/03/15 14:53:54, Ben Goodger (Google) wrote: > So, for desktop Chrome we achieve this ...
8 years, 9 months ago (2012-03-15 15:49:00 UTC) #3
Ben Goodger (Google)
The left edge is something of a lost cause, especially once we have to consider ...
8 years, 9 months ago (2012-03-15 15:50:38 UTC) #4
DaveMoore
The original reason for the padding was that maximize was our *only* mode. We originally ...
8 years, 9 months ago (2012-03-15 16:42:56 UTC) #5
James Cook
OK, I'll make the tabs go to the top of the screen. Update coming shortly. ...
8 years, 9 months ago (2012-03-15 16:45:48 UTC) #6
James Cook
Ben, PTAL. -davemoore, since this patch is now simpler and doesn't depend on a re-implementation ...
8 years, 9 months ago (2012-03-15 17:31:11 UTC) #7
Ben Goodger (Google)
8 years, 9 months ago (2012-03-15 18:00:03 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698