| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 const content::OpenURLParams& params) OVERRIDE; | 403 const content::OpenURLParams& params) OVERRIDE; |
| 404 | 404 |
| 405 // Overridden from TabStripModelObserver: | 405 // Overridden from TabStripModelObserver: |
| 406 virtual void TabInsertedAt(content::WebContents* contents, | 406 virtual void TabInsertedAt(content::WebContents* contents, |
| 407 int index, | 407 int index, |
| 408 bool foreground) OVERRIDE; | 408 bool foreground) OVERRIDE; |
| 409 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 409 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
| 410 content::WebContents* contents, | 410 content::WebContents* contents, |
| 411 int index) OVERRIDE; | 411 int index) OVERRIDE; |
| 412 virtual void TabDetachedAt(content::WebContents* contents, | 412 virtual void TabDetachedAt(content::WebContents* contents, |
| 413 int index) OVERRIDE; | 413 int index, |
| 414 bool closing_all) OVERRIDE; |
| 414 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; | 415 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; |
| 415 virtual void ActiveTabChanged(content::WebContents* old_contents, | 416 virtual void ActiveTabChanged(content::WebContents* old_contents, |
| 416 content::WebContents* new_contents, | 417 content::WebContents* new_contents, |
| 417 int index, | 418 int index, |
| 418 int reason) OVERRIDE; | 419 int reason) OVERRIDE; |
| 419 virtual void TabMoved(content::WebContents* contents, | 420 virtual void TabMoved(content::WebContents* contents, |
| 420 int from_index, | 421 int from_index, |
| 421 int to_index) OVERRIDE; | 422 int to_index) OVERRIDE; |
| 422 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 423 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 423 content::WebContents* old_contents, | 424 content::WebContents* old_contents, |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 | 911 |
| 911 scoped_ptr<chrome::BrowserCommandController> command_controller_; | 912 scoped_ptr<chrome::BrowserCommandController> command_controller_; |
| 912 | 913 |
| 913 // True if the browser window has been shown at least once. | 914 // True if the browser window has been shown at least once. |
| 914 bool window_has_shown_; | 915 bool window_has_shown_; |
| 915 | 916 |
| 916 DISALLOW_COPY_AND_ASSIGN(Browser); | 917 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 917 }; | 918 }; |
| 918 | 919 |
| 919 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 920 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |