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

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

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/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/common/render_messages_params.h ('k') | chrome/plugin/chrome_plugin_host.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_gtk.h" 5 #include "chrome/default_plugin/plugin_impl_gtk.h"
6 6
7 #include <gdk/gdkx.h> 7 #include <gdk/gdkx.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 "chrome/default_plugin/plugin_main.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "grit/webkit_strings.h" 14 #include "grit/webkit_strings.h"
15 #include "unicode/locid.h" 15 #include "unicode/locid.h"
16 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 #include "webkit/glue/plugins/default_plugin_shared.h" 17 #include "webkit/plugins/npapi/default_plugin_shared.h"
18 18
19 // TODO(thakis): Most methods in this class are stubbed out an need to be 19 // TODO(thakis): Most methods in this class are stubbed out an need to be
20 // implemented. 20 // implemented.
21 21
22 PluginInstallerImpl::PluginInstallerImpl(int16 mode) 22 PluginInstallerImpl::PluginInstallerImpl(int16 mode)
23 : instance_(NULL), 23 : instance_(NULL),
24 plugin_install_stream_(NULL), 24 plugin_install_stream_(NULL),
25 plugin_installer_state_(PluginInstallerStateUndefined), 25 plugin_installer_state_(PluginInstallerStateUndefined),
26 container_(NULL) { 26 container_(NULL) {
27 } 27 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 DisplayAvailablePluginStatus(); 130 DisplayAvailablePluginStatus();
131 } 131 }
132 132
133 void PluginInstallerImpl::ShowInstallDialog() { 133 void PluginInstallerImpl::ShowInstallDialog() {
134 } 134 }
135 135
136 void PluginInstallerImpl::NotifyPluginStatus(int status) { 136 void PluginInstallerImpl::NotifyPluginStatus(int status) {
137 default_plugin::g_browser->getvalue( 137 default_plugin::g_browser->getvalue(
138 instance_, 138 instance_,
139 static_cast<NPNVariable>( 139 static_cast<NPNVariable>(
140 default_plugin::kMissingPluginStatusStart + status), 140 webkit::npapi::default_plugin::kMissingPluginStatusStart + status),
141 NULL); 141 NULL);
142 } 142 }
OLDNEW
« no previous file with comments | « chrome/common/render_messages_params.h ('k') | chrome/plugin/chrome_plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698