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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 bool IsMouseLocked() const; | 456 bool IsMouseLocked() const; |
457 | 457 |
458 // Called each time the browser window is shown. | 458 // Called each time the browser window is shown. |
459 void OnWindowDidShow(); | 459 void OnWindowDidShow(); |
460 | 460 |
461 // Show the first run search engine bubble on the location bar. | 461 // Show the first run search engine bubble on the location bar. |
462 void ShowFirstRunBubble(); | 462 void ShowFirstRunBubble(); |
463 | 463 |
464 // If necessary, update the bookmark bar state according to the instant | 464 // If necessary, update the bookmark bar state according to the instant |
465 // preview state: when instant preview shows suggestions and bookmark bar is | 465 // preview state: when instant preview shows suggestions and bookmark bar is |
466 // still showing attached, start the animation to hide it. | 466 // still showing attached, hide it. |
467 void MaybeUpdateBookmarkBarStateForInstantPreview( | 467 void MaybeUpdateBookmarkBarStateForInstantPreview( |
468 const chrome::search::Mode& mode); | 468 const chrome::search::Mode& mode); |
469 | 469 |
470 FullscreenController* fullscreen_controller() const { | 470 FullscreenController* fullscreen_controller() const { |
471 return fullscreen_controller_.get(); | 471 return fullscreen_controller_.get(); |
472 } | 472 } |
473 | 473 |
474 extensions::WindowController* extension_window_controller() const { | 474 extensions::WindowController* extension_window_controller() const { |
475 return extension_window_controller_.get(); | 475 return extension_window_controller_.get(); |
476 } | 476 } |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 bool window_has_shown_; | 933 bool window_has_shown_; |
934 | 934 |
935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
936 // before DidEndColorChooser is called. | 936 // before DidEndColorChooser is called. |
937 scoped_ptr<content::ColorChooser> color_chooser_; | 937 scoped_ptr<content::ColorChooser> color_chooser_; |
938 | 938 |
939 DISALLOW_COPY_AND_ASSIGN(Browser); | 939 DISALLOW_COPY_AND_ASSIGN(Browser); |
940 }; | 940 }; |
941 | 941 |
942 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 942 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |