| 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 <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 virtual void CloseContents(TabContents* source); | 508 virtual void CloseContents(TabContents* source); |
| 509 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 509 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
| 510 virtual void DetachContents(TabContents* source); | 510 virtual void DetachContents(TabContents* source); |
| 511 virtual bool IsPopup(TabContents* source); | 511 virtual bool IsPopup(TabContents* source); |
| 512 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 512 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 513 virtual void URLStarredChanged(TabContents* source, bool starred); | 513 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 514 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 514 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 515 virtual void ContentsMouseEvent(TabContents* source, bool motion); | 515 virtual void ContentsMouseEvent(TabContents* source, bool motion); |
| 516 virtual void ContentsZoomChange(bool zoom_in); | 516 virtual void ContentsZoomChange(bool zoom_in); |
| 517 virtual void TabContentsFocused(TabContents* tab_content); | 517 virtual void TabContentsFocused(TabContents* tab_content); |
| 518 virtual bool TakeFocus(bool reverse); |
| 518 virtual bool IsApplication() const; | 519 virtual bool IsApplication() const; |
| 519 virtual void ConvertContentsToApplication(TabContents* source); | 520 virtual void ConvertContentsToApplication(TabContents* source); |
| 520 virtual bool ShouldDisplayURLField(); | 521 virtual bool ShouldDisplayURLField(); |
| 521 virtual gfx::Rect GetRootWindowResizerRect() const; | 522 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 522 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 523 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 523 gfx::NativeWindow parent_window); | 524 gfx::NativeWindow parent_window); |
| 524 virtual void BeforeUnloadFired(TabContents* source, | 525 virtual void BeforeUnloadFired(TabContents* source, |
| 525 bool proceed, | 526 bool proceed, |
| 526 bool* proceed_to_fire_unload); | 527 bool* proceed_to_fire_unload); |
| 527 virtual void SetFocusToLocationBar(); | 528 virtual void SetFocusToLocationBar(); |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 // The browser idle task helps cleanup unused memory resources when idle. | 792 // The browser idle task helps cleanup unused memory resources when idle. |
| 792 scoped_ptr<BrowserIdleTimer> idle_task_; | 793 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 793 | 794 |
| 794 // Keep track of the encoding auto detect pref. | 795 // Keep track of the encoding auto detect pref. |
| 795 BooleanPrefMember encoding_auto_detect_; | 796 BooleanPrefMember encoding_auto_detect_; |
| 796 | 797 |
| 797 DISALLOW_COPY_AND_ASSIGN(Browser); | 798 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 798 }; | 799 }; |
| 799 | 800 |
| 800 #endif // CHROME_BROWSER_BROWSER_H_ | 801 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |