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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // See description above MainFrameCommitDetails for details. | 301 // See description above MainFrameCommitDetails for details. |
302 virtual void DidNavigateMainFramePostCommit( | 302 virtual void DidNavigateMainFramePostCommit( |
303 TabContents* tab, | 303 TabContents* tab, |
304 const MainFrameCommitDetails& details); | 304 const MainFrameCommitDetails& details); |
305 | 305 |
306 // Returns a pointer to a service to create JavaScript dialogs. The default | 306 // Returns a pointer to a service to create JavaScript dialogs. The default |
307 // pointer returned is to a stub service that marks all dialogs as suppressed | 307 // pointer returned is to a stub service that marks all dialogs as suppressed |
308 // and displays nothing. | 308 // and displays nothing. |
309 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator(); | 309 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator(); |
310 | 310 |
| 311 // Invoked when a new renderer is created. |
| 312 virtual void RenderViewCreated(TabContents* source, RenderViewHost* host); |
| 313 |
311 protected: | 314 protected: |
312 virtual ~TabContentsDelegate(); | 315 virtual ~TabContentsDelegate(); |
313 }; | 316 }; |
314 | 317 |
315 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 318 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
OLD | NEW |