Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: content/browser/tab_contents/tab_contents_delegate.cc

Issue 8343070: Support dispositon attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | content/common/intents_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | content/common/intents_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698