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

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

Issue 2079016: Linux: Initial scaffolding for default plugin. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: comments Created 10 years, 7 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
« no previous file with comments | « webkit/default_plugin/plugin_impl_mac.mm ('k') | webkit/default_plugin/plugin_main.h » ('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 "webkit/default_plugin/plugin_impl_win.h" 5 #include "webkit/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"
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 DCHECK(bold_font_ != NULL); 632 DCHECK(bold_font_ != NULL);
633 633
634 font_info.lfUnderline = TRUE; 634 font_info.lfUnderline = TRUE;
635 underline_font_ = CreateFontIndirect(&font_info); 635 underline_font_ = CreateFontIndirect(&font_info);
636 DCHECK(underline_font_ != NULL); 636 DCHECK(underline_font_ != NULL);
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 | « webkit/default_plugin/plugin_impl_mac.mm ('k') | webkit/default_plugin/plugin_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698