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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 int32 page_id) OVERRIDE; | 987 int32 page_id) OVERRIDE; |
988 virtual void OnInstallApplication( | 988 virtual void OnInstallApplication( |
989 TabContentsWrapper* source, | 989 TabContentsWrapper* source, |
990 const WebApplicationInfo& app_info) OVERRIDE; | 990 const WebApplicationInfo& app_info) OVERRIDE; |
991 | 991 |
992 // Note that the caller is responsible for deleting |old_tab_contents|. | 992 // Note that the caller is responsible for deleting |old_tab_contents|. |
993 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, | 993 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, |
994 TabContentsWrapper* new_tab_contents) OVERRIDE; | 994 TabContentsWrapper* new_tab_contents) OVERRIDE; |
995 | 995 |
996 // Overridden from SearchEngineTabHelperDelegate: | 996 // Overridden from SearchEngineTabHelperDelegate: |
997 virtual void ConfirmSetDefaultSearchProvider( | 997 virtual void ConfirmSetDefaultSearchProvider(TabContents* tab_contents, |
998 TabContents* tab_contents, | 998 TemplateURL* template_url, |
999 TemplateURL* template_url, | 999 Profile* profile) OVERRIDE; |
1000 TemplateURLService* template_url_service) OVERRIDE; | |
1001 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 1000 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
1002 Profile* profile) OVERRIDE; | 1001 Profile* profile) OVERRIDE; |
1003 | 1002 |
1004 // Overridden from ConstrainedWindowTabHelperDelegate: | 1003 // Overridden from ConstrainedWindowTabHelperDelegate: |
1005 virtual void SetTabContentBlocked(TabContentsWrapper* contents, | 1004 virtual void SetTabContentBlocked(TabContentsWrapper* contents, |
1006 bool blocked) OVERRIDE; | 1005 bool blocked) OVERRIDE; |
1007 | 1006 |
1008 // Overridden from BlockedContentTabHelperDelegate: | 1007 // Overridden from BlockedContentTabHelperDelegate: |
1009 virtual TabContentsWrapper* GetConstrainingContentsWrapper( | 1008 virtual TabContentsWrapper* GetConstrainingContentsWrapper( |
1010 TabContentsWrapper* source) OVERRIDE; | 1009 TabContentsWrapper* source) OVERRIDE; |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 // True if the current tab entered fullscreen mode via webkitRequestFullScreen | 1401 // True if the current tab entered fullscreen mode via webkitRequestFullScreen |
1403 bool tab_caused_fullscreen_; | 1402 bool tab_caused_fullscreen_; |
1404 | 1403 |
1405 // True if the browser window has been shown at least once. | 1404 // True if the browser window has been shown at least once. |
1406 bool window_has_shown_; | 1405 bool window_has_shown_; |
1407 | 1406 |
1408 DISALLOW_COPY_AND_ASSIGN(Browser); | 1407 DISALLOW_COPY_AND_ASSIGN(Browser); |
1409 }; | 1408 }; |
1410 | 1409 |
1411 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1410 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |