| 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 BrowserLiveTabContext* live_tab_context() { return live_tab_context_.get(); } | 269 BrowserLiveTabContext* live_tab_context() { return live_tab_context_.get(); } |
| 270 BrowserSyncedWindowDelegate* synced_window_delegate() { | 270 BrowserSyncedWindowDelegate* synced_window_delegate() { |
| 271 return synced_window_delegate_.get(); | 271 return synced_window_delegate_.get(); |
| 272 } | 272 } |
| 273 BrowserInstantController* instant_controller() { | 273 BrowserInstantController* instant_controller() { |
| 274 return instant_controller_.get(); | 274 return instant_controller_.get(); |
| 275 } | 275 } |
| 276 extensions::HostedAppBrowserController* hosted_app_controller() { | 276 extensions::HostedAppBrowserController* hosted_app_controller() { |
| 277 return hosted_app_controller_.get(); | 277 return hosted_app_controller_.get(); |
| 278 } | 278 } |
| 279 SigninViewController* signin_view_controller() { |
| 280 return &signin_view_controller_; |
| 281 } |
| 279 | 282 |
| 280 // Will lazy create the bubble manager. | 283 // Will lazy create the bubble manager. |
| 281 ChromeBubbleManager* GetBubbleManager(); | 284 ChromeBubbleManager* GetBubbleManager(); |
| 282 | 285 |
| 283 // Get the FindBarController for this browser, creating it if it does not | 286 // Get the FindBarController for this browser, creating it if it does not |
| 284 // yet exist. | 287 // yet exist. |
| 285 FindBarController* GetFindBarController(); | 288 FindBarController* GetFindBarController(); |
| 286 | 289 |
| 287 // Returns true if a FindBarController exists for this browser. | 290 // Returns true if a FindBarController exists for this browser. |
| 288 bool HasFindBarController() const; | 291 bool HasFindBarController() const; |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 // The following factory is used for chrome update coalescing. | 1010 // The following factory is used for chrome update coalescing. |
| 1008 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1011 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1009 | 1012 |
| 1010 // The following factory is used to close the frame at a later time. | 1013 // The following factory is used to close the frame at a later time. |
| 1011 base::WeakPtrFactory<Browser> weak_factory_; | 1014 base::WeakPtrFactory<Browser> weak_factory_; |
| 1012 | 1015 |
| 1013 DISALLOW_COPY_AND_ASSIGN(Browser); | 1016 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1014 }; | 1017 }; |
| 1015 | 1018 |
| 1016 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1019 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |