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 CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ | 5 #ifndef CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ |
6 #define CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ | 6 #define CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "chrome/renderer/plugins/plugin_placeholder.h" | 10 #include "chrome/renderer/plugins/plugin_placeholder.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 | 12 |
13 namespace content { | 13 namespace content { |
14 class RenderThread; | 14 class RenderThread; |
15 } | 15 } |
16 | 16 |
17 class MissingPlugin : public PluginPlaceholder { | 17 class MissingPlugin : public PluginPlaceholder { |
18 public: | 18 public: |
19 // Creates a new WebViewPlugin with a MissingPlugin as a delegate. | 19 // Creates a new WebViewPlugin with a MissingPlugin as a delegate. |
20 static webkit::WebViewPlugin* Create( | 20 static webkit::WebViewPlugin* Create( |
21 content::RenderView* render_view, | 21 content::RenderView* render_view, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // |routing_id()| is the routing ID of our associated RenderView, but we have | 53 // |routing_id()| is the routing ID of our associated RenderView, but we have |
54 // a separate routing ID for messages specific to this placeholder. | 54 // a separate routing ID for messages specific to this placeholder. |
55 int32 placeholder_routing_id_; | 55 int32 placeholder_routing_id_; |
56 | 56 |
57 string16 message_; | 57 string16 message_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(MissingPlugin); | 59 DISALLOW_COPY_AND_ASSIGN(MissingPlugin); |
60 }; | 60 }; |
61 | 61 |
62 #endif // CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ | 62 #endif // CHROME_RENDERER_PLUGINS_MISSING_PLUGIN_H_ |
OLD | NEW |