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

Unified Diff: webkit/activex_shim_dll/activex_shim_dll.cc

Issue 200031: Take out the activex control. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/activex_shim/web_activex_site.cc ('k') | webkit/activex_shim_dll/activex_shim_dll.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/activex_shim_dll/activex_shim_dll.cc
===================================================================
--- webkit/activex_shim_dll/activex_shim_dll.cc (revision 25626)
+++ webkit/activex_shim_dll/activex_shim_dll.cc (working copy)
@@ -1,46 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <windows.h>
-
-#include "base/at_exit.h"
-#include "base/command_line.h"
-#include "base/logging.h"
-#include "webkit/activex_shim/npp_impl.h"
-
-base::AtExitManager* g_exit_manager = NULL;
-// DLL Entry Point
-extern "C" BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason,
- LPVOID reserved) {
- if (reason == DLL_PROCESS_ATTACH) {
- g_exit_manager = new base::AtExitManager();
-#ifdef TRACK_INTERFACE
- CommandLine::Init(0, NULL);
-
- // TODO(ruijiang): Ugly hard-coded path is not good. But we only do it
- // for debug build now to trace interface use. Try to find a better place
- // later.
- logging::InitLogging(L"c:\\activex_shim.log",
- logging::LOG_ONLY_TO_FILE,
- logging::DONT_LOCK_LOG_FILE,
- logging::DELETE_OLD_LOG_FILE);
-#endif
- } else if (reason == DLL_PROCESS_DETACH) {
- delete g_exit_manager;
- g_exit_manager = NULL;
- }
- return TRUE;
-}
-
-NPError WINAPI NP_GetEntryPoints(NPPluginFuncs* funcs) {
- return activex_shim::ActiveX_Shim_NP_GetEntryPoints(funcs);
-}
-
-NPError WINAPI NP_Initialize(NPNetscapeFuncs* funcs) {
- return activex_shim::ActiveX_Shim_NP_Initialize(funcs);
-}
-
-NPError WINAPI NP_Shutdown(void) {
- return activex_shim::ActiveX_Shim_NP_Shutdown();
-}
« no previous file with comments | « webkit/activex_shim/web_activex_site.cc ('k') | webkit/activex_shim_dll/activex_shim_dll.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698