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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; | 958 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; |
959 virtual content::JavaScriptDialogCreator* | 959 virtual content::JavaScriptDialogCreator* |
960 GetJavaScriptDialogCreator() OVERRIDE; | 960 GetJavaScriptDialogCreator() OVERRIDE; |
961 virtual void RunFileChooser( | 961 virtual void RunFileChooser( |
962 TabContents* tab, | 962 TabContents* tab, |
963 const ViewHostMsg_RunFileChooser_Params& params) OVERRIDE; | 963 const ViewHostMsg_RunFileChooser_Params& params) OVERRIDE; |
964 virtual void EnumerateDirectory(TabContents* tab, int request_id, | 964 virtual void EnumerateDirectory(TabContents* tab, int request_id, |
965 const FilePath& path) OVERRIDE; | 965 const FilePath& path) OVERRIDE; |
966 virtual void ToggleFullscreenModeForTab(TabContents* tab, | 966 virtual void ToggleFullscreenModeForTab(TabContents* tab, |
967 bool enter_fullscreen) OVERRIDE; | 967 bool enter_fullscreen) OVERRIDE; |
| 968 virtual bool IsFullscreenForTab(const TabContents* tab) const OVERRIDE; |
968 virtual void JSOutOfMemory(TabContents* tab) OVERRIDE; | 969 virtual void JSOutOfMemory(TabContents* tab) OVERRIDE; |
969 virtual void RegisterProtocolHandler(TabContents* tab, | 970 virtual void RegisterProtocolHandler(TabContents* tab, |
970 const std::string& protocol, | 971 const std::string& protocol, |
971 const GURL& url, | 972 const GURL& url, |
972 const string16& title) OVERRIDE; | 973 const string16& title) OVERRIDE; |
973 virtual void RegisterIntentHandler(TabContents* tab, | 974 virtual void RegisterIntentHandler(TabContents* tab, |
974 const string16& action, | 975 const string16& action, |
975 const string16& type, | 976 const string16& type, |
976 const string16& href, | 977 const string16& href, |
977 const string16& title) OVERRIDE; | 978 const string16& title) OVERRIDE; |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 // True if the current tab entered fullscreen mode via webkitRequestFullScreen | 1427 // True if the current tab entered fullscreen mode via webkitRequestFullScreen |
1427 bool tab_caused_fullscreen_; | 1428 bool tab_caused_fullscreen_; |
1428 | 1429 |
1429 // True if the browser window has been shown at least once. | 1430 // True if the browser window has been shown at least once. |
1430 bool window_has_shown_; | 1431 bool window_has_shown_; |
1431 | 1432 |
1432 DISALLOW_COPY_AND_ASSIGN(Browser); | 1433 DISALLOW_COPY_AND_ASSIGN(Browser); |
1433 }; | 1434 }; |
1434 | 1435 |
1435 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1436 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |