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

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

Issue 7633034: Use Titlebar instead of TitleBar consistently in panels code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback. Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/panels/native_panel.h ('k') | chrome/browser/ui/panels/panel.cc » ('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 MINIMIZED 35 MINIMIZED
36 }; 36 };
37 37
38 virtual ~Panel(); 38 virtual ~Panel();
39 39
40 // Returns the PanelManager associated with this panel. 40 // Returns the PanelManager associated with this panel.
41 PanelManager* manager() const; 41 PanelManager* manager() const;
42 42
43 void SetExpansionState(ExpansionState new_expansion_state); 43 void SetExpansionState(ExpansionState new_expansion_state);
44 44
45 bool ShouldBringUpTitleBar(int mouse_x, int mouse_y) const; 45 bool ShouldBringUpTitlebar(int mouse_x, int mouse_y) const;
46 46
47 bool IsDrawingAttention() const; 47 bool IsDrawingAttention() const;
48 48
49 // BrowserWindow overrides. 49 // BrowserWindow overrides.
50 virtual void Show() OVERRIDE; 50 virtual void Show() OVERRIDE;
51 virtual void ShowInactive() OVERRIDE; 51 virtual void ShowInactive() OVERRIDE;
52 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 52 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
53 virtual void Close() OVERRIDE; 53 virtual void Close() OVERRIDE;
54 virtual void Activate() OVERRIDE; 54 virtual void Activate() OVERRIDE;
55 virtual void Deactivate() OVERRIDE; 55 virtual void Deactivate() OVERRIDE;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Platform specifc implementation for panels. It'd be one of 180 // Platform specifc implementation for panels. It'd be one of
181 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 181 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
182 NativePanel* native_panel_; // Weak, owns us. 182 NativePanel* native_panel_; // Weak, owns us.
183 183
184 ExpansionState expansion_state_; 184 ExpansionState expansion_state_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(Panel); 186 DISALLOW_COPY_AND_ASSIGN(Panel);
187 }; 187 };
188 188
189 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 189 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/native_panel.h ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698