| 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 bool user_gesture); | 508 bool user_gesture); |
| 509 virtual void ActivateContents(TabContents* contents); | 509 virtual void ActivateContents(TabContents* contents); |
| 510 virtual void LoadingStateChanged(TabContents* source); | 510 virtual void LoadingStateChanged(TabContents* source); |
| 511 virtual void CloseContents(TabContents* source); | 511 virtual void CloseContents(TabContents* source); |
| 512 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 512 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 513 virtual void DetachContents(TabContents* source); | 513 virtual void DetachContents(TabContents* source); |
| 514 virtual bool IsPopup(TabContents* source); | 514 virtual bool IsPopup(TabContents* source); |
| 515 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 515 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 516 virtual void URLStarredChanged(TabContents* source, bool starred); | 516 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 517 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 517 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 518 virtual void ChildWindowsChanged(TabContents* source); |
| 518 virtual void ContentsMouseEvent(TabContents* source, bool motion); | 519 virtual void ContentsMouseEvent(TabContents* source, bool motion); |
| 519 virtual void ContentsZoomChange(bool zoom_in); | 520 virtual void ContentsZoomChange(bool zoom_in); |
| 520 virtual void TabContentsFocused(TabContents* tab_content); | 521 virtual void TabContentsFocused(TabContents* tab_content); |
| 521 virtual bool TakeFocus(bool reverse); | 522 virtual bool TakeFocus(bool reverse); |
| 522 virtual bool IsApplication() const; | 523 virtual bool IsApplication() const; |
| 523 virtual void ConvertContentsToApplication(TabContents* source); | 524 virtual void ConvertContentsToApplication(TabContents* source); |
| 524 virtual bool ShouldDisplayURLField(); | 525 virtual bool ShouldDisplayURLField(); |
| 525 virtual gfx::Rect GetRootWindowResizerRect() const; | 526 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 526 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 527 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 527 gfx::NativeWindow parent_window); | 528 gfx::NativeWindow parent_window); |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 // Dialog box used for opening and saving files. | 796 // Dialog box used for opening and saving files. |
| 796 scoped_refptr<SelectFileDialog> select_file_dialog_; | 797 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 797 | 798 |
| 798 // Keep track of the encoding auto detect pref. | 799 // Keep track of the encoding auto detect pref. |
| 799 BooleanPrefMember encoding_auto_detect_; | 800 BooleanPrefMember encoding_auto_detect_; |
| 800 | 801 |
| 801 DISALLOW_COPY_AND_ASSIGN(Browser); | 802 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 802 }; | 803 }; |
| 803 | 804 |
| 804 #endif // CHROME_BROWSER_BROWSER_H_ | 805 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |