OLD | NEW |
1 // Copyright (c) 2010 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_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ | 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ |
6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ | 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "chrome/default_plugin/plugin_installer_base.h" | 11 #include "chrome/default_plugin/plugin_installer_base.h" |
(...skipping 15 matching lines...) Expand all Loading... |
27 PluginListDownloaded, | 27 PluginListDownloaded, |
28 PluginListDownloadedPluginNotFound, | 28 PluginListDownloadedPluginNotFound, |
29 PluginListDownloadFailed, | 29 PluginListDownloadFailed, |
30 PluginDownloadInitiated, | 30 PluginDownloadInitiated, |
31 PluginDownloadCompleted, | 31 PluginDownloadCompleted, |
32 PluginDownloadFailed, | 32 PluginDownloadFailed, |
33 PluginInstallerLaunchSuccess, | 33 PluginInstallerLaunchSuccess, |
34 PluginInstallerLaunchFailure | 34 PluginInstallerLaunchFailure |
35 }; | 35 }; |
36 | 36 |
37 class PluginInstallDialog; | |
38 class PluginDatabaseHandler; | |
39 | |
40 // Provides the plugin installation functionality. This class is | 37 // Provides the plugin installation functionality. This class is |
41 // instantiated with the information like the mime type of the | 38 // instantiated with the information like the mime type of the |
42 // target plugin, the display mode, etc. | 39 // target plugin, the display mode, etc. |
43 class PluginInstallerImpl : public PluginInstallerBase { | 40 class PluginInstallerImpl : public PluginInstallerBase { |
44 public: | 41 public: |
45 // mode is the plugin instantiation mode, i.e. whether it is a full | 42 // mode is the plugin instantiation mode, i.e. whether it is a full |
46 // page plugin (NP_FULL) or an embedded plugin (NP_EMBED) | 43 // page plugin (NP_FULL) or an embedded plugin (NP_EMBED) |
47 explicit PluginInstallerImpl(int16 mode); | 44 explicit PluginInstallerImpl(int16 mode); |
48 virtual ~PluginInstallerImpl(); | 45 virtual ~PluginInstallerImpl(); |
49 | 46 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 // Plugin icon, weak (owned by ResourceBundle). | 286 // Plugin icon, weak (owned by ResourceBundle). |
290 NSImage* image_; | 287 NSImage* image_; |
291 // Displayed text | 288 // Displayed text |
292 NSString* command_; | 289 NSString* command_; |
293 | 290 |
294 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); | 291 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); |
295 }; | 292 }; |
296 | 293 |
297 | 294 |
298 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ | 295 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_MAC_H_ |
OLD | NEW |