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