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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 void TabContentsDelegate::RegisterProtocolHandler(TabContents* tab, | 294 void TabContentsDelegate::RegisterProtocolHandler(TabContents* tab, |
295 const std::string& protocol, | 295 const std::string& protocol, |
296 const GURL& url, | 296 const GURL& url, |
297 const string16& title) { | 297 const string16& title) { |
298 } | 298 } |
299 | 299 |
300 void TabContentsDelegate::RegisterIntentHandler(TabContents* tab, | 300 void TabContentsDelegate::RegisterIntentHandler(TabContents* tab, |
301 const string16& action, | 301 const string16& action, |
302 const string16& type, | 302 const string16& type, |
303 const string16& href, | 303 const string16& href, |
304 const string16& title) { | 304 const string16& title, |
| 305 const string16& disposition) { |
305 } | 306 } |
306 | 307 |
307 void TabContentsDelegate::WebIntentDispatch( | 308 void TabContentsDelegate::WebIntentDispatch( |
308 TabContents* tab, | 309 TabContents* tab, |
309 int routing_id, | 310 int routing_id, |
310 const webkit_glue::WebIntentData& intent, | 311 const webkit_glue::WebIntentData& intent, |
311 int intent_id) { | 312 int intent_id) { |
312 } | 313 } |
313 | 314 |
314 void TabContentsDelegate::FindReply(TabContents* tab, | 315 void TabContentsDelegate::FindReply(TabContents* tab, |
(...skipping 28 matching lines...) Expand all Loading... |
343 attached_contents_.insert(tab_contents); | 344 attached_contents_.insert(tab_contents); |
344 } | 345 } |
345 | 346 |
346 void TabContentsDelegate::Detach(TabContents* tab_contents) { | 347 void TabContentsDelegate::Detach(TabContents* tab_contents) { |
347 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); | 348 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); |
348 attached_contents_.erase(tab_contents); | 349 attached_contents_.erase(tab_contents); |
349 } | 350 } |
350 | 351 |
351 void TabContentsDelegate::LostMouseLock() { | 352 void TabContentsDelegate::LostMouseLock() { |
352 } | 353 } |
OLD | NEW |