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

Unified Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc

Issue 10823025: Adding new maximize menu according to spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: git try Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc
diff --git a/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc b/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc
index b63c634a54b5ffe030047caddc821e6f6c784a43..61bebd905c94b2da05395a2aafd74412b8018d2d 100644
--- a/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc
+++ b/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc
@@ -69,9 +69,6 @@ class AppNonClientFrameViewAura::ControlView
IDR_AURA_WINDOW_HEADER_BASE_INCOGNITO_ACTIVE :
IDR_AURA_WINDOW_HEADER_BASE_ACTIVE;
control_base_ = rb.GetImageNamed(control_base_resource_id).ToImageSkia();
-
- separator_ =
- rb.GetImageNamed(IDR_AURA_WINDOW_FULLSCREEN_SEPARATOR).ToImageSkia();
shadow_ = rb.GetImageNamed(IDR_AURA_WINDOW_FULLSCREEN_SHADOW).ToImageSkia();
AddChildView(close_button_);
@@ -117,9 +114,6 @@ class AppNonClientFrameViewAura::ControlView
views::View::OnPaint(canvas);
- // Separator overlaps the left edge of the close button.
- canvas->DrawImageInt(*separator_,
- close_button_->x(), 0);
canvas->DrawImageInt(*shadow_, 0, kShadowHeightStretch);
}
@@ -151,7 +145,6 @@ class AppNonClientFrameViewAura::ControlView
views::ImageButton* close_button_;
views::ImageButton* restore_button_;
const gfx::ImageSkia* control_base_;
- const gfx::ImageSkia* separator_;
const gfx::ImageSkia* shadow_;
DISALLOW_COPY_AND_ASSIGN(ControlView);
« no previous file with comments | « ash/wm/workspace/snap_types.h ('k') | ui/resources/default_100_percent/aura/window_fullscreen_close_hover.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698