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

Unified Diff: chrome/installer/gcapi/gcapi.h

Issue 8776038: Fix up GCAPI's LaunchGoogleChrome() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« no previous file with comments | « no previous file | chrome/installer/gcapi/gcapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/gcapi/gcapi.h
===================================================================
--- chrome/installer/gcapi/gcapi.h (revision 112456)
+++ chrome/installer/gcapi/gcapi.h (working copy)
@@ -27,20 +27,23 @@
BOOL __stdcall GoogleChromeCompatibilityCheck(BOOL set_flag, DWORD* reasons);
// This function launches Google Chrome after a successful install. Make
-// sure COM library is NOT initalized before you call this function (so if
+// sure COM library is NOT initialized before you call this function (so if
// you called CoInitialize, call CoUninitialize before calling this function).
BOOL __stdcall LaunchGoogleChrome();
// This function launches Google Chrome after a successful install at the
-// given x,y coordinates with size height,length. Make
-// sure COM library is NOT initalized before you call this function (so if
-// you called CoInitialize, call CoUninitialize before calling this function).
+// given x,y coordinates with size height,length. Set in_background to true
+// to move Google Chrome behind all other windows or false to have it appear
+// at the default z-order. Make sure that COM is NOT initialized before you call
+// this function (so if you called CoInitialize, call CoUninitialize before
+// calling this function).
// This call is synchronous, meaning it waits for Chrome to launch and appear
// to resize it before returning.
BOOL __stdcall LaunchGoogleChromeWithDimensions(int x,
- int y,
- int width,
- int height);
+ int y,
+ int width,
+ int height,
+ bool in_background);
// This function returns the number of days since Google Chrome was last run by
// the current user. If both user-level and machine-wide installations are
« no previous file with comments | « no previous file | chrome/installer/gcapi/gcapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698