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

Side by Side Diff: chrome_frame/chrome_frame_helper_dll.cc

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 | « chrome_frame/chrome_frame_elevation.rgs ('k') | chrome_frame/chrome_frame_helper_dll.def » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // chrome_frame_helper_dll.cc : Implementation of a helper DLL that initializes
6 // a listener for WinEvent hooks on load.
7 //
8 // Calling the StartUserModeBrowserInjection will set an in-context WinEvent
9 // hook that will cause this DLL to get loaded in any process that sends
10 // EVENT_OBJECT_CREATE accessibility events. This is a poor substitute to
11 // getting in via vetted means (i.e. real BHO registration).
12
13 #include "chrome_frame/bho_loader.h"
14 #include "chrome_frame/chrome_frame_helper_util.h"
15
16 STDAPI StartUserModeBrowserInjection() {
17 return BHOLoader::GetInstance()->StartHook() ? S_OK : E_FAIL;
18 }
19
20 STDAPI StopUserModeBrowserInjection() {
21 BHOLoader::GetInstance()->StopHook();
22 return S_OK;
23 }
24
25 BOOL APIENTRY DllMain(HMODULE module, DWORD reason_for_call, void* reserved) {
26 return TRUE;
27 }
28
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_elevation.rgs ('k') | chrome_frame/chrome_frame_helper_dll.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698