Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: chrome/default_plugin/plugin_impl_win.h

Issue 6475011: Implemented policy to disable plugin finder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added the pref registration. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_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 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 int16 mode_; 264 int16 mode_;
265 // The handle to the icon displayed in the plugin installation window. 265 // The handle to the icon displayed in the plugin installation window.
266 HICON icon_; 266 HICON icon_;
267 // The Get plugin link message string displayed at the top left corner of 267 // The Get plugin link message string displayed at the top left corner of
268 // the plugin window. 268 // the plugin window.
269 std::wstring get_plugin_link_message_; 269 std::wstring get_plugin_link_message_;
270 // The command string displayed in the plugin installation window. 270 // The command string displayed in the plugin installation window.
271 std::wstring command_; 271 std::wstring command_;
272 // An additional message displayed at times by the plugin. 272 // An additional message displayed at times by the plugin.
273 std::wstring optional_additional_message_; 273 std::wstring optional_additional_message_;
274 // Set to true of plugin finder has been disabled.
Bernhard Bauer 2011/02/15 13:25:12 Nit: "if"
275 bool disable_plugin_finder_;
274 // The current stream. 276 // The current stream.
275 NPStream* plugin_install_stream_; 277 NPStream* plugin_install_stream_;
276 // The plugin finder URL. 278 // The plugin finder URL.
277 std::string plugin_finder_url_; 279 std::string plugin_finder_url_;
278 // The desired mime type. 280 // The desired mime type.
279 std::string mime_type_; 281 std::string mime_type_;
280 // The desired language. 282 // The desired language.
281 std::string desired_language_; 283 std::string desired_language_;
282 // The plugin name. 284 // The plugin name.
283 std::wstring plugin_name_; 285 std::wstring plugin_name_;
(...skipping 23 matching lines...) Expand all
307 HFONT regular_font_; 309 HFONT regular_font_;
308 HFONT underline_font_; 310 HFONT underline_font_;
309 // Tooltip Window. 311 // Tooltip Window.
310 HWND tooltip_; 312 HWND tooltip_;
311 313
312 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl); 314 DISALLOW_COPY_AND_ASSIGN(PluginInstallerImpl);
313 }; 315 };
314 316
315 317
316 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_ 318 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_IMPL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698