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

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

Issue 9463022: Minimized panels should not open on Windows when activated by the OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed unnecessary include Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/panels/overflow_panel_strip.cc ('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) 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_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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // Asynchronous completion of panel close request. 215 // Asynchronous completion of panel close request.
216 void OnNativePanelClosed(); 216 void OnNativePanelClosed();
217 217
218 NativePanel* native_panel() { return native_panel_; } 218 NativePanel* native_panel() { return native_panel_; }
219 Browser* browser() const { return browser_; } 219 Browser* browser() const { return browser_; }
220 220
221 // May be NULL if panel is newly created and has not been positioned yet. 221 // May be NULL if panel is newly created and has not been positioned yet.
222 PanelStrip* panel_strip() const { return panel_strip_; } 222 PanelStrip* panel_strip() const { return panel_strip_; }
223 223
224 // Sets the current panel strip that contains this panel. 224 // Sets the current panel strip that contains this panel.
225 void set_panel_strip(PanelStrip* new_strip) { panel_strip_ = new_strip; } 225 void SetPanelStrip(PanelStrip* new_strip);
226 226
227 ExpansionState expansion_state() const { return expansion_state_; } 227 ExpansionState expansion_state() const { return expansion_state_; }
228 ExpansionState old_expansion_state() const { return old_expansion_state_; } 228 ExpansionState old_expansion_state() const { return old_expansion_state_; }
229 const gfx::Size& min_size() const { return min_size_; } 229 const gfx::Size& min_size() const { return min_size_; }
230 const gfx::Size& max_size() const { return max_size_; } 230 const gfx::Size& max_size() const { return max_size_; }
231 bool auto_resizable() const { return auto_resizable_; } 231 bool auto_resizable() const { return auto_resizable_; }
232 232
233 bool draggable() const; 233 bool draggable() const;
234 234
235 // The restored size is the size of the panel when it is expanded. 235 // The restored size is the size of the panel when it is expanded.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 321
322 // Indicates whether the panel app icon is visible in the taskbar. 322 // Indicates whether the panel app icon is visible in the taskbar.
323 bool app_icon_visible_; 323 bool app_icon_visible_;
324 324
325 content::NotificationRegistrar registrar_; 325 content::NotificationRegistrar registrar_;
326 326
327 DISALLOW_COPY_AND_ASSIGN(Panel); 327 DISALLOW_COPY_AND_ASSIGN(Panel);
328 }; 328 };
329 329
330 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 330 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/overflow_panel_strip.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698