| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 // Called by browser::Navigate() when a navigation has occurred in a tab in | 720 // Called by browser::Navigate() when a navigation has occurred in a tab in |
| 721 // this Browser. Updates the UI for the start of this navigation. | 721 // this Browser. Updates the UI for the start of this navigation. |
| 722 void UpdateUIForNavigationInTab(TabContentsWrapper* contents, | 722 void UpdateUIForNavigationInTab(TabContentsWrapper* contents, |
| 723 PageTransition::Type transition, | 723 PageTransition::Type transition, |
| 724 bool user_initiated); | 724 bool user_initiated); |
| 725 | 725 |
| 726 // Called by browser::Navigate() to retrieve the home page if no URL is | 726 // Called by browser::Navigate() to retrieve the home page if no URL is |
| 727 // specified. | 727 // specified. |
| 728 GURL GetHomePage() const; | 728 GURL GetHomePage() const; |
| 729 | 729 |
| 730 // Shows the cookies collected in the tab contents. | 730 // Shows the cookies collected in the tab contents wrapper. |
| 731 void ShowCollectedCookiesDialog(TabContents* tab_contents); | 731 void ShowCollectedCookiesDialog(TabContentsWrapper* wrapper); |
| 732 | 732 |
| 733 // Interface implementations //////////////////////////////////////////////// | 733 // Interface implementations //////////////////////////////////////////////// |
| 734 | 734 |
| 735 // Overridden from PageNavigator: | 735 // Overridden from PageNavigator: |
| 736 // Deprecated. Please use the one-argument variant instead. | 736 // Deprecated. Please use the one-argument variant instead. |
| 737 // TODO(adriansc): Remove this method once refactoring changed all call sites. | 737 // TODO(adriansc): Remove this method once refactoring changed all call sites. |
| 738 virtual TabContents* OpenURL(const GURL& url, | 738 virtual TabContents* OpenURL(const GURL& url, |
| 739 const GURL& referrer, | 739 const GURL& referrer, |
| 740 WindowOpenDisposition disposition, | 740 WindowOpenDisposition disposition, |
| 741 PageTransition::Type transition) OVERRIDE; | 741 PageTransition::Type transition) OVERRIDE; |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1405 // Tab to notify when the browser exits fullscreen mode. | 1405 // Tab to notify when the browser exits fullscreen mode. |
| 1406 TabContentsWrapper* fullscreened_tab_; | 1406 TabContentsWrapper* fullscreened_tab_; |
| 1407 | 1407 |
| 1408 // True if the current tab is in fullscreen mode. | 1408 // True if the current tab is in fullscreen mode. |
| 1409 bool tab_caused_fullscreen_; | 1409 bool tab_caused_fullscreen_; |
| 1410 | 1410 |
| 1411 DISALLOW_COPY_AND_ASSIGN(Browser); | 1411 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1412 }; | 1412 }; |
| 1413 | 1413 |
| 1414 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1414 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |