| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_H_ | 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ |
| 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ | 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | |
| 11 | 10 |
| 12 #include <gtk/gtk.h> | 11 #include <gtk/gtk.h> |
| 13 | 12 |
| 14 #include "gfx/native_widget_types.h" | 13 #include "gfx/native_widget_types.h" |
| 15 #include "third_party/npapi/bindings/npapi.h" | 14 #include "third_party/npapi/bindings/npapi.h" |
| 16 | 15 |
| 17 // Possible plugin installer states. | 16 // Possible plugin installer states. |
| 18 enum PluginInstallerState { | 17 enum PluginInstallerState { |
| 19 PluginInstallerStateUndefined, | 18 PluginInstallerStateUndefined, |
| 20 PluginListDownloadInitiated, | 19 PluginListDownloadInitiated, |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 std::string mime_type_; | 274 std::string mime_type_; |
| 276 // The current state of the plugin installer. | 275 // The current state of the plugin installer. |
| 277 PluginInstallerState plugin_installer_state_; | 276 PluginInstallerState plugin_installer_state_; |
| 278 // GtkPlug containing everything in the plugin. | 277 // GtkPlug containing everything in the plugin. |
| 279 GtkWidget* container_; | 278 GtkWidget* container_; |
| 280 | 279 |
| 281 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); | 280 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); |
| 282 }; | 281 }; |
| 283 | 282 |
| 284 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ | 283 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_GTK_H_ |
| OLD | NEW |