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

Side by Side Diff: ui/base/win/hwnd_util.h

Issue 7237032: Changes wrench menu button to show system menu on space. This matches (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak comment Created 9 years, 5 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/chrome_browser.gypi ('k') | ui/base/win/hwnd_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_WIN_HWND_UTIL_H_ 5 #ifndef UI_BASE_WIN_HWND_UTIL_H_
6 #define UI_BASE_WIN_HWND_UTIL_H_ 6 #define UI_BASE_WIN_HWND_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 26 matching lines...) Expand all
37 // window fits on screen. 37 // window fits on screen.
38 void CenterAndSizeWindow(HWND parent, 38 void CenterAndSizeWindow(HWND parent,
39 HWND window, 39 HWND window,
40 const gfx::Size& pref, 40 const gfx::Size& pref,
41 bool pref_is_client); 41 bool pref_is_client);
42 42
43 // If |hwnd| is NULL logs various thing and CHECKs. Invoke right after calling 43 // If |hwnd| is NULL logs various thing and CHECKs. Invoke right after calling
44 // CreateWindow. 44 // CreateWindow.
45 void CheckWindowCreated(HWND hwnd); 45 void CheckWindowCreated(HWND hwnd);
46 46
47 // Shows the system menu for |window| and sends the selected command (if the
48 // user selected something.
49 void ShowSystemMenu(HWND window, int screen_x, int screen_y);
50
47 } // namespace ui 51 } // namespace ui
48 52
49 #endif // UI_BASE_WIN_HWND_UTIL_H_ 53 #endif // UI_BASE_WIN_HWND_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/base/win/hwnd_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698