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