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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); | 474 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); |
475 virtual void DetachContents(TabContents* source); | 475 virtual void DetachContents(TabContents* source); |
476 virtual bool IsPopup(TabContents* source); | 476 virtual bool IsPopup(TabContents* source); |
477 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 477 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
478 virtual void URLStarredChanged(TabContents* source, bool starred); | 478 virtual void URLStarredChanged(TabContents* source, bool starred); |
479 | 479 |
480 // A mouse event occurred; motion==true is mouse movement, motion==false | 480 // A mouse event occurred; motion==true is mouse movement, motion==false |
481 // is the mouse leaving the view. | 481 // is the mouse leaving the view. |
482 virtual void ContentsMouseEvent(TabContents* source, bool motion); | 482 virtual void ContentsMouseEvent(TabContents* source, bool motion); |
483 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 483 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 484 virtual void UpdateDownloadShelfVisibility(bool visible); |
484 | 485 |
485 virtual void ContentsZoomChange(bool zoom_in); | 486 virtual void ContentsZoomChange(bool zoom_in); |
486 virtual bool IsApplication() const; | 487 virtual bool IsApplication() const; |
487 virtual void ConvertContentsToApplication(TabContents* source); | 488 virtual void ConvertContentsToApplication(TabContents* source); |
488 virtual bool ShouldDisplayURLField(); | 489 virtual bool ShouldDisplayURLField(); |
489 virtual void BeforeUnloadFired(TabContents* source, | 490 virtual void BeforeUnloadFired(TabContents* source, |
490 bool proceed, | 491 bool proceed, |
491 bool* proceed_to_fire_unload); | 492 bool* proceed_to_fire_unload); |
492 virtual gfx::Rect GetRootWindowResizerRect() const; | 493 virtual gfx::Rect GetRootWindowResizerRect() const; |
493 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 494 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 // The browser idle task helps cleanup unused memory resources when idle. | 763 // The browser idle task helps cleanup unused memory resources when idle. |
763 scoped_ptr<BrowserIdleTimer> idle_task_; | 764 scoped_ptr<BrowserIdleTimer> idle_task_; |
764 | 765 |
765 // Keep track of the encoding auto detect pref. | 766 // Keep track of the encoding auto detect pref. |
766 BooleanPrefMember encoding_auto_detect_; | 767 BooleanPrefMember encoding_auto_detect_; |
767 | 768 |
768 DISALLOW_COPY_AND_ASSIGN(Browser); | 769 DISALLOW_COPY_AND_ASSIGN(Browser); |
769 }; | 770 }; |
770 | 771 |
771 #endif // CHROME_BROWSER_BROWSER_H_ | 772 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |