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

Side by Side Diff: chrome/browser/ui/panels/panel.h

Issue 8664021: Update Panel UI looks on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_frame_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PANELS_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 24 matching lines...) Expand all
35 public: 35 public:
36 enum ExpansionState { 36 enum ExpansionState {
37 // The panel is fully expanded with both title-bar and the client-area. 37 // The panel is fully expanded with both title-bar and the client-area.
38 EXPANDED, 38 EXPANDED,
39 // The panel is shown with the title-bar only. 39 // The panel is shown with the title-bar only.
40 TITLE_ONLY, 40 TITLE_ONLY,
41 // The panel is shown with 3-pixel line. 41 // The panel is shown with 3-pixel line.
42 MINIMIZED 42 MINIMIZED
43 }; 43 };
44 44
45 // The panel can be minimized to 3-pixel lines. 45 // The panel can be minimized to 4-pixel lines.
46 static const int kMinimizedPanelHeight = 3; 46 static const int kMinimizedPanelHeight = 4;
47 47
48 virtual ~Panel(); 48 virtual ~Panel();
49 49
50 // Returns the PanelManager associated with this panel. 50 // Returns the PanelManager associated with this panel.
51 PanelManager* manager() const; 51 PanelManager* manager() const;
52 52
53 // Gets the extension that a panel is created from. 53 // Gets the extension that a panel is created from.
54 // Returns NULL if it cannot be found. 54 // Returns NULL if it cannot be found.
55 const Extension* GetExtension() const; 55 const Extension* GetExtension() const;
56 56
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 NativePanel* native_panel_; // Weak, owns us. 275 NativePanel* native_panel_; // Weak, owns us.
276 276
277 ExpansionState expansion_state_; 277 ExpansionState expansion_state_;
278 278
279 content::NotificationRegistrar registrar_; 279 content::NotificationRegistrar registrar_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(Panel); 281 DISALLOW_COPY_AND_ASSIGN(Panel);
282 }; 282 };
283 283
284 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 284 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698