| 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 const GURL& referrer, | 425 const GURL& referrer, |
| 426 Profile* profile, | 426 Profile* profile, |
| 427 PageTransition::Type transition, | 427 PageTransition::Type transition, |
| 428 bool defer_load, | 428 bool defer_load, |
| 429 SiteInstance* instance) const; | 429 SiteInstance* instance) const; |
| 430 virtual bool CanDuplicateContentsAt(int index); | 430 virtual bool CanDuplicateContentsAt(int index); |
| 431 virtual void DuplicateContentsAt(int index); | 431 virtual void DuplicateContentsAt(int index); |
| 432 virtual void CloseFrameAfterDragSession(); | 432 virtual void CloseFrameAfterDragSession(); |
| 433 virtual void CreateHistoricalTab(TabContents* contents); | 433 virtual void CreateHistoricalTab(TabContents* contents); |
| 434 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents); | 434 virtual bool RunUnloadListenerBeforeClosing(TabContents* contents); |
| 435 virtual bool CanCloseContentsAt(int index); |
| 435 | 436 |
| 436 // Overridden from TabStripModelObserver: | 437 // Overridden from TabStripModelObserver: |
| 437 virtual void TabInsertedAt(TabContents* contents, | 438 virtual void TabInsertedAt(TabContents* contents, |
| 438 int index, | 439 int index, |
| 439 bool foreground); | 440 bool foreground); |
| 440 virtual void TabClosingAt(TabContents* contents, int index); | 441 virtual void TabClosingAt(TabContents* contents, int index); |
| 441 virtual void TabDetachedAt(TabContents* contents, int index); | 442 virtual void TabDetachedAt(TabContents* contents, int index); |
| 442 virtual void TabSelectedAt(TabContents* old_contents, | 443 virtual void TabSelectedAt(TabContents* old_contents, |
| 443 TabContents* new_contents, | 444 TabContents* new_contents, |
| 444 int index, | 445 int index, |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 // The browser idle task helps cleanup unused memory resources when idle. | 747 // The browser idle task helps cleanup unused memory resources when idle. |
| 747 scoped_ptr<BrowserIdleTimer> idle_task_; | 748 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 748 | 749 |
| 749 // Keep track of the encoding auto detect pref. | 750 // Keep track of the encoding auto detect pref. |
| 750 BooleanPrefMember encoding_auto_detect_; | 751 BooleanPrefMember encoding_auto_detect_; |
| 751 | 752 |
| 752 DISALLOW_COPY_AND_ASSIGN(Browser); | 753 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 753 }; | 754 }; |
| 754 | 755 |
| 755 #endif // CHROME_BROWSER_BROWSER_H_ | 756 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |