OLD | NEW |
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_RENDERER_INTENTS_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_INTENTS_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_INTENTS_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_INTENTS_DISPATCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
12 #include "webkit/glue/web_intent_data.h" | 12 #include "webkit/glue/web_intent_data.h" |
13 #include "webkit/glue/web_intent_reply_data.h" | 13 #include "webkit/glue/web_intent_reply_data.h" |
14 | 14 |
15 class RenderViewImpl; | 15 class RenderViewImpl; |
16 | 16 |
17 namespace WebKit { | 17 namespace WebKit { |
18 class WebFrame; | 18 class WebFrame; |
19 } | 19 } |
20 | 20 |
21 namespace webkit_glue { | 21 namespace webkit_glue { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 int intent_id_; | 62 int intent_id_; |
63 | 63 |
64 // Representation of the intent data as a C++ bound NPAPI object to be | 64 // Representation of the intent data as a C++ bound NPAPI object to be |
65 // injected into the Javascript context. | 65 // injected into the Javascript context. |
66 scoped_ptr<BoundDeliveredIntent> delivered_intent_; | 66 scoped_ptr<BoundDeliveredIntent> delivered_intent_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(IntentsDispatcher); | 68 DISALLOW_COPY_AND_ASSIGN(IntentsDispatcher); |
69 }; | 69 }; |
70 | 70 |
71 #endif // CONTENT_RENDERER_INTENTS_DISPATCHER_H_ | 71 #endif // CONTENT_RENDERER_INTENTS_DISPATCHER_H_ |
OLD | NEW |