summaryrefslogtreecommitdiffstats
path: root/ash/wm/frame_painter.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-05 04:53:07 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-05 04:53:07 +0000
commit4aa6fdf973916ef173012c612f0c8da288f9fc6b (patch)
tree0d2799e82e86a492a8ebe83d6dcc32bdbcc9b31e /ash/wm/frame_painter.cc
parent63ae8b661e04535dc9749bdbc15c5af77cc1e6d3 (diff)
downloadchromium_src-4aa6fdf973916ef173012c612f0c8da288f9fc6b.zip
chromium_src-4aa6fdf973916ef173012c612f0c8da288f9fc6b.tar.gz
chromium_src-4aa6fdf973916ef173012c612f0c8da288f9fc6b.tar.bz2
Immersive fullscreen polish
1. Change loading indicator color to blue 2. Slow down the initial slide-out 3. Always paint the caption area black, like maximized 4. Clicks in the top pixel of the screen switch tabs 5. Fix a crash due to tooltip position lookup during view reparenting BUG=180022 TEST=manual, existing unit_tests and browser_tests Review URL: https://codereview.chromium.org/12393062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/frame_painter.cc')
-rw-r--r--ash/wm/frame_painter.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index 6817a75..b75be06 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -425,7 +425,9 @@ void FramePainter::PaintHeader(views::NonClientFrameView* view,
// TODO(sky): this isn't quite right. What we really want is a method that
// returns bounds ignoring transforms on certain windows (such as workspaces)
// and is relative to the root.
- if (frame_->GetNativeWindow()->bounds().y() == 0 || frame_->IsMaximized())
+ if (frame_->GetNativeWindow()->bounds().y() == 0 ||
+ frame_->IsMaximized() ||
+ frame_->IsFullscreen())
return;
// Draw the top corners and edge.