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

Side by Side Diff: chrome_frame/chrome_frame_helper_util.h

Issue 3158036: Add a helper process to Chrome Frame to allow for non-administrative installs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 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')
Property Changes:
Added: svn:eol-style
+ LF
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 #ifndef CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
6 #define CHROME_FRAME_CHROME_FRAME_HELPER_UTIL_H_
7
8 #include <windows.h>
9
10 // Compare the given class name with the known window class names for
11 // internet explorer browser windows.
12 //
13 // @param [in] window_to_check handle to the window to be checked
14 //
15 // @return true if the window class matches known class names for IE browser.
16 //
17 bool UtilIsWebBrowserWindow(HWND window_to_check);
18
19 // A utility function that retrieves the specified web browser COM interface
20 // from the web browser window. The passed in window must be the web browser
21 // window (class name "IEFrame" in IE6 and "TabWindowClass" in IE7)
22 // @param[in] window The web browser window whose COM object is to be fetched
23 // @param[in] iid The IID of the interface to be fetched
24 // @param[out] web_browser_object
25 // The requested interface pointer to the web browser object
26 // is returned in this variable upon success
27 //
28 HRESULT UtilGetWebBrowserObjectFromWindow(HWND window,
29 REFIID iid,
30 void** web_browser_object);
31
32 // Checks to see whether the passed in window is of the class specified.
33 // of the heirarchy list
34 // @param hwnd_to_match [in] The handle of the window that is to be
35 // matched.
36 // @param window_class [in] The window class to match against.
37 //
38 bool IsWindowOfClass(HWND hwnd_to_match, const wchar_t* window_class);
39
40 // Returns true if the current process name is process_name, false otherwise.
41 bool IsNamedProcess(const wchar_t* process_name);
42
43 #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