| OLD | NEW |
| 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/memory/scoped_nsobject.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 10 #include "base/prefs/public/pref_change_registrar.h" |
| 11 #include "chrome/browser/bookmarks/bookmark_model.h" | 11 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 12 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 12 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
| 13 #include "chrome/browser/ui/browser_window.h" | 13 #include "chrome/browser/ui/browser_window.h" |
| 14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
| 15 #include "ui/base/ui_base_types.h" | 15 #include "ui/base/ui_base_types.h" |
| 16 | 16 |
| 17 class Browser; | 17 class Browser; |
| 18 @class BrowserWindowController; | 18 @class BrowserWindowController; |
| 19 @class FindBarCocoaController; | 19 @class FindBarCocoaController; |
| 20 @class NSEvent; | 20 @class NSEvent; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |