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

Unified Diff: ui/base/win/shell.h

Issue 23146009: [WIN] Remove "Pin this program to taskbar" of panel window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 | « chrome/browser/ui/views/panels/panel_view.cc ('k') | ui/base/win/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/shell.h
diff --git a/ui/base/win/shell.h b/ui/base/win/shell.h
index 364b7a32712897fce09b2ab34bbd4394e5cfab0f..073c60da76369c48847d6448ec89561a2ecedddf 100644
--- a/ui/base/win/shell.h
+++ b/ui/base/win/shell.h
@@ -41,6 +41,10 @@ UI_EXPORT bool OpenAnyViaShell(const string16& full_path,
// Returns 'true' on successful open, 'false' otherwise.
bool OpenItemWithExternalApp(const string16& full_path);
+// Disables the ability of the specified window to be pinned to the taskbar or
+// the Start menu.
+UI_EXPORT bool PreventWinowPinning(HWND hwnd);
jianli 2013/08/19 18:39:54 typo: Winow. consider name the function as Preven
zhchbin 2013/08/20 06:26:34 Done.
+
// Sets the application id given as the Application Model ID for the window
// specified. This method is used to insure that different web applications
// do not group together on the Win7 task bar.
« no previous file with comments | « chrome/browser/ui/views/panels/panel_view.cc ('k') | ui/base/win/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698