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

Unified Diff: chrome/test/activex_test_control/activex_test_control.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
Index: chrome/test/activex_test_control/activex_test_control.cc
===================================================================
--- chrome/test/activex_test_control/activex_test_control.cc (revision 25626)
+++ chrome/test/activex_test_control/activex_test_control.cc (working copy)
@@ -1,49 +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 <atlbase.h>
-#include <atlcom.h>
-
-#include "activex_test_control.h"
-#include "activex_test_control_i.c"
-#include "chrome/test/activex_test_control/resource.h"
-
-class ActiveXTestControllModule
- : public CAtlDllModuleT<ActiveXTestControllModule> {
- public:
- DECLARE_LIBID(LIBID_activex_test_controlLib)
- DECLARE_REGISTRY_APPID_RESOURCEID(IDR_ACTIVEX_TEST_CONTROL,
- "{CDBC0D94-AFF6-4918-90A9-7967179A77D8}")
-};
-
-ActiveXTestControllModule g_atlmodule;
-
-// DLL Entry Point
-extern "C" BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason,
- LPVOID reserved) {
- return g_atlmodule.DllMain(reason, reserved);
-}
-
-// Used to determine whether the DLL can be unloaded by OLE
-STDAPI DllCanUnloadNow(void) {
- return g_atlmodule.DllCanUnloadNow();
-}
-
-// Returns a class factory to create an object of the requested type
-STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) {
- return g_atlmodule.DllGetClassObject(rclsid, riid, ppv);
-}
-
-// DllRegisterServer - Adds entries to the system registry
-STDAPI DllRegisterServer(void) {
- // registers object, typelib and all interfaces in typelib
- HRESULT hr = g_atlmodule.DllRegisterServer();
- return hr;
-}
-
-// DllUnregisterServer - Removes entries from the system registry
-STDAPI DllUnregisterServer(void) {
- HRESULT hr = g_atlmodule.DllUnregisterServer();
- return hr;
-}
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/activex_test_control/activex_test_control.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698