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

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

Issue 8547015: Revert 110949 - views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/gtk_views_window.cc ('k') | ui/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_WIDGET_MONITOR_WIN_H_
6 #define UI_VIEWS_WIDGET_MONITOR_WIN_H_
7 #pragma once
8
9 #include <windows.h>
10
11 #include "views/views_export.h"
12
13 namespace gfx {
14 class Rect;
15 }
16
17 namespace views {
18
19 // Returns the bounds for the monitor that contains the largest area of
20 // intersection with the specified rectangle.
21 VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect);
22
23 // Returns the always-on-top auto-hiding taskbar for edge |edge| (one of
24 // ABE_LEFT, TOP, RIGHT, or BOTTOM) of monitor |monitor|. NULL is returned
25 // if nothing is found.
26 VIEWS_EXPORT HWND GetTopmostAutoHideTaskbarForEdge(UINT edge, HMONITOR monitor);
27
28 } // namespace views
29
30 #endif // UI_VIEWS_WIDGET_MONITOR_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/gtk_views_window.cc ('k') | ui/views/widget/monitor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698