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

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

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
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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 namespace gfx { 25 namespace gfx {
26 class Point; 26 class Point;
27 class Rect; 27 class Rect;
28 class Size; 28 class Size;
29 } 29 }
30 30
31 namespace history { 31 namespace history {
32 class HistoryAddPageArgs; 32 class HistoryAddPageArgs;
33 } 33 }
34 34
35 namespace webkit_glue {
36 struct WebIntentData;
37 }
38
35 struct ContextMenuParams; 39 struct ContextMenuParams;
36 struct OpenURLParams; 40 struct OpenURLParams;
37 class DownloadItem; 41 class DownloadItem;
38 class GURL; 42 class GURL;
39 class HtmlDialogUIDelegate; 43 class HtmlDialogUIDelegate;
40 struct NativeWebKeyboardEvent; 44 struct NativeWebKeyboardEvent;
41 class RenderViewHost; 45 class RenderViewHost;
42 class TabContents; 46 class TabContents;
43 struct ViewHostMsg_RunFileChooser_Params; 47 struct ViewHostMsg_RunFileChooser_Params;
44 class FilePath; 48 class FilePath;
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // Register a new handler for Intents with the given action and type filter. 332 // Register a new handler for Intents with the given action and type filter.
329 virtual void RegisterIntentHandler(TabContents* tab, 333 virtual void RegisterIntentHandler(TabContents* tab,
330 const string16& action, 334 const string16& action,
331 const string16& type, 335 const string16& type,
332 const string16& href, 336 const string16& href,
333 const string16& title); 337 const string16& title);
334 338
335 // WebIntent notification handler. 339 // WebIntent notification handler.
336 virtual void WebIntentDispatch(TabContents* tab, 340 virtual void WebIntentDispatch(TabContents* tab,
337 int routing_id, 341 int routing_id,
338 const string16& action, 342 const webkit_glue::WebIntentData& intent,
339 const string16& type,
340 const string16& data,
341 int intent_id); 343 int intent_id);
342 344
343 // Result of string search in the page. This includes the number of matches 345 // Result of string search in the page. This includes the number of matches
344 // found and the selection rect (in screen coordinates) for the string found. 346 // found and the selection rect (in screen coordinates) for the string found.
345 // If |final_update| is false, it indicates that more results follow. 347 // If |final_update| is false, it indicates that more results follow.
346 virtual void FindReply(TabContents* tab, 348 virtual void FindReply(TabContents* tab,
347 int request_id, 349 int request_id,
348 int number_of_matches, 350 int number_of_matches,
349 const gfx::Rect& selection_rect, 351 const gfx::Rect& selection_rect,
350 int active_match_ordinal, 352 int active_match_ordinal,
(...skipping 16 matching lines...) Expand all
367 void Attach(TabContents* source); 369 void Attach(TabContents* source);
368 370
369 // Called when |this| is no longer the TabContentsDelegate for |source|. 371 // Called when |this| is no longer the TabContentsDelegate for |source|.
370 void Detach(TabContents* source); 372 void Detach(TabContents* source);
371 373
372 // The TabContents that this is currently a delegate for. 374 // The TabContents that this is currently a delegate for.
373 std::set<TabContents*> attached_contents_; 375 std::set<TabContents*> attached_contents_;
374 }; 376 };
375 377
376 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 378 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698