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

Side by Side Diff: views/widget/monitor_win.h

Issue 7646003: Support auto-hide taskbar for panels on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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_tests.gypi ('k') | views/widget/monitor_win.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 VIEWS_WIDGET_MONITOR_WIN_H_ 5 #ifndef VIEWS_WIDGET_MONITOR_WIN_H_
6 #define VIEWS_WIDGET_MONITOR_WIN_H_ 6 #define VIEWS_WIDGET_MONITOR_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h>
9 #include "views/views_export.h" 10 #include "views/views_export.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Rect; 13 class Rect;
13 } 14 }
14 15
15 namespace views { 16 namespace views {
16 17
17 // Returns the bounds for the monitor that contains the largest area of 18 // Returns the bounds for the monitor that contains the largest area of
18 // intersection with the specified rectangle. 19 // intersection with the specified rectangle.
19 VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect); 20 VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect);
20 21
22 // Returns the always-on-top auto-hiding taskbar for edge |edge| (one of
23 // ABE_LEFT, TOP, RIGHT, or BOTTOM) of monitor |monitor|. NULL is returned
24 // if nothing is found.
25 VIEWS_EXPORT HWND GetTopmostAutoHideTaskbarForEdge(UINT edge, HMONITOR monitor);
26
21 } // namespace views 27 } // namespace views
22 28
23 #endif // VIEWS_WIDGET_MONITOR_WIN_H_ 29 #endif // VIEWS_WIDGET_MONITOR_WIN_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | views/widget/monitor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698