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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 virtual bool CanReloadContents(TabContents* source) const OVERRIDE; | 653 virtual bool CanReloadContents(TabContents* source) const OVERRIDE; |
654 virtual bool CanSaveContents(TabContents* source) const OVERRIDE; | 654 virtual bool CanSaveContents(TabContents* source) const OVERRIDE; |
655 | 655 |
656 // Overridden from SearchEngineTabHelperDelegate: | 656 // Overridden from SearchEngineTabHelperDelegate: |
657 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 657 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
658 Profile* profile) OVERRIDE; | 658 Profile* profile) OVERRIDE; |
659 | 659 |
660 // Overridden from ConstrainedWindowTabHelperDelegate: | 660 // Overridden from ConstrainedWindowTabHelperDelegate: |
661 virtual void SetTabContentBlocked(TabContents* contents, | 661 virtual void SetTabContentBlocked(TabContents* contents, |
662 bool blocked) OVERRIDE; | 662 bool blocked) OVERRIDE; |
| 663 virtual BrowserWindow* GetBrowserWindow() OVERRIDE; |
663 | 664 |
664 // Overridden from BlockedContentTabHelperDelegate: | 665 // Overridden from BlockedContentTabHelperDelegate: |
665 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; | 666 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; |
666 | 667 |
667 // Overridden from BookmarkTabHelperDelegate: | 668 // Overridden from BookmarkTabHelperDelegate: |
668 virtual void URLStarredChanged(TabContents* source, | 669 virtual void URLStarredChanged(TabContents* source, |
669 bool starred) OVERRIDE; | 670 bool starred) OVERRIDE; |
670 | 671 |
671 // Overridden from ZoomObserver: | 672 // Overridden from ZoomObserver: |
672 virtual void OnZoomChanged(TabContents* source, | 673 virtual void OnZoomChanged(TabContents* source, |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 bool window_has_shown_; | 933 bool window_has_shown_; |
933 | 934 |
934 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 935 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
935 // before DidEndColorChooser is called. | 936 // before DidEndColorChooser is called. |
936 scoped_ptr<content::ColorChooser> color_chooser_; | 937 scoped_ptr<content::ColorChooser> color_chooser_; |
937 | 938 |
938 DISALLOW_COPY_AND_ASSIGN(Browser); | 939 DISALLOW_COPY_AND_ASSIGN(Browser); |
939 }; | 940 }; |
940 | 941 |
941 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 942 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |