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

Side by Side Diff: chrome_frame/chrome_frame_helper_util.h

Issue 7065024: Add a self-destruct mechanism to user-level Chrome Frame when it detects that system-level Chrome... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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_helper_main.cc ('k') | chrome_frame/chrome_frame_helper_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
6 #define CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_ 6 #define CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 // Compare the given class name with the known window class names for 10 // Compare the given class name with the known window class names for
11 // internet explorer browser windows. 11 // internet explorer browser windows.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // @param process_id_to_match [in] This parameter will be used to match 61 // @param process_id_to_match [in] This parameter will be used to match
62 // particular process id for window. 62 // particular process id for window.
63 // @return The window handle of the matching window, if found, or NULL. 63 // @return The window handle of the matching window, if found, or NULL.
64 // 64 //
65 HWND RecurseFindWindow(HWND parent, 65 HWND RecurseFindWindow(HWND parent,
66 const wchar_t* class_name, 66 const wchar_t* class_name,
67 const wchar_t* window_name, 67 const wchar_t* window_name,
68 DWORD thread_id_to_match, 68 DWORD thread_id_to_match,
69 DWORD process_id_to_match); 69 DWORD process_id_to_match);
70 70
71 // Reads |value_size| characters from a value named |value_name| in |key| and
72 // places them in the buffer pointed to by |value|. Returns ERROR_SUCCESS on
73 // success.
74 LONG ReadValue(HKEY key,
75 const wchar_t* value_name,
76 size_t value_size,
77 wchar_t* value);
78
79
80 // Returns true if our BHO is registered in the HKLM subkey that IE checks for
81 // the list of BHOs to load.
82 bool IsBHOLoadingPolicyRegistered();
83
84 // Returns true if system-level Chrome Frame is installed.
85 bool IsSystemLevelChromeFrameInstalled();
86
71 #endif // CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_ 87 #endif // CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_helper_main.cc ('k') | chrome_frame/chrome_frame_helper_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698