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

Side by Side Diff: plugin/linux/main_linux.cc

Issue 160317: linux: unexport as many symbols as possible (Closed)
Patch Set: Created 11 years, 4 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 | « plugin/cross/main.cc ('k') | v8/build.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 } 615 }
616 616
617 } // end anonymous namespace 617 } // end anonymous namespace
618 618
619 #if defined(O3D_INTERNAL_PLUGIN) 619 #if defined(O3D_INTERNAL_PLUGIN)
620 namespace o3d { 620 namespace o3d {
621 #else 621 #else
622 extern "C" { 622 extern "C" {
623 #endif 623 #endif
624 624
625 NPError OSCALL NP_Initialize(NPNetscapeFuncs *browserFuncs, 625 NPError EXPORT_SYMBOL OSCALL NP_Initialize(NPNetscapeFuncs *browserFuncs,
626 NPPluginFuncs *pluginFuncs) { 626 NPPluginFuncs *pluginFuncs) {
627 NPError retval = InitializeNPNApi(browserFuncs); 627 NPError retval = InitializeNPNApi(browserFuncs);
628 if (retval != NPERR_NO_ERROR) return retval; 628 if (retval != NPERR_NO_ERROR) return retval;
629 NP_GetEntryPoints(pluginFuncs); 629 NP_GetEntryPoints(pluginFuncs);
630 return InitializePlugin(); 630 return InitializePlugin();
631 } 631 }
632 632
633 NPError OSCALL NP_Shutdown(void) { 633 NPError EXPORT_SYMBOL OSCALL NP_Shutdown(void) {
634 HANDLE_CRASHES; 634 HANDLE_CRASHES;
635 DLOG(INFO) << "NP_Shutdown"; 635 DLOG(INFO) << "NP_Shutdown";
636 636
637 CommandLine::Terminate(); 637 CommandLine::Terminate();
638 638
639 // Force all base singletons to be destroyed. 639 // Force all base singletons to be destroyed.
640 g_at_exit_manager.reset(NULL); 640 g_at_exit_manager.reset(NULL);
641 641
642 return NPERR_NO_ERROR; 642 return NPERR_NO_ERROR;
643 } 643 }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 bool PluginObject::RequestFullscreenDisplay() { 803 bool PluginObject::RequestFullscreenDisplay() {
804 // TODO: Unimplemented. 804 // TODO: Unimplemented.
805 return false; 805 return false;
806 } 806 }
807 807
808 void PluginObject::CancelFullscreenDisplay() { 808 void PluginObject::CancelFullscreenDisplay() {
809 // TODO: Unimplemented. 809 // TODO: Unimplemented.
810 } 810 }
811 } // namespace _o3d 811 } // namespace _o3d
812 } // namespace glue 812 } // namespace glue
OLDNEW
« no previous file with comments | « plugin/cross/main.cc ('k') | v8/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698