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

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

Issue 7930002: Rename WebIntentData for backend storage to WebIntentServiceData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix class/struct decl Created 9 years, 3 months 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"
11 #include "content/browser/tab_contents/tab_contents.h" 11 #include "content/browser/tab_contents/tab_contents.h"
12 #include "content/common/url_constants.h" 12 #include "content/common/url_constants.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 #include "webkit/glue/web_intent_data.h"
14 15
15 TabContentsDelegate::TabContentsDelegate() { 16 TabContentsDelegate::TabContentsDelegate() {
16 } 17 }
17 18
18 TabContents* TabContentsDelegate::OpenURLFromTab( 19 TabContents* TabContentsDelegate::OpenURLFromTab(
19 TabContents* source, 20 TabContents* source,
20 const GURL& url, 21 const GURL& url,
21 const GURL& referrer, 22 const GURL& referrer,
22 WindowOpenDisposition disposition, 23 WindowOpenDisposition disposition,
23 PageTransition::Type transition) { 24 PageTransition::Type transition) {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 const string16& title) { 303 const string16& title) {
303 } 304 }
304 305
305 void TabContentsDelegate::RegisterIntentHandler(TabContents* tab, 306 void TabContentsDelegate::RegisterIntentHandler(TabContents* tab,
306 const string16& action, 307 const string16& action,
307 const string16& type, 308 const string16& type,
308 const string16& href, 309 const string16& href,
309 const string16& title) { 310 const string16& title) {
310 } 311 }
311 312
312 void TabContentsDelegate::WebIntentDispatch(TabContents* tab, 313 void TabContentsDelegate::WebIntentDispatch(
313 int routing_id, 314 TabContents* tab,
314 const string16& action, 315 int routing_id,
315 const string16& type, 316 const webkit_glue::WebIntentData& intent,
316 const string16& data, 317 int intent_id) {
317 int intent_id) {
318 } 318 }
319 319
320 void TabContentsDelegate::FindReply(TabContents* tab, 320 void TabContentsDelegate::FindReply(TabContents* tab,
321 int request_id, 321 int request_id,
322 int number_of_matches, 322 int number_of_matches,
323 const gfx::Rect& selection_rect, 323 const gfx::Rect& selection_rect,
324 int active_match_ordinal, 324 int active_match_ordinal,
325 bool final_update) { 325 bool final_update) {
326 } 326 }
327 327
(...skipping 15 matching lines...) Expand all
343 343
344 void TabContentsDelegate::Attach(TabContents* tab_contents) { 344 void TabContentsDelegate::Attach(TabContents* tab_contents) {
345 DCHECK(attached_contents_.find(tab_contents) == attached_contents_.end()); 345 DCHECK(attached_contents_.find(tab_contents) == attached_contents_.end());
346 attached_contents_.insert(tab_contents); 346 attached_contents_.insert(tab_contents);
347 } 347 }
348 348
349 void TabContentsDelegate::Detach(TabContents* tab_contents) { 349 void TabContentsDelegate::Detach(TabContents* tab_contents) {
350 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end()); 350 DCHECK(attached_contents_.find(tab_contents) != attached_contents_.end());
351 attached_contents_.erase(tab_contents); 351 attached_contents_.erase(tab_contents);
352 } 352 }
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