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

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

Issue 2803035: Move default_plugin out of webkit. (Closed)
Patch Set: '' Created 10 years, 5 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
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 #include "webkit/default_plugin/plugin_impl_win.h" 5 #include "chrome/default_plugin/plugin_impl_win.h"
6 6
7 #include <shellapi.h> 7 #include <shellapi.h>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/default_plugin/plugin_main.h"
12 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
13 #include "grit/webkit_strings.h" 14 #include "grit/webkit_strings.h"
14 #include "unicode/locid.h" 15 #include "unicode/locid.h"
15 #include "webkit/default_plugin/default_plugin_shared.h"
16 #include "webkit/default_plugin/plugin_main.h"
17 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 #include "webkit/glue/plugins/default_plugin_shared.h"
18 18
19 static const int TOOLTIP_MAX_WIDTH = 500; 19 static const int TOOLTIP_MAX_WIDTH = 500;
20 20
21 PluginInstallerImpl::PluginInstallerImpl(int16 mode) 21 PluginInstallerImpl::PluginInstallerImpl(int16 mode)
22 : instance_(NULL), 22 : instance_(NULL),
23 mode_(mode), 23 mode_(mode),
24 plugin_install_stream_(NULL), 24 plugin_install_stream_(NULL),
25 plugin_installer_state_(PluginInstallerStateUndefined), 25 plugin_installer_state_(PluginInstallerStateUndefined),
26 install_dialog_(NULL), 26 install_dialog_(NULL),
27 enable_click_(false), 27 enable_click_(false),
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 return true; 637 return true;
638 } 638 }
639 639
640 void PluginInstallerImpl::NotifyPluginStatus(int status) { 640 void PluginInstallerImpl::NotifyPluginStatus(int status) {
641 default_plugin::g_browser->getvalue( 641 default_plugin::g_browser->getvalue(
642 instance_, 642 instance_,
643 static_cast<NPNVariable>( 643 static_cast<NPNVariable>(
644 default_plugin::kMissingPluginStatusStart + status), 644 default_plugin::kMissingPluginStatusStart + status),
645 NULL); 645 NULL);
646 } 646 }
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_impl_win.h ('k') | chrome/default_plugin/plugin_install_job_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698