| 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 #ifndef CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ |   5 #ifndef CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ | 
|   6 #define CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ |   6 #define CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ | 
|   7 #pragma once |   7 #pragma once | 
|   8  |   8  | 
|   9 #include <atlbase.h> |   9 #include <atlbase.h> | 
|  10 #include <atlwin.h> |  10 #include <atlwin.h> | 
|  11 #include <string> |  11 #include <string> | 
|  12 #include <vector> |  12 #include <vector> | 
|  13  |  13  | 
 |  14 #include "base/win/atlcheck.h" | 
|  14 #include "chrome/default_plugin/default_plugin_resources.h" |  15 #include "chrome/default_plugin/default_plugin_resources.h" | 
|  15  |  16  | 
|  16 class PluginInstallerImpl; |  17 class PluginInstallerImpl; | 
|  17  |  18  | 
|  18 // Displays the plugin installation dialog containing information |  19 // Displays the plugin installation dialog containing information | 
|  19 // about the mime type of the plugin being downloaded, the URL |  20 // about the mime type of the plugin being downloaded, the URL | 
|  20 // where it would be downloaded from, etc. |  21 // where it would be downloaded from, etc. | 
|  21 class PluginInstallDialog : public CDialogImpl<PluginInstallDialog> { |  22 class PluginInstallDialog : public CDialogImpl<PluginInstallDialog> { | 
|  22  public: |  23  public: | 
|  23   enum {IDD = IDD_DEFAULT_PLUGIN_INSTALL_DIALOG}; |  24   enum {IDD = IDD_DEFAULT_PLUGIN_INSTALL_DIALOG}; | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  52  |  53  | 
|  53   // Wraps the string with Unicode directionality characters in order to make |  54   // Wraps the string with Unicode directionality characters in order to make | 
|  54   // sure BiDi text is rendered correctly when the UI layout is right-to-left. |  55   // sure BiDi text is rendered correctly when the UI layout is right-to-left. | 
|  55   void AdjustTextDirectionality(std::wstring* text) const; |  56   void AdjustTextDirectionality(std::wstring* text) const; | 
|  56  |  57  | 
|  57   std::vector<PluginInstallerImpl*> installers_; |  58   std::vector<PluginInstallerImpl*> installers_; | 
|  58   std::wstring plugin_name_; |  59   std::wstring plugin_name_; | 
|  59 }; |  60 }; | 
|  60  |  61  | 
|  61 #endif  // CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ |  62 #endif  // CHROME_DEFAULT_PLUGIN_INSTALL_DIALOG_H_ | 
| OLD | NEW |