| 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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 697 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 698 virtual void URLStarredChanged(TabContents* source, bool starred); | 698 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 699 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 699 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 700 virtual void ContentsMouseEvent( | 700 virtual void ContentsMouseEvent( |
| 701 TabContents* source, const gfx::Point& location, bool motion); | 701 TabContents* source, const gfx::Point& location, bool motion); |
| 702 virtual void ContentsZoomChange(bool zoom_in); | 702 virtual void ContentsZoomChange(bool zoom_in); |
| 703 virtual void OnContentSettingsChange(TabContents* source); | 703 virtual void OnContentSettingsChange(TabContents* source); |
| 704 virtual void SetTabContentBlocked(TabContents* contents, bool blocked); | 704 virtual void SetTabContentBlocked(TabContents* contents, bool blocked); |
| 705 virtual void TabContentsFocused(TabContents* tab_content); | 705 virtual void TabContentsFocused(TabContents* tab_content); |
| 706 virtual bool TakeFocus(bool reverse); | 706 virtual bool TakeFocus(bool reverse); |
| 707 virtual void Activate(); |
| 708 virtual void Deactivate(); |
| 707 virtual bool IsApplication() const; | 709 virtual bool IsApplication() const; |
| 708 virtual void ConvertContentsToApplication(TabContents* source); | 710 virtual void ConvertContentsToApplication(TabContents* source); |
| 709 virtual bool ShouldDisplayURLField(); | 711 virtual bool ShouldDisplayURLField(); |
| 710 virtual gfx::Rect GetRootWindowResizerRect() const; | 712 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 711 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 713 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 712 gfx::NativeWindow parent_window); | 714 gfx::NativeWindow parent_window); |
| 713 virtual void BeforeUnloadFired(TabContents* source, | 715 virtual void BeforeUnloadFired(TabContents* source, |
| 714 bool proceed, | 716 bool proceed, |
| 715 bool* proceed_to_fire_unload); | 717 bool* proceed_to_fire_unload); |
| 716 virtual void SetFocusToLocationBar(bool select_all); | 718 virtual void SetFocusToLocationBar(bool select_all); |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 mutable BooleanPrefMember use_vertical_tabs_; | 1068 mutable BooleanPrefMember use_vertical_tabs_; |
| 1067 | 1069 |
| 1068 // The profile's tab restore service. The service is owned by the profile, | 1070 // The profile's tab restore service. The service is owned by the profile, |
| 1069 // and we install ourselves as an observer. | 1071 // and we install ourselves as an observer. |
| 1070 TabRestoreService* tab_restore_service_; | 1072 TabRestoreService* tab_restore_service_; |
| 1071 | 1073 |
| 1072 DISALLOW_COPY_AND_ASSIGN(Browser); | 1074 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1073 }; | 1075 }; |
| 1074 | 1076 |
| 1075 #endif // CHROME_BROWSER_BROWSER_H_ | 1077 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |