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

Side by Side Diff: chrome/default_plugin/plugin_impl_mac.mm

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/default_plugin/plugin_impl_gtk.cc ('k') | chrome/default_plugin/plugin_impl_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/default_plugin/plugin_impl_mac.h" 5 #include "chrome/default_plugin/plugin_impl_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "app/l10n_util_mac.h" 9 #include "app/l10n_util_mac.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "chrome/default_plugin/plugin_main.h" 14 #include "chrome/default_plugin/plugin_main.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "grit/default_plugin_resources.h" 16 #include "grit/default_plugin_resources.h"
17 #include "grit/webkit_strings.h" 17 #include "grit/webkit_strings.h"
18 #include "unicode/locid.h" 18 #include "unicode/locid.h"
19 #include "webkit/glue/webkit_glue.h" 19 #include "webkit/glue/webkit_glue.h"
20 #include "webkit/plugins/npapi/default_plugin_shared.h" 20 #include "webkit/glue/plugins/default_plugin_shared.h"
21 21
22 // TODO(thakis): Most methods in this class are stubbed out and need to be 22 // TODO(thakis): Most methods in this class are stubbed out and need to be
23 // implemented. 23 // implemented.
24 24
25 PluginInstallerImpl::PluginInstallerImpl(int16 mode) 25 PluginInstallerImpl::PluginInstallerImpl(int16 mode)
26 : image_(nil), 26 : image_(nil),
27 command_(nil) { 27 command_(nil) {
28 } 28 }
29 29
30 PluginInstallerImpl::~PluginInstallerImpl() { 30 PluginInstallerImpl::~PluginInstallerImpl() {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 } 187 }
188 188
189 189
190 void PluginInstallerImpl::ShowInstallDialog() { 190 void PluginInstallerImpl::ShowInstallDialog() {
191 } 191 }
192 192
193 void PluginInstallerImpl::NotifyPluginStatus(int status) { 193 void PluginInstallerImpl::NotifyPluginStatus(int status) {
194 default_plugin::g_browser->getvalue( 194 default_plugin::g_browser->getvalue(
195 instance_, 195 instance_,
196 static_cast<NPNVariable>( 196 static_cast<NPNVariable>(
197 webkit::npapi::default_plugin::kMissingPluginStatusStart + status), 197 default_plugin::kMissingPluginStatusStart + status),
198 NULL); 198 NULL);
199 } 199 }
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_impl_gtk.cc ('k') | chrome/default_plugin/plugin_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698