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

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

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 6 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/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) 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_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #if defined(ENABLE_ONE_CLICK_SIGNIN) 103 #if defined(ENABLE_ONE_CLICK_SIGNIN)
104 virtual void ShowOneClickSigninBubble( 104 virtual void ShowOneClickSigninBubble(
105 const StartSyncCallback& start_sync_callback) OVERRIDE; 105 const StartSyncCallback& start_sync_callback) OVERRIDE;
106 #endif 106 #endif
107 virtual bool IsDownloadShelfVisible() const OVERRIDE; 107 virtual bool IsDownloadShelfVisible() const OVERRIDE;
108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
110 virtual void UserChangedTheme() OVERRIDE; 110 virtual void UserChangedTheme() OVERRIDE;
111 virtual int GetExtraRenderViewHeight() const OVERRIDE; 111 virtual int GetExtraRenderViewHeight() const OVERRIDE;
112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
113 virtual void ShowPageInfo(Profile* profile, 113 virtual void ShowPageInfo(content::WebContents* web_contents,
114 const GURL& url, 114 const GURL& url,
115 const content::SSLStatus& ssl, 115 const content::SSLStatus& ssl,
116 bool show_history) OVERRIDE; 116 bool show_history) OVERRIDE;
117 virtual void ShowWebsiteSettings(Profile* profile, 117 virtual void ShowWebsiteSettings(Profile* profile,
118 TabContents* tab_contents, 118 TabContents* tab_contents,
119 const GURL& url, 119 const GURL& url,
120 const content::SSLStatus& ssl, 120 const content::SSLStatus& ssl,
121 bool show_history) OVERRIDE; 121 bool show_history) OVERRIDE;
122 virtual void ShowAppMenu() OVERRIDE; 122 virtual void ShowAppMenu() OVERRIDE;
123 virtual bool PreHandleKeyboardEvent( 123 virtual bool PreHandleKeyboardEvent(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 PrefChangeRegistrar pref_change_registrar_; 170 PrefChangeRegistrar pref_change_registrar_;
171 Browser* browser_; // weak, owned by controller 171 Browser* browser_; // weak, owned by controller
172 BrowserWindowController* controller_; // weak, owns us 172 BrowserWindowController* controller_; // weak, owns us
173 base::WeakPtrFactory<Browser> confirm_close_factory_; 173 base::WeakPtrFactory<Browser> confirm_close_factory_;
174 scoped_nsobject<NSString> pending_window_title_; 174 scoped_nsobject<NSString> pending_window_title_;
175 ui::WindowShowState initial_show_state_; 175 ui::WindowShowState initial_show_state_;
176 NSInteger attention_request_id_; // identifier from requestUserAttention 176 NSInteger attention_request_id_; // identifier from requestUserAttention
177 }; 177 };
178 178
179 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 179 #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