| 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/mac/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/extensions/extension_keybinding_registry.h" | 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
| 11 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 12 #include "chrome/browser/ui/search/search_model_observer.h" | 12 #include "chrome/browser/ui/search/search_model_observer.h" |
| 13 #include "components/bookmarks/core/browser/bookmark_model.h" | 13 #include "components/bookmarks/browser/bookmark_model.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; |
| 19 @class NSEvent; | 19 @class NSEvent; |
| 20 @class NSMenu; | 20 @class NSMenu; |
| 21 @class NSWindow; | 21 @class NSWindow; |
| 22 | 22 |
| 23 namespace extensions { | 23 namespace extensions { |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 NSWindow* window() const; // Accessor for the (current) |NSWindow|. | 183 NSWindow* window() const; // Accessor for the (current) |NSWindow|. |
| 184 | 184 |
| 185 Browser* browser_; // weak, owned by controller | 185 Browser* browser_; // weak, owned by controller |
| 186 BrowserWindowController* controller_; // weak, owns us | 186 BrowserWindowController* controller_; // weak, owns us |
| 187 base::scoped_nsobject<NSString> pending_window_title_; | 187 base::scoped_nsobject<NSString> pending_window_title_; |
| 188 ui::WindowShowState initial_show_state_; | 188 ui::WindowShowState initial_show_state_; |
| 189 NSInteger attention_request_id_; // identifier from requestUserAttention | 189 NSInteger attention_request_id_; // identifier from requestUserAttention |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 192 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |