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

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

Issue 101008: Adds a new API for launching Chrome at a given size and location. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 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 14735)
+++ chrome/installer/gcapi/gcapi.h (working copy)
@@ -33,9 +33,21 @@
// you called CoInitialize, call CoUninitialize before calling this function).
DLLEXPORT 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).
+// This call is synchronous, meaning it waits for Chrome to launch and appear
+// to resize it before returning.
+DLLEXPORT BOOL __stdcall LaunchGoogleChromeWithDimensions(int x,
+ int y,
+ int width,
+ int height);
+
// Funtion pointer type declarations to use with GetProcAddress.
typedef BOOL (__stdcall * GCCC_CompatibilityCheck)(BOOL, DWORD *);
typedef BOOL (__stdcall * GCCC_LaunchGC)(HANDLE *);
+typedef BOOL (__stdcall * GCCC_LaunchGCWithDimensions)(int, int, int, int);
} // extern "C"
#endif // # CHROME_INSTALLER_GCAPI_GCAPI_H_
« 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