| 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/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 10 #include "content/browser/javascript_dialogs.h" | 10 #include "content/browser/javascript_dialogs.h" |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 private: | 272 private: |
| 273 friend struct DefaultSingletonTraits<JavaScriptDialogCreatorStub>; | 273 friend struct DefaultSingletonTraits<JavaScriptDialogCreatorStub>; |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 content::JavaScriptDialogCreator* | 276 content::JavaScriptDialogCreator* |
| 277 TabContentsDelegate::GetJavaScriptDialogCreator() { | 277 TabContentsDelegate::GetJavaScriptDialogCreator() { |
| 278 return JavaScriptDialogCreatorStub::GetInstance(); | 278 return JavaScriptDialogCreatorStub::GetInstance(); |
| 279 } | 279 } |
| 280 | 280 |
| 281 void TabContentsDelegate::RunFileChooser( | 281 void TabContentsDelegate::RunFileChooser( |
| 282 TabContents* tab, const ViewHostMsg_RunFileChooser_Params& params) { | 282 TabContents* tab, const content::FileChooserParams& params) { |
| 283 } | 283 } |
| 284 | 284 |
| 285 void TabContentsDelegate::EnumerateDirectory(TabContents* tab, int request_id, | 285 void TabContentsDelegate::EnumerateDirectory(TabContents* tab, int request_id, |
| 286 const FilePath& path) { | 286 const FilePath& path) { |
| 287 } | 287 } |
| 288 | 288 |
| 289 void TabContentsDelegate::ToggleFullscreenModeForTab(TabContents* tab, | 289 void TabContentsDelegate::ToggleFullscreenModeForTab(TabContents* tab, |
| 290 bool enter_fullscreen) { | 290 bool enter_fullscreen) { |
| 291 } | 291 } |
| 292 | 292 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 attached_contents_.insert(tab_contents); | 356 attached_contents_.insert(tab_contents); |
| 357 } | 357 } |
| 358 | 358 |
| 359 void TabContentsDelegate::Detach(TabContents* tab_contents) { | 359 void TabContentsDelegate::Detach(TabContents* tab_contents) { |
| 360 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); | 360 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); |
| 361 attached_contents_.erase(tab_contents); | 361 attached_contents_.erase(tab_contents); |
| 362 } | 362 } |
| 363 | 363 |
| 364 void TabContentsDelegate::LostMouseLock() { | 364 void TabContentsDelegate::LostMouseLock() { |
| 365 } | 365 } |
| OLD | NEW |