| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 content::WebContents* web_contents, | 641 content::WebContents* web_contents, |
| 642 const GURL& url, | 642 const GURL& url, |
| 643 const base::FilePath& plugin_path, | 643 const base::FilePath& plugin_path, |
| 644 const base::Callback<void(bool)>& callback) OVERRIDE; | 644 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 645 virtual gfx::Size GetSizeForNewRenderView( | 645 virtual gfx::Size GetSizeForNewRenderView( |
| 646 const content::WebContents* web_contents) const OVERRIDE; | 646 const content::WebContents* web_contents) const OVERRIDE; |
| 647 | 647 |
| 648 // Overridden from CoreTabHelperDelegate: | 648 // Overridden from CoreTabHelperDelegate: |
| 649 // Note that the caller is responsible for deleting |old_contents|. | 649 // Note that the caller is responsible for deleting |old_contents|. |
| 650 virtual void SwapTabContents(content::WebContents* old_contents, | 650 virtual void SwapTabContents(content::WebContents* old_contents, |
| 651 content::WebContents* new_contents) OVERRIDE; | 651 content::WebContents* new_contents, |
| 652 bool did_finish_load) OVERRIDE; |
| 652 virtual bool CanReloadContents( | 653 virtual bool CanReloadContents( |
| 653 content::WebContents* web_contents) const OVERRIDE; | 654 content::WebContents* web_contents) const OVERRIDE; |
| 654 virtual bool CanSaveContents( | 655 virtual bool CanSaveContents( |
| 655 content::WebContents* web_contents) const OVERRIDE; | 656 content::WebContents* web_contents) const OVERRIDE; |
| 656 | 657 |
| 657 // Overridden from SearchEngineTabHelperDelegate: | 658 // Overridden from SearchEngineTabHelperDelegate: |
| 658 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 659 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 659 Profile* profile) OVERRIDE; | 660 Profile* profile) OVERRIDE; |
| 660 | 661 |
| 661 // Overridden from WebContentsModalDialogManagerDelegate: | 662 // Overridden from WebContentsModalDialogManagerDelegate: |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 base::WeakPtrFactory<Browser> weak_factory_; | 927 base::WeakPtrFactory<Browser> weak_factory_; |
| 927 | 928 |
| 928 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; | 929 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; |
| 929 | 930 |
| 930 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 931 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
| 931 | 932 |
| 932 DISALLOW_COPY_AND_ASSIGN(Browser); | 933 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 933 }; | 934 }; |
| 934 | 935 |
| 935 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 936 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |