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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.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: Synced 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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_nsobject.h" 9 #include "base/memory/scoped_nsobject.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void UpdateTitleBar() OVERRIDE; 48 virtual void UpdateTitleBar() OVERRIDE;
49 virtual void BookmarkBarStateChanged( 49 virtual void BookmarkBarStateChanged(
50 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 50 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
51 virtual void UpdateDevTools() OVERRIDE; 51 virtual void UpdateDevTools() OVERRIDE;
52 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 52 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
53 virtual void SetStarredState(bool is_starred) OVERRIDE; 53 virtual void SetStarredState(bool is_starred) OVERRIDE;
54 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 54 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
55 virtual gfx::Rect GetBounds() const OVERRIDE; 55 virtual gfx::Rect GetBounds() const OVERRIDE;
56 virtual bool IsMaximized() const OVERRIDE; 56 virtual bool IsMaximized() const OVERRIDE;
57 virtual bool IsMinimized() const OVERRIDE; 57 virtual bool IsMinimized() const OVERRIDE;
58 virtual void Maximize() OVERRIDE;
59 virtual void Minimize() OVERRIDE;
60 virtual void Restore() OVERRIDE;
58 virtual void EnterFullscreen( 61 virtual void EnterFullscreen(
59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 62 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
60 virtual void ExitFullscreen() OVERRIDE; 63 virtual void ExitFullscreen() OVERRIDE;
61 virtual void UpdateFullscreenExitBubbleContent( 64 virtual void UpdateFullscreenExitBubbleContent(
62 const GURL& url, 65 const GURL& url,
63 FullscreenExitBubbleType bubble_type) OVERRIDE; 66 FullscreenExitBubbleType bubble_type) OVERRIDE;
64 virtual bool IsFullscreen() const OVERRIDE; 67 virtual bool IsFullscreen() const OVERRIDE;
65 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 68 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
66 virtual LocationBar* GetLocationBar() const OVERRIDE; 69 virtual LocationBar* GetLocationBar() const OVERRIDE;
67 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 70 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 content::NotificationRegistrar registrar_; 151 content::NotificationRegistrar registrar_;
149 PrefChangeRegistrar pref_change_registrar_; 152 PrefChangeRegistrar pref_change_registrar_;
150 Browser* browser_; // weak, owned by controller 153 Browser* browser_; // weak, owned by controller
151 BrowserWindowController* controller_; // weak, owns us 154 BrowserWindowController* controller_; // weak, owns us
152 base::WeakPtrFactory<Browser> confirm_close_factory_; 155 base::WeakPtrFactory<Browser> confirm_close_factory_;
153 scoped_nsobject<NSString> pending_window_title_; 156 scoped_nsobject<NSString> pending_window_title_;
154 ui::WindowShowState initial_show_state_; 157 ui::WindowShowState initial_show_state_;
155 }; 158 };
156 159
157 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 160 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698