| 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 bool did_start_load, | 690 bool did_start_load, |
| 691 bool did_finish_load) override; | 691 bool did_finish_load) override; |
| 692 bool CanReloadContents(content::WebContents* web_contents) const override; | 692 bool CanReloadContents(content::WebContents* web_contents) const override; |
| 693 bool CanSaveContents(content::WebContents* web_contents) const override; | 693 bool CanSaveContents(content::WebContents* web_contents) const override; |
| 694 | 694 |
| 695 // Overridden from SearchEngineTabHelperDelegate: | 695 // Overridden from SearchEngineTabHelperDelegate: |
| 696 void ConfirmAddSearchProvider(TemplateURL* template_url, | 696 void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 697 Profile* profile) override; | 697 Profile* profile) override; |
| 698 | 698 |
| 699 // Overridden from SearchTabHelperDelegate: | 699 // Overridden from SearchTabHelperDelegate: |
| 700 void NavigateOnThumbnailClick(const GURL& url, | |
| 701 WindowOpenDisposition disposition, | |
| 702 content::WebContents* source_contents) override; | |
| 703 void OnWebContentsInstantSupportDisabled( | 700 void OnWebContentsInstantSupportDisabled( |
| 704 const content::WebContents* web_contents) override; | 701 const content::WebContents* web_contents) override; |
| 705 OmniboxView* GetOmniboxView() override; | 702 OmniboxView* GetOmniboxView() override; |
| 706 std::set<std::string> GetOpenUrls() override; | 703 std::set<std::string> GetOpenUrls() override; |
| 707 | 704 |
| 708 // Overridden from WebContentsModalDialogManagerDelegate: | 705 // Overridden from WebContentsModalDialogManagerDelegate: |
| 709 void SetWebContentsBlocked(content::WebContents* web_contents, | 706 void SetWebContentsBlocked(content::WebContents* web_contents, |
| 710 bool blocked) override; | 707 bool blocked) override; |
| 711 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 708 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 712 override; | 709 override; |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 // The following factory is used for chrome update coalescing. | 1013 // The following factory is used for chrome update coalescing. |
| 1017 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1014 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1018 | 1015 |
| 1019 // The following factory is used to close the frame at a later time. | 1016 // The following factory is used to close the frame at a later time. |
| 1020 base::WeakPtrFactory<Browser> weak_factory_; | 1017 base::WeakPtrFactory<Browser> weak_factory_; |
| 1021 | 1018 |
| 1022 DISALLOW_COPY_AND_ASSIGN(Browser); | 1019 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1023 }; | 1020 }; |
| 1024 | 1021 |
| 1025 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1022 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |