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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 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
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 7
8 #include "base/memory/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
11 #include "chrome/browser/extensions/extension_keybinding_registry.h" 11 #include "chrome/browser/extensions/extension_keybinding_registry.h"
12 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
13 #include "chrome/browser/ui/search/search_model_observer.h" 13 #include "chrome/browser/ui/search/search_model_observer.h"
14 #include "ui/base/ui_base_types.h" 14 #include "ui/base/ui_base_types.h"
15 15
16 class Browser; 16 class Browser;
17 @class BrowserWindowController; 17 @class BrowserWindowController;
18 @class FindBarCocoaController; 18 @class FindBarCocoaController;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 protected: 163 protected:
164 virtual void DestroyBrowser() OVERRIDE; 164 virtual void DestroyBrowser() OVERRIDE;
165 165
166 private: 166 private:
167 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 167 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
168 168
169 Browser* browser_; // weak, owned by controller 169 Browser* browser_; // weak, owned by controller
170 BrowserWindowController* controller_; // weak, owns us 170 BrowserWindowController* controller_; // weak, owns us
171 base::WeakPtrFactory<Browser> confirm_close_factory_; 171 base::WeakPtrFactory<Browser> confirm_close_factory_;
172 scoped_nsobject<NSString> pending_window_title_; 172 base::scoped_nsobject<NSString> pending_window_title_;
173 ui::WindowShowState initial_show_state_; 173 ui::WindowShowState initial_show_state_;
174 NSInteger attention_request_id_; // identifier from requestUserAttention 174 NSInteger attention_request_id_; // identifier from requestUserAttention
175 }; 175 };
176 176
177 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 177 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698