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

Side by Side Diff: content/public/browser/web_intents_dispatcher.h

Issue 9651020: Pass content-type resources to web intents. Goes through download, then invokes the p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ability to send unserialized intent data from browser process. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/common/content_export.h"
9 #include "webkit/glue/web_intent_reply_data.h" 10 #include "webkit/glue/web_intent_reply_data.h"
10 11
11 namespace webkit_glue { 12 namespace webkit_glue {
12 enum WebIntentReplyType; 13 enum WebIntentReplyType;
13 struct WebIntentData; 14 struct WebIntentData;
14 } 15 }
15 16
16 namespace content { 17 namespace content {
17 18
18 class WebContents; 19 class WebContents;
(...skipping 29 matching lines...) Expand all
48 const string16& data) = 0; 49 const string16& data) = 0;
49 50
50 // Register a callback to be notified when SendReplyMessage is called. 51 // Register a callback to be notified when SendReplyMessage is called.
51 virtual void RegisterReplyNotification( 52 virtual void RegisterReplyNotification(
52 const base::Callback<void(webkit_glue::WebIntentReplyType)>& closure) = 0; 53 const base::Callback<void(webkit_glue::WebIntentReplyType)>& closure) = 0;
53 }; 54 };
54 55
55 } // namespace content 56 } // namespace content
56 57
57 #endif // CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_ 58 #endif // CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698