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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 #if defined(OS_CHROMEOS) | 556 #if defined(OS_CHROMEOS) |
557 void Search(); | 557 void Search(); |
558 void ShowKeyboardOverlay(); | 558 void ShowKeyboardOverlay(); |
559 #endif | 559 #endif |
560 | 560 |
561 // Page-related commands | 561 // Page-related commands |
562 void BookmarkCurrentPage(); | 562 void BookmarkCurrentPage(); |
563 void SavePage(); | 563 void SavePage(); |
564 void ViewSelectedSource(); | 564 void ViewSelectedSource(); |
565 void ShowFindBar(); | 565 void ShowFindBar(); |
566 void ShowPageInfo(const GURL& url, | 566 void ShowPageInfo(content::WebContents* web_contents, |
| 567 const GURL& url, |
567 const content::SSLStatus& ssl, | 568 const content::SSLStatus& ssl, |
568 bool show_history); | 569 bool show_history); |
569 | 570 |
570 // Returns true if the Browser supports the specified feature. The value of | 571 // Returns true if the Browser supports the specified feature. The value of |
571 // this varies during the lifetime of the browser. For example, if the window | 572 // this varies during the lifetime of the browser. For example, if the window |
572 // is fullscreen this may return a different value. If you only care about | 573 // is fullscreen this may return a different value. If you only care about |
573 // whether or not it's possible for the browser to support a particular | 574 // whether or not it's possible for the browser to support a particular |
574 // feature use |CanSupportWindowFeature|. | 575 // feature use |CanSupportWindowFeature|. |
575 bool SupportsWindowFeature(WindowFeature feature) const; | 576 bool SupportsWindowFeature(WindowFeature feature) const; |
576 | 577 |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 | 1453 |
1453 scoped_refptr<FullscreenController> fullscreen_controller_; | 1454 scoped_refptr<FullscreenController> fullscreen_controller_; |
1454 | 1455 |
1455 // True if the browser window has been shown at least once. | 1456 // True if the browser window has been shown at least once. |
1456 bool window_has_shown_; | 1457 bool window_has_shown_; |
1457 | 1458 |
1458 DISALLOW_COPY_AND_ASSIGN(Browser); | 1459 DISALLOW_COPY_AND_ASSIGN(Browser); |
1459 }; | 1460 }; |
1460 | 1461 |
1461 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1462 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |