| 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 #include "content/browser/tab_contents/tab_contents_delegate.h" | 5 #include "content/browser/tab_contents/tab_contents_delegate.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "content/browser/javascript_dialogs.h" | 9 #include "content/browser/javascript_dialogs.h" |
| 10 #include "content/common/url_constants.h" | 10 #include "content/common/url_constants.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 } | 230 } |
| 231 private: | 231 private: |
| 232 friend struct DefaultSingletonTraits<JavaScriptDialogCreatorStub>; | 232 friend struct DefaultSingletonTraits<JavaScriptDialogCreatorStub>; |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 content::JavaScriptDialogCreator* | 235 content::JavaScriptDialogCreator* |
| 236 TabContentsDelegate::GetJavaScriptDialogCreator() { | 236 TabContentsDelegate::GetJavaScriptDialogCreator() { |
| 237 return JavaScriptDialogCreatorStub::GetInstance(); | 237 return JavaScriptDialogCreatorStub::GetInstance(); |
| 238 } | 238 } |
| 239 | 239 |
| 240 void TabContentsDelegate::RenderViewCreated(TabContents* source, |
| 241 RenderViewHost* host) { |
| 242 } |
| 243 |
| 240 TabContentsDelegate::~TabContentsDelegate() { | 244 TabContentsDelegate::~TabContentsDelegate() { |
| 241 } | 245 } |
| OLD | NEW |