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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 | 729 |
730 // Overridden from content::NotificationObserver: | 730 // Overridden from content::NotificationObserver: |
731 void Observe(int type, | 731 void Observe(int type, |
732 const content::NotificationSource& source, | 732 const content::NotificationSource& source, |
733 const content::NotificationDetails& details) override; | 733 const content::NotificationDetails& details) override; |
734 | 734 |
735 #if BUILDFLAG(ENABLE_EXTENSIONS) | 735 #if BUILDFLAG(ENABLE_EXTENSIONS) |
736 // Overridden from extensions::ExtensionRegistryObserver: | 736 // Overridden from extensions::ExtensionRegistryObserver: |
737 void OnExtensionLoaded(content::BrowserContext* browser_context, | 737 void OnExtensionLoaded(content::BrowserContext* browser_context, |
738 const extensions::Extension* extension) override; | 738 const extensions::Extension* extension) override; |
739 void OnExtensionUnloaded( | 739 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
740 content::BrowserContext* browser_context, | 740 const extensions::Extension* extension, |
741 const extensions::Extension* extension, | 741 extensions::UnloadedExtensionReason reason) override; |
742 extensions::UnloadedExtensionInfo::Reason reason) override; | |
743 #endif | 742 #endif |
744 | 743 |
745 // Overridden from translate::ContentTranslateDriver::Observer: | 744 // Overridden from translate::ContentTranslateDriver::Observer: |
746 void OnIsPageTranslatedChanged(content::WebContents* source) override; | 745 void OnIsPageTranslatedChanged(content::WebContents* source) override; |
747 void OnTranslateEnabledChanged(content::WebContents* source) override; | 746 void OnTranslateEnabledChanged(content::WebContents* source) override; |
748 | 747 |
749 // Command and state updating /////////////////////////////////////////////// | 748 // Command and state updating /////////////////////////////////////////////// |
750 | 749 |
751 // Handle changes to kDevTools preference. | 750 // Handle changes to kDevTools preference. |
752 void OnDevToolsDisabledChanged(); | 751 void OnDevToolsDisabledChanged(); |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 // The following factory is used for chrome update coalescing. | 1009 // The following factory is used for chrome update coalescing. |
1011 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1010 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
1012 | 1011 |
1013 // The following factory is used to close the frame at a later time. | 1012 // The following factory is used to close the frame at a later time. |
1014 base::WeakPtrFactory<Browser> weak_factory_; | 1013 base::WeakPtrFactory<Browser> weak_factory_; |
1015 | 1014 |
1016 DISALLOW_COPY_AND_ASSIGN(Browser); | 1015 DISALLOW_COPY_AND_ASSIGN(Browser); |
1017 }; | 1016 }; |
1018 | 1017 |
1019 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1018 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |