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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 Profile* profile) OVERRIDE; 84 Profile* profile) OVERRIDE;
85 virtual void ToggleBookmarkBar() OVERRIDE; 85 virtual void ToggleBookmarkBar() OVERRIDE;
86 virtual void ShowAboutChromeDialog() OVERRIDE; 86 virtual void ShowAboutChromeDialog() OVERRIDE;
87 virtual void ShowUpdateChromeDialog() OVERRIDE; 87 virtual void ShowUpdateChromeDialog() OVERRIDE;
88 virtual void ShowTaskManager() OVERRIDE; 88 virtual void ShowTaskManager() OVERRIDE;
89 virtual void ShowBackgroundPages() OVERRIDE; 89 virtual void ShowBackgroundPages() OVERRIDE;
90 virtual void ShowBookmarkBubble(const GURL& url, 90 virtual void ShowBookmarkBubble(const GURL& url,
91 bool already_bookmarked) OVERRIDE; 91 bool already_bookmarked) OVERRIDE;
92 virtual bool IsDownloadShelfVisible() const OVERRIDE; 92 virtual bool IsDownloadShelfVisible() const OVERRIDE;
93 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 93 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
94 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; 94 virtual void ShowTabModalDialog(TabModalDialogDelegate* delegate,
95 TabContents* tab_contents) OVERRIDE;
95 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* wrapper) OVERRIDE; 96 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* wrapper) OVERRIDE;
96 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 97 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
97 virtual void UserChangedTheme() OVERRIDE; 98 virtual void UserChangedTheme() OVERRIDE;
98 virtual int GetExtraRenderViewHeight() const OVERRIDE; 99 virtual int GetExtraRenderViewHeight() const OVERRIDE;
99 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; 100 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE;
100 virtual void ShowPageInfo(Profile* profile, 101 virtual void ShowPageInfo(Profile* profile,
101 const GURL& url, 102 const GURL& url,
102 const NavigationEntry::SSLStatus& ssl, 103 const NavigationEntry::SSLStatus& ssl,
103 bool show_history) OVERRIDE; 104 bool show_history) OVERRIDE;
104 virtual void ShowAppMenu() OVERRIDE; 105 virtual void ShowAppMenu() OVERRIDE;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 content::NotificationRegistrar registrar_; 152 content::NotificationRegistrar registrar_;
152 PrefChangeRegistrar pref_change_registrar_; 153 PrefChangeRegistrar pref_change_registrar_;
153 Browser* browser_; // weak, owned by controller 154 Browser* browser_; // weak, owned by controller
154 BrowserWindowController* controller_; // weak, owns us 155 BrowserWindowController* controller_; // weak, owns us
155 base::WeakPtrFactory<Browser> confirm_close_factory_; 156 base::WeakPtrFactory<Browser> confirm_close_factory_;
156 scoped_nsobject<NSString> pending_window_title_; 157 scoped_nsobject<NSString> pending_window_title_;
157 ui::WindowShowState initial_show_state_; 158 ui::WindowShowState initial_show_state_;
158 }; 159 };
159 160
160 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 161 #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