OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Thes file contains stuff that should be shared among projects that do some | 5 // Thes file contains stuff that should be shared among projects that do some |
6 // special handling with default plugin | 6 // special handling with default plugin |
7 | 7 |
8 #ifndef WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H | 8 #ifndef WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H |
9 #define WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H | 9 #define WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H |
10 | 10 |
11 namespace default_plugin { | 11 namespace default_plugin { |
12 | 12 |
13 // We use the NPNGetValue host function to send notification message to host. | 13 // We use the NPNGetValue host function to send notification message to host. |
14 // This corresponds to NPNVariable defined in npapi.h. However, we don't care | 14 // This corresponds to NPNVariable defined in npapi.h. However, we don't care |
15 // too much about value conflicts because on the host side, it will only respond | 15 // too much about value conflicts because on the host side, it will only respond |
16 // to such request coming from default plugin. | 16 // to such request coming from default plugin. |
17 const int kMissingPluginStatusStart = 3000; | 17 const int kMissingPluginStatusStart = 3000; |
18 | 18 |
19 enum MissingPluginStatus { | 19 enum MissingPluginStatus { |
20 MISSING_PLUGIN_AVAILABLE, | 20 MISSING_PLUGIN_AVAILABLE, |
21 MISSING_PLUGIN_USER_STARTED_DOWNLOAD | 21 MISSING_PLUGIN_USER_STARTED_DOWNLOAD |
22 }; | 22 }; |
23 | 23 |
24 } // namespace activex_shim | 24 } // namespace default_plugin |
25 | 25 |
26 #endif // #ifndef WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H | 26 #endif // #ifndef WEBKIT_DEFAULT_PLUGIN_DEFAULT_PLUGIN_SHARED_H |
OLD | NEW |