OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_H_ |
6 #define CHROME_BROWSER_BROWSER_H_ | 6 #define CHROME_BROWSER_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 virtual void ContentsMouseEvent( | 720 virtual void ContentsMouseEvent( |
721 TabContents* source, const gfx::Point& location, bool motion); | 721 TabContents* source, const gfx::Point& location, bool motion); |
722 virtual void ContentsZoomChange(bool zoom_in); | 722 virtual void ContentsZoomChange(bool zoom_in); |
723 virtual void OnContentSettingsChange(TabContents* source); | 723 virtual void OnContentSettingsChange(TabContents* source); |
724 virtual void SetTabContentBlocked(TabContents* contents, bool blocked); | 724 virtual void SetTabContentBlocked(TabContents* contents, bool blocked); |
725 virtual void TabContentsFocused(TabContents* tab_content); | 725 virtual void TabContentsFocused(TabContents* tab_content); |
726 virtual bool TakeFocus(bool reverse); | 726 virtual bool TakeFocus(bool reverse); |
727 virtual bool IsApplication() const; | 727 virtual bool IsApplication() const; |
728 virtual void ConvertContentsToApplication(TabContents* source); | 728 virtual void ConvertContentsToApplication(TabContents* source); |
729 virtual bool ShouldDisplayURLField(); | 729 virtual bool ShouldDisplayURLField(); |
730 virtual gfx::Rect GetRootWindowResizerRect() const; | |
731 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 730 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
732 gfx::NativeWindow parent_window); | 731 gfx::NativeWindow parent_window); |
733 virtual void BeforeUnloadFired(TabContents* source, | 732 virtual void BeforeUnloadFired(TabContents* source, |
734 bool proceed, | 733 bool proceed, |
735 bool* proceed_to_fire_unload); | 734 bool* proceed_to_fire_unload); |
736 virtual void SetFocusToLocationBar(bool select_all); | 735 virtual void SetFocusToLocationBar(bool select_all); |
737 virtual void RenderWidgetShowing(); | 736 virtual void RenderWidgetShowing(); |
738 virtual int GetExtraRenderViewHeight() const; | 737 virtual int GetExtraRenderViewHeight() const; |
739 virtual void OnStartDownload(DownloadItem* download, TabContents* tab); | 738 virtual void OnStartDownload(DownloadItem* download, TabContents* tab); |
740 virtual void ConfirmSetDefaultSearchProvider( | 739 virtual void ConfirmSetDefaultSearchProvider( |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 // The profile's tab restore service. The service is owned by the profile, | 1083 // The profile's tab restore service. The service is owned by the profile, |
1085 // and we install ourselves as an observer. | 1084 // and we install ourselves as an observer. |
1086 TabRestoreService* tab_restore_service_; | 1085 TabRestoreService* tab_restore_service_; |
1087 | 1086 |
1088 scoped_ptr<InstantController> instant_; | 1087 scoped_ptr<InstantController> instant_; |
1089 | 1088 |
1090 DISALLOW_COPY_AND_ASSIGN(Browser); | 1089 DISALLOW_COPY_AND_ASSIGN(Browser); |
1091 }; | 1090 }; |
1092 | 1091 |
1093 #endif // CHROME_BROWSER_BROWSER_H_ | 1092 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |