| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 class BrowserWindow; | 28 class BrowserWindow; |
| 29 class DebuggerWindow; | 29 class DebuggerWindow; |
| 30 class FindBarController; | 30 class FindBarController; |
| 31 class GoButton; | 31 class GoButton; |
| 32 class LocationBar; | 32 class LocationBar; |
| 33 class PrefService; | 33 class PrefService; |
| 34 class Profile; | 34 class Profile; |
| 35 class SkBitmap; | 35 class SkBitmap; |
| 36 class StatusBubble; | 36 class StatusBubble; |
| 37 class TabNavigation; | 37 class TabNavigation; |
| 38 namespace gfx { |
| 39 class Point; |
| 40 } |
| 38 | 41 |
| 39 class Browser : public TabStripModelDelegate, | 42 class Browser : public TabStripModelDelegate, |
| 40 public TabStripModelObserver, | 43 public TabStripModelObserver, |
| 41 public TabContentsDelegate, | 44 public TabContentsDelegate, |
| 42 public PageNavigator, | 45 public PageNavigator, |
| 43 public CommandUpdater::CommandUpdaterDelegate, | 46 public CommandUpdater::CommandUpdaterDelegate, |
| 44 public NotificationObserver, | 47 public NotificationObserver, |
| 45 public SelectFileDialog::Listener { | 48 public SelectFileDialog::Listener { |
| 46 public: | 49 public: |
| 47 // If you change the values in this enum you'll need to update browser_proxy. | 50 // If you change the values in this enum you'll need to update browser_proxy. |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 bool user_gesture); | 538 bool user_gesture); |
| 536 virtual void ActivateContents(TabContents* contents); | 539 virtual void ActivateContents(TabContents* contents); |
| 537 virtual void LoadingStateChanged(TabContents* source); | 540 virtual void LoadingStateChanged(TabContents* source); |
| 538 virtual void CloseContents(TabContents* source); | 541 virtual void CloseContents(TabContents* source); |
| 539 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 542 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 540 virtual void DetachContents(TabContents* source); | 543 virtual void DetachContents(TabContents* source); |
| 541 virtual bool IsPopup(TabContents* source); | 544 virtual bool IsPopup(TabContents* source); |
| 542 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 545 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 543 virtual void URLStarredChanged(TabContents* source, bool starred); | 546 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 544 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 547 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 545 virtual void ContentsMouseEvent(TabContents* source, bool motion); | 548 virtual void ContentsMouseEvent( |
| 549 TabContents* source, const gfx::Point& location, bool motion); |
| 546 virtual void ContentsZoomChange(bool zoom_in); | 550 virtual void ContentsZoomChange(bool zoom_in); |
| 547 virtual void TabContentsFocused(TabContents* tab_content); | 551 virtual void TabContentsFocused(TabContents* tab_content); |
| 548 virtual bool TakeFocus(bool reverse); | 552 virtual bool TakeFocus(bool reverse); |
| 549 virtual bool IsApplication() const; | 553 virtual bool IsApplication() const; |
| 550 virtual void ConvertContentsToApplication(TabContents* source); | 554 virtual void ConvertContentsToApplication(TabContents* source); |
| 551 virtual bool ShouldDisplayURLField(); | 555 virtual bool ShouldDisplayURLField(); |
| 552 virtual gfx::Rect GetRootWindowResizerRect() const; | 556 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 553 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 557 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 554 gfx::NativeWindow parent_window); | 558 gfx::NativeWindow parent_window); |
| 555 virtual void BeforeUnloadFired(TabContents* source, | 559 virtual void BeforeUnloadFired(TabContents* source, |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 // Dialog box used for opening and saving files. | 821 // Dialog box used for opening and saving files. |
| 818 scoped_refptr<SelectFileDialog> select_file_dialog_; | 822 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 819 | 823 |
| 820 // Keep track of the encoding auto detect pref. | 824 // Keep track of the encoding auto detect pref. |
| 821 BooleanPrefMember encoding_auto_detect_; | 825 BooleanPrefMember encoding_auto_detect_; |
| 822 | 826 |
| 823 DISALLOW_COPY_AND_ASSIGN(Browser); | 827 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 824 }; | 828 }; |
| 825 | 829 |
| 826 #endif // CHROME_BROWSER_BROWSER_H_ | 830 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |