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

Side by Side Diff: webkit/glue/plugins/plugin_instance.cc

Issue 211031: Remove the temporary Mac plugin whitelist.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « webkit/glue/plugins/plugin_instance.h ('k') | webkit/glue/plugins/plugin_list_mac.mm » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "webkit/glue/plugins/plugin_instance.h" 7 #include "webkit/glue/plugins/plugin_instance.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 24 matching lines...) Expand all
35 : plugin_(plugin), 35 : plugin_(plugin),
36 npp_(0), 36 npp_(0),
37 host_(PluginHost::Singleton()), 37 host_(PluginHost::Singleton()),
38 npp_functions_(plugin->functions()), 38 npp_functions_(plugin->functions()),
39 window_handle_(0), 39 window_handle_(0),
40 windowless_(false), 40 windowless_(false),
41 transparent_(true), 41 transparent_(true),
42 webplugin_(0), 42 webplugin_(0),
43 mime_type_(mime_type), 43 mime_type_(mime_type),
44 use_mozilla_user_agent_(false), 44 use_mozilla_user_agent_(false),
45 #if defined (OS_MACOSX)
46 drawing_model_(0),
47 event_model_(0),
48 #endif
45 message_loop_(MessageLoop::current()), 49 message_loop_(MessageLoop::current()),
46 load_manually_(false), 50 load_manually_(false),
47 in_close_streams_(false) { 51 in_close_streams_(false) {
48 npp_ = new NPP_t(); 52 npp_ = new NPP_t();
49 npp_->ndata = 0; 53 npp_->ndata = 0;
50 npp_->pdata = 0; 54 npp_->pdata = 0;
51 55
52 memset(&zero_padding_, 0, sizeof(zero_padding_)); 56 memset(&zero_padding_, 0, sizeof(zero_padding_));
53 DCHECK(message_loop_); 57 DCHECK(message_loop_);
54 } 58 }
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 stream->url, range_info.c_str(), 486 stream->url, range_info.c_str(),
483 reinterpret_cast<intptr_t>(plugin_stream), 487 reinterpret_cast<intptr_t>(plugin_stream),
484 plugin_stream->notify_needed(), 488 plugin_stream->notify_needed(),
485 reinterpret_cast<intptr_t>(plugin_stream->notify_data())); 489 reinterpret_cast<intptr_t>(plugin_stream->notify_data()));
486 break; 490 break;
487 } 491 }
488 } 492 }
489 } 493 }
490 494
491 } // namespace NPAPI 495 } // namespace NPAPI
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_instance.h ('k') | webkit/glue/plugins/plugin_list_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698