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

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

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr feedback Created 9 years, 1 month 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) 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual void UpdateTitleBar() OVERRIDE; 81 virtual void UpdateTitleBar() OVERRIDE;
82 virtual void BookmarkBarStateChanged( 82 virtual void BookmarkBarStateChanged(
83 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 83 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
84 virtual void UpdateDevTools() OVERRIDE; 84 virtual void UpdateDevTools() OVERRIDE;
85 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 85 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
86 virtual void SetStarredState(bool is_starred) OVERRIDE; 86 virtual void SetStarredState(bool is_starred) OVERRIDE;
87 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 87 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
88 virtual gfx::Rect GetBounds() const OVERRIDE; 88 virtual gfx::Rect GetBounds() const OVERRIDE;
89 virtual bool IsMaximized() const OVERRIDE; 89 virtual bool IsMaximized() const OVERRIDE;
90 virtual bool IsMinimized() const OVERRIDE; 90 virtual bool IsMinimized() const OVERRIDE;
91 virtual void Maximize() OVERRIDE;
92 virtual void Minimize() OVERRIDE;
93 virtual void Restore() OVERRIDE;
91 virtual void EnterFullscreen( 94 virtual void EnterFullscreen(
92 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 95 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
93 virtual void ExitFullscreen() OVERRIDE; 96 virtual void ExitFullscreen() OVERRIDE;
94 virtual void UpdateFullscreenExitBubbleContent( 97 virtual void UpdateFullscreenExitBubbleContent(
95 const GURL& url, 98 const GURL& url,
96 FullscreenExitBubbleType bubble_type) OVERRIDE; 99 FullscreenExitBubbleType bubble_type) OVERRIDE;
97 virtual bool IsFullscreen() const OVERRIDE; 100 virtual bool IsFullscreen() const OVERRIDE;
98 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 101 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
99 virtual LocationBar* GetLocationBar() const OVERRIDE; 102 virtual LocationBar* GetLocationBar() const OVERRIDE;
100 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 103 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Stores the full height of the panel so we can restore it after it's 254 // Stores the full height of the panel so we can restore it after it's
252 // been minimized. 255 // been minimized.
253 int restored_height_; 256 int restored_height_;
254 257
255 content::NotificationRegistrar registrar_; 258 content::NotificationRegistrar registrar_;
256 259
257 DISALLOW_COPY_AND_ASSIGN(Panel); 260 DISALLOW_COPY_AND_ASSIGN(Panel);
258 }; 261 };
259 262
260 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 263 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698