| 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 // Overridden from CoreTabHelperDelegate: | 713 // Overridden from CoreTabHelperDelegate: |
| 714 // Note that the caller is responsible for deleting |old_contents|. | 714 // Note that the caller is responsible for deleting |old_contents|. |
| 715 void SwapTabContents(content::WebContents* old_contents, | 715 void SwapTabContents(content::WebContents* old_contents, |
| 716 content::WebContents* new_contents, | 716 content::WebContents* new_contents, |
| 717 bool did_start_load, | 717 bool did_start_load, |
| 718 bool did_finish_load) override; | 718 bool did_finish_load) override; |
| 719 bool CanReloadContents(content::WebContents* web_contents) const override; | 719 bool CanReloadContents(content::WebContents* web_contents) const override; |
| 720 bool CanSaveContents(content::WebContents* web_contents) const override; | 720 bool CanSaveContents(content::WebContents* web_contents) const override; |
| 721 | 721 |
| 722 // Overridden from SearchTabHelperDelegate: | 722 // Overridden from SearchTabHelperDelegate: |
| 723 void OnWebContentsInstantSupportDisabled( | |
| 724 const content::WebContents* web_contents) override; | |
| 725 OmniboxView* GetOmniboxView() override; | 723 OmniboxView* GetOmniboxView() override; |
| 726 | 724 |
| 727 // Overridden from WebContentsModalDialogManagerDelegate: | 725 // Overridden from WebContentsModalDialogManagerDelegate: |
| 728 void SetWebContentsBlocked(content::WebContents* web_contents, | 726 void SetWebContentsBlocked(content::WebContents* web_contents, |
| 729 bool blocked) override; | 727 bool blocked) override; |
| 730 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 728 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 731 override; | 729 override; |
| 732 | 730 |
| 733 // Overridden from BookmarkTabHelperDelegate: | 731 // Overridden from BookmarkTabHelperDelegate: |
| 734 void URLStarredChanged(content::WebContents* web_contents, | 732 void URLStarredChanged(content::WebContents* web_contents, |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 // The following factory is used for chrome update coalescing. | 1028 // The following factory is used for chrome update coalescing. |
| 1031 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1029 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1032 | 1030 |
| 1033 // The following factory is used to close the frame at a later time. | 1031 // The following factory is used to close the frame at a later time. |
| 1034 base::WeakPtrFactory<Browser> weak_factory_; | 1032 base::WeakPtrFactory<Browser> weak_factory_; |
| 1035 | 1033 |
| 1036 DISALLOW_COPY_AND_ASSIGN(Browser); | 1034 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1037 }; | 1035 }; |
| 1038 | 1036 |
| 1039 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1037 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |