| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 bool foreground); | 442 bool foreground); |
| 443 virtual void TabClosingAt(TabContents* contents, int index); | 443 virtual void TabClosingAt(TabContents* contents, int index); |
| 444 virtual void TabDetachedAt(TabContents* contents, int index); | 444 virtual void TabDetachedAt(TabContents* contents, int index); |
| 445 virtual void TabDeselectedAt(TabContents* contents, int index); | 445 virtual void TabDeselectedAt(TabContents* contents, int index); |
| 446 virtual void TabSelectedAt(TabContents* old_contents, | 446 virtual void TabSelectedAt(TabContents* old_contents, |
| 447 TabContents* new_contents, | 447 TabContents* new_contents, |
| 448 int index, | 448 int index, |
| 449 bool user_gesture); | 449 bool user_gesture); |
| 450 virtual void TabMoved(TabContents* contents, | 450 virtual void TabMoved(TabContents* contents, |
| 451 int from_index, | 451 int from_index, |
| 452 int to_index); | 452 int to_index, |
| 453 bool pinned_state_changed); |
| 453 virtual void TabStripEmpty(); | 454 virtual void TabStripEmpty(); |
| 454 | 455 |
| 455 // Overridden from TabContentsDelegate: | 456 // Overridden from TabContentsDelegate: |
| 456 virtual void OpenURLFromTab(TabContents* source, | 457 virtual void OpenURLFromTab(TabContents* source, |
| 457 const GURL& url, | 458 const GURL& url, |
| 458 const GURL& referrer, | 459 const GURL& referrer, |
| 459 WindowOpenDisposition disposition, | 460 WindowOpenDisposition disposition, |
| 460 PageTransition::Type transition); | 461 PageTransition::Type transition); |
| 461 virtual void NavigationStateChanged(const TabContents* source, | 462 virtual void NavigationStateChanged(const TabContents* source, |
| 462 unsigned changed_flags); | 463 unsigned changed_flags); |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 // The browser idle task helps cleanup unused memory resources when idle. | 754 // The browser idle task helps cleanup unused memory resources when idle. |
| 754 scoped_ptr<BrowserIdleTimer> idle_task_; | 755 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 755 | 756 |
| 756 // Keep track of the encoding auto detect pref. | 757 // Keep track of the encoding auto detect pref. |
| 757 BooleanPrefMember encoding_auto_detect_; | 758 BooleanPrefMember encoding_auto_detect_; |
| 758 | 759 |
| 759 DISALLOW_COPY_AND_ASSIGN(Browser); | 760 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 760 }; | 761 }; |
| 761 | 762 |
| 762 #endif // CHROME_BROWSER_BROWSER_H_ | 763 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |