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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 | 474 |
475 // True when the mouse cursor is locked. | 475 // True when the mouse cursor is locked. |
476 bool IsMouseLocked() const; | 476 bool IsMouseLocked() const; |
477 | 477 |
478 // Called each time the browser window is shown. | 478 // Called each time the browser window is shown. |
479 void OnWindowDidShow(); | 479 void OnWindowDidShow(); |
480 | 480 |
481 // Show the first run search engine bubble on the location bar. | 481 // Show the first run search engine bubble on the location bar. |
482 void ShowFirstRunBubble(); | 482 void ShowFirstRunBubble(); |
483 | 483 |
484 // Show a download on the download shelf. | |
485 void ShowDownload(content::DownloadItem* download); | |
486 | |
487 ExclusiveAccessManager* exclusive_access_manager() { | 484 ExclusiveAccessManager* exclusive_access_manager() { |
488 return exclusive_access_manager_.get(); | 485 return exclusive_access_manager_.get(); |
489 } | 486 } |
490 | 487 |
491 extensions::WindowController* extension_window_controller() const { | 488 extensions::WindowController* extension_window_controller() const { |
492 return extension_window_controller_.get(); | 489 return extension_window_controller_.get(); |
493 } | 490 } |
494 | 491 |
495 private: | 492 private: |
496 friend class BrowserTest; | 493 friend class BrowserTest; |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 // The following factory is used for chrome update coalescing. | 981 // The following factory is used for chrome update coalescing. |
985 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 982 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
986 | 983 |
987 // The following factory is used to close the frame at a later time. | 984 // The following factory is used to close the frame at a later time. |
988 base::WeakPtrFactory<Browser> weak_factory_; | 985 base::WeakPtrFactory<Browser> weak_factory_; |
989 | 986 |
990 DISALLOW_COPY_AND_ASSIGN(Browser); | 987 DISALLOW_COPY_AND_ASSIGN(Browser); |
991 }; | 988 }; |
992 | 989 |
993 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 990 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |