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.
7 #ifndef CHROME_FRAME_EVENT_HOOKER_H_
8 #define CHROME_FRAME_EVENT_HOOKER_H_
15 // Call this to install event hooks that will trigger on window creation
16 // and reparenting. Returns true if the hooks are successfully installed,
20 // Call this to remove the event hooks that are installed by StartHook().
23 // The callback invoked in response to an event registered for in StartHook().
24 static VOID CALLBACK
WindowCreationHookProc(HWINEVENTHOOK hook
,
33 HWINEVENTHOOK window_creation_hook_
;
36 #endif // CHROME_FRAME_EVENT_HOOKER_H_