| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |