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

Unified Diff: app/win_util.h

Issue 4569002: Fix ThumbnailGenerator on Windows. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Just fix thumbnail generator for now Created 10 years, 1 month 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
Index: app/win_util.h
diff --git a/app/win_util.h b/app/win_util.h
index 34c25869a97273f53d2d7dedfad2a6af1a9ff4ba..ab5cbc319f819fc51aba7c77fd292ebc69d62dd5 100644
--- a/app/win_util.h
+++ b/app/win_util.h
@@ -148,6 +148,10 @@ bool EdgeHasTopmostAutoHideTaskbar(UINT edge, HMONITOR monitor);
// Returns the new valid handle if the function succeed. NULL otherwise.
HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only);
+// Duplicates a section handle from the current process for use in another
+// process. Returns the new valid handle or NULL on failure.
+HANDLE GetSectionForProcess(HANDLE section, HANDLE process, bool read_only);
+
// Returns true if the specified window is the current active top window or one
// of its children.
bool DoesWindowBelongToActiveWindow(HWND window);

Powered by Google App Engine
This is Rietveld 408576698