| 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 content::WebContents* web_contents) const override; | 666 content::WebContents* web_contents) const override; |
| 667 | 667 |
| 668 // Overridden from CoreTabHelperDelegate: | 668 // Overridden from CoreTabHelperDelegate: |
| 669 // Note that the caller is responsible for deleting |old_contents|. | 669 // Note that the caller is responsible for deleting |old_contents|. |
| 670 void SwapTabContents(content::WebContents* old_contents, | 670 void SwapTabContents(content::WebContents* old_contents, |
| 671 content::WebContents* new_contents, | 671 content::WebContents* new_contents, |
| 672 bool did_start_load, | 672 bool did_start_load, |
| 673 bool did_finish_load) override; | 673 bool did_finish_load) override; |
| 674 bool CanReloadContents(content::WebContents* web_contents) const override; | 674 bool CanReloadContents(content::WebContents* web_contents) const override; |
| 675 bool CanSaveContents(content::WebContents* web_contents) const override; | 675 bool CanSaveContents(content::WebContents* web_contents) const override; |
| 676 bool RequestAppBanner(content::WebContents* web_contents) override; |
| 676 | 677 |
| 677 // Overridden from SearchEngineTabHelperDelegate: | 678 // Overridden from SearchEngineTabHelperDelegate: |
| 678 void ConfirmAddSearchProvider(TemplateURL* template_url, | 679 void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 679 Profile* profile) override; | 680 Profile* profile) override; |
| 680 | 681 |
| 681 // Overridden from SearchTabHelperDelegate: | 682 // Overridden from SearchTabHelperDelegate: |
| 682 void NavigateOnThumbnailClick(const GURL& url, | 683 void NavigateOnThumbnailClick(const GURL& url, |
| 683 WindowOpenDisposition disposition, | 684 WindowOpenDisposition disposition, |
| 684 content::WebContents* source_contents) override; | 685 content::WebContents* source_contents) override; |
| 685 void OnWebContentsInstantSupportDisabled( | 686 void OnWebContentsInstantSupportDisabled( |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 // The following factory is used for chrome update coalescing. | 995 // The following factory is used for chrome update coalescing. |
| 995 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 996 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 996 | 997 |
| 997 // The following factory is used to close the frame at a later time. | 998 // The following factory is used to close the frame at a later time. |
| 998 base::WeakPtrFactory<Browser> weak_factory_; | 999 base::WeakPtrFactory<Browser> weak_factory_; |
| 999 | 1000 |
| 1000 DISALLOW_COPY_AND_ASSIGN(Browser); | 1001 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1001 }; | 1002 }; |
| 1002 | 1003 |
| 1003 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1004 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |