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

Side by Side Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h

Issue 9773009: Disable left/right/maximize for panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Window controls. 84 // Window controls.
85 views::ImageButton* maximize_button_; 85 views::ImageButton* maximize_button_;
86 views::ImageButton* close_button_; 86 views::ImageButton* close_button_;
87 87
88 // For popups, the window icon. 88 // For popups, the window icon.
89 TabIconView* window_icon_; 89 TabIconView* window_icon_;
90 90
91 // Painter for the frame header. 91 // Painter for the frame header.
92 scoped_ptr<ash::FramePainter> frame_painter_; 92 scoped_ptr<ash::FramePainter> frame_painter_;
93 93
94 // Set to false for Panels where maximize is undesired. (maximize button is
95 // still used for minimizing).
96 bool allow_maximize_;
97
94 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAura); 98 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAura);
95 }; 99 };
96 100
97 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_ 101 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/frame_maximize_button.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698