| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_WIN_H_ | 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ |
| 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ | 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // state of the plugin installer. | 167 // state of the plugin installer. |
| 168 void set_plugin_installer_state(PluginInstallerState new_state) { | 168 void set_plugin_installer_state(PluginInstallerState new_state) { |
| 169 plugin_installer_state_ = new_state; | 169 plugin_installer_state_ = new_state; |
| 170 } | 170 } |
| 171 | 171 |
| 172 PluginInstallerState plugin_installer_state() const { | 172 PluginInstallerState plugin_installer_state() const { |
| 173 return plugin_installer_state_; | 173 return plugin_installer_state_; |
| 174 } | 174 } |
| 175 | 175 |
| 176 // Getter for the NPP instance member. | 176 // Getter for the NPP instance member. |
| 177 const NPP instance() const { | 177 NPP instance() const { |
| 178 return instance_; | 178 return instance_; |
| 179 } | 179 } |
| 180 | 180 |
| 181 // Returns whether or not the UI layout is right-to-left (such as Hebrew or | 181 // Returns whether or not the UI layout is right-to-left (such as Hebrew or |
| 182 // Arabic). | 182 // Arabic). |
| 183 static bool IsRTLLayout(); | 183 static bool IsRTLLayout(); |
| 184 | 184 |
| 185 protected: | 185 protected: |
| 186 // Window message handlers. | 186 // Window message handlers. |
| 187 LRESULT OnPaint(UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled); | 187 LRESULT OnPaint(UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 HFONT regular_font_; | 308 HFONT regular_font_; |
| 309 HFONT underline_font_; | 309 HFONT underline_font_; |
| 310 // Tooltip Window. | 310 // Tooltip Window. |
| 311 HWND tooltip_; | 311 HWND tooltip_; |
| 312 | 312 |
| 313 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); | 313 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 | 316 |
| 317 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ | 317 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ |
| OLD | NEW |