OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 virtual void RendererUnresponsive(TabContents* source); | 846 virtual void RendererUnresponsive(TabContents* source); |
847 virtual void RendererResponsive(TabContents* source); | 847 virtual void RendererResponsive(TabContents* source); |
848 virtual void WorkerCrashed(TabContents* source); | 848 virtual void WorkerCrashed(TabContents* source); |
849 virtual MainFrameCommitDetails* CreateMainFrameCommitDetails( | 849 virtual MainFrameCommitDetails* CreateMainFrameCommitDetails( |
850 TabContents* tab); | 850 TabContents* tab); |
851 virtual void DidNavigateMainFramePostCommit( | 851 virtual void DidNavigateMainFramePostCommit( |
852 TabContents* tab, | 852 TabContents* tab, |
853 const MainFrameCommitDetails& details); | 853 const MainFrameCommitDetails& details); |
854 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() | 854 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() |
855 OVERRIDE; | 855 OVERRIDE; |
| 856 virtual void RenderViewCreated(TabContents* source, |
| 857 RenderViewHost* host) OVERRIDE; |
856 | 858 |
857 // Overridden from TabContentsWrapperDelegate: | 859 // Overridden from TabContentsWrapperDelegate: |
858 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, | 860 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, |
859 int32 page_id) OVERRIDE; | 861 int32 page_id) OVERRIDE; |
860 virtual void OnInstallApplication( | 862 virtual void OnInstallApplication( |
861 TabContentsWrapper* source, | 863 TabContentsWrapper* source, |
862 const WebApplicationInfo& app_info) OVERRIDE; | 864 const WebApplicationInfo& app_info) OVERRIDE; |
863 | 865 |
864 // Note that the caller is responsible for deleting |old_tab_contents|. | 866 // Note that the caller is responsible for deleting |old_tab_contents|. |
865 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, | 867 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 // Helper which implements the TabRestoreServiceDelegate interface. | 1239 // Helper which implements the TabRestoreServiceDelegate interface. |
1238 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 1240 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
1239 | 1241 |
1240 scoped_ptr<InstantController> instant_; | 1242 scoped_ptr<InstantController> instant_; |
1241 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1243 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
1242 | 1244 |
1243 DISALLOW_COPY_AND_ASSIGN(Browser); | 1245 DISALLOW_COPY_AND_ASSIGN(Browser); |
1244 }; | 1246 }; |
1245 | 1247 |
1246 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1248 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |