Make castv2 performance test work.
[chromium-blink-merge.git] / ui / views / widget / monitor_win.h
blobef4d3dde613e7fa7883030f6dc49af2b3a0e5d93
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.
5 #ifndef UI_VIEWS_WIDGET_MONITOR_WIN_H_
6 #define UI_VIEWS_WIDGET_MONITOR_WIN_H_
8 #include "ui/views/views_export.h"
10 namespace gfx {
11 class Rect;
14 namespace views {
16 // Returns the bounds for the monitor that contains the largest area of
17 // intersection with the specified rectangle.
18 VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect);
20 } // namespace views
22 #endif // UI_VIEWS_WIDGET_MONITOR_WIN_H_