| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 virtual bool IsPopup(TabContents* source); | 471 virtual bool IsPopup(TabContents* source); |
| 472 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); | 472 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); |
| 473 virtual void URLStarredChanged(TabContents* source, bool starred); | 473 virtual void URLStarredChanged(TabContents* source, bool starred); |
| 474 | 474 |
| 475 // A mouse event occurred; motion==true is mouse movement, motion==false | 475 // A mouse event occurred; motion==true is mouse movement, motion==false |
| 476 // is the mouse leaving the view. | 476 // is the mouse leaving the view. |
| 477 virtual void ContentsMouseEvent(TabContents* source, bool motion); | 477 virtual void ContentsMouseEvent(TabContents* source, bool motion); |
| 478 virtual void UpdateTargetURL(TabContents* source, const GURL& url); | 478 virtual void UpdateTargetURL(TabContents* source, const GURL& url); |
| 479 | 479 |
| 480 virtual void ContentsZoomChange(bool zoom_in); | 480 virtual void ContentsZoomChange(bool zoom_in); |
| 481 virtual void TabContentsFocused(TabContents* tab_content); |
| 481 virtual bool IsApplication() const; | 482 virtual bool IsApplication() const; |
| 482 virtual void ConvertContentsToApplication(TabContents* source); | 483 virtual void ConvertContentsToApplication(TabContents* source); |
| 483 virtual bool ShouldDisplayURLField(); | 484 virtual bool ShouldDisplayURLField(); |
| 484 virtual void BeforeUnloadFired(TabContents* source, | 485 virtual void BeforeUnloadFired(TabContents* source, |
| 485 bool proceed, | 486 bool proceed, |
| 486 bool* proceed_to_fire_unload); | 487 bool* proceed_to_fire_unload); |
| 487 virtual gfx::Rect GetRootWindowResizerRect() const; | 488 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 488 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 489 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 489 gfx::NativeWindow parent_window); | 490 gfx::NativeWindow parent_window); |
| 490 virtual void SetFocusToLocationBar(); | 491 virtual void SetFocusToLocationBar(); |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 // The browser idle task helps cleanup unused memory resources when idle. | 769 // The browser idle task helps cleanup unused memory resources when idle. |
| 769 scoped_ptr<BrowserIdleTimer> idle_task_; | 770 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 770 | 771 |
| 771 // Keep track of the encoding auto detect pref. | 772 // Keep track of the encoding auto detect pref. |
| 772 BooleanPrefMember encoding_auto_detect_; | 773 BooleanPrefMember encoding_auto_detect_; |
| 773 | 774 |
| 774 DISALLOW_COPY_AND_ASSIGN(Browser); | 775 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 775 }; | 776 }; |
| 776 | 777 |
| 777 #endif // CHROME_BROWSER_BROWSER_H_ | 778 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |