OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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> |
11 #include <vector> | 11 #include <vector> |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 | 449 |
450 // Called each time the browser window is shown. | 450 // Called each time the browser window is shown. |
451 void OnWindowDidShow(); | 451 void OnWindowDidShow(); |
452 | 452 |
453 // Show the first run search engine bubble on the location bar. | 453 // Show the first run search engine bubble on the location bar. |
454 void ShowFirstRunBubble(); | 454 void ShowFirstRunBubble(); |
455 | 455 |
456 // If necessary, update the bookmark bar state according to the Instant | 456 // If necessary, update the bookmark bar state according to the Instant |
457 // overlay state: when Instant overlay shows suggestions and bookmark bar is | 457 // overlay state: when Instant overlay shows suggestions and bookmark bar is |
458 // still showing attached, hide it. | 458 // still showing attached, hide it. |
459 void MaybeUpdateBookmarkBarStateForInstantOverlay( | 459 void MaybeUpdateBookmarkBarStateForInstantOverlay(); |
460 const chrome::search::Mode& mode); | |
461 | 460 |
462 // Show a download on the download shelf. | 461 // Show a download on the download shelf. |
463 void ShowDownload(content::DownloadItem* download); | 462 void ShowDownload(content::DownloadItem* download); |
464 | 463 |
465 FullscreenController* fullscreen_controller() const { | 464 FullscreenController* fullscreen_controller() const { |
466 return fullscreen_controller_.get(); | 465 return fullscreen_controller_.get(); |
467 } | 466 } |
468 | 467 |
469 extensions::WindowController* extension_window_controller() const { | 468 extensions::WindowController* extension_window_controller() const { |
470 return extension_window_controller_.get(); | 469 return extension_window_controller_.get(); |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 bool window_has_shown_; | 924 bool window_has_shown_; |
926 | 925 |
927 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 926 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
928 // before DidEndColorChooser is called. | 927 // before DidEndColorChooser is called. |
929 scoped_ptr<content::ColorChooser> color_chooser_; | 928 scoped_ptr<content::ColorChooser> color_chooser_; |
930 | 929 |
931 DISALLOW_COPY_AND_ASSIGN(Browser); | 930 DISALLOW_COPY_AND_ASSIGN(Browser); |
932 }; | 931 }; |
933 | 932 |
934 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 933 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |