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 #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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual bool IsFullscreen() const OVERRIDE; | 69 virtual bool IsFullscreen() const OVERRIDE; |
70 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 70 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
71 virtual LocationBar* GetLocationBar() const OVERRIDE; | 71 virtual LocationBar* GetLocationBar() const OVERRIDE; |
72 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 72 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
73 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 73 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
74 virtual void UpdateToolbar(TabContentsWrapper* contents, | 74 virtual void UpdateToolbar(TabContentsWrapper* contents, |
75 bool should_restore_state) OVERRIDE; | 75 bool should_restore_state) OVERRIDE; |
76 virtual void FocusToolbar() OVERRIDE; | 76 virtual void FocusToolbar() OVERRIDE; |
77 virtual void FocusAppMenu() OVERRIDE; | 77 virtual void FocusAppMenu() OVERRIDE; |
78 virtual void FocusBookmarksToolbar() OVERRIDE; | 78 virtual void FocusBookmarksToolbar() OVERRIDE; |
79 virtual void FocusChromeOSStatus() OVERRIDE; | |
80 virtual void RotatePaneFocus(bool forwards) OVERRIDE; | 79 virtual void RotatePaneFocus(bool forwards) OVERRIDE; |
81 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 80 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
82 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 81 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
83 virtual bool IsTabStripEditable() const OVERRIDE; | 82 virtual bool IsTabStripEditable() const OVERRIDE; |
84 virtual bool IsToolbarVisible() const OVERRIDE; | 83 virtual bool IsToolbarVisible() const OVERRIDE; |
85 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 84 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
86 virtual bool IsPanel() const OVERRIDE; | 85 virtual bool IsPanel() const OVERRIDE; |
87 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 86 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
88 Profile* profile) OVERRIDE; | 87 Profile* profile) OVERRIDE; |
89 virtual void ToggleBookmarkBar() OVERRIDE; | 88 virtual void ToggleBookmarkBar() OVERRIDE; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 PrefChangeRegistrar pref_change_registrar_; | 163 PrefChangeRegistrar pref_change_registrar_; |
165 Browser* browser_; // weak, owned by controller | 164 Browser* browser_; // weak, owned by controller |
166 BrowserWindowController* controller_; // weak, owns us | 165 BrowserWindowController* controller_; // weak, owns us |
167 base::WeakPtrFactory<Browser> confirm_close_factory_; | 166 base::WeakPtrFactory<Browser> confirm_close_factory_; |
168 scoped_nsobject<NSString> pending_window_title_; | 167 scoped_nsobject<NSString> pending_window_title_; |
169 ui::WindowShowState initial_show_state_; | 168 ui::WindowShowState initial_show_state_; |
170 NSInteger attention_request_id_; // identifier from requestUserAttention | 169 NSInteger attention_request_id_; // identifier from requestUserAttention |
171 }; | 170 }; |
172 | 171 |
173 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ | 172 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ |
OLD | NEW |