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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 | 569 |
570 // Page-related commands | 570 // Page-related commands |
571 void BookmarkCurrentPage(); | 571 void BookmarkCurrentPage(); |
572 void SavePage(); | 572 void SavePage(); |
573 void ViewSelectedSource(); | 573 void ViewSelectedSource(); |
574 void ShowFindBar(); | 574 void ShowFindBar(); |
575 void ShowPageInfo(content::WebContents* web_contents, | 575 void ShowPageInfo(content::WebContents* web_contents, |
576 const GURL& url, | 576 const GURL& url, |
577 const content::SSLStatus& ssl, | 577 const content::SSLStatus& ssl, |
578 bool show_history); | 578 bool show_history); |
| 579 void ShowChromeToMobileBubble(); |
579 | 580 |
580 // Returns true if the Browser supports the specified feature. The value of | 581 // Returns true if the Browser supports the specified feature. The value of |
581 // this varies during the lifetime of the browser. For example, if the window | 582 // this varies during the lifetime of the browser. For example, if the window |
582 // is fullscreen this may return a different value. If you only care about | 583 // is fullscreen this may return a different value. If you only care about |
583 // whether or not it's possible for the browser to support a particular | 584 // whether or not it's possible for the browser to support a particular |
584 // feature use |CanSupportWindowFeature|. | 585 // feature use |CanSupportWindowFeature|. |
585 bool SupportsWindowFeature(WindowFeature feature) const; | 586 bool SupportsWindowFeature(WindowFeature feature) const; |
586 | 587 |
587 // Returns true if the Browser can support the specified feature. See comment | 588 // Returns true if the Browser can support the specified feature. See comment |
588 // in |SupportsWindowFeature| for details on this. | 589 // in |SupportsWindowFeature| for details on this. |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 | 1471 |
1471 scoped_ptr<ExtensionWindowController> extension_window_controller_; | 1472 scoped_ptr<ExtensionWindowController> extension_window_controller_; |
1472 | 1473 |
1473 // True if the browser window has been shown at least once. | 1474 // True if the browser window has been shown at least once. |
1474 bool window_has_shown_; | 1475 bool window_has_shown_; |
1475 | 1476 |
1476 DISALLOW_COPY_AND_ASSIGN(Browser); | 1477 DISALLOW_COPY_AND_ASSIGN(Browser); |
1477 }; | 1478 }; |
1478 | 1479 |
1479 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1480 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |