| OLD | NEW |
| 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 "views/views_api.h" | 9 #include "views/views_export.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Rect; | 12 class Rect; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 | 16 |
| 17 // Returns the bounds for the monitor that contains the largest area of | 17 // Returns the bounds for the monitor that contains the largest area of |
| 18 // intersection with the specified rectangle. | 18 // intersection with the specified rectangle. |
| 19 VIEWS_API gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect); | 19 VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect); |
| 20 | 20 |
| 21 } // namespace views | 21 } // namespace views |
| 22 | 22 |
| 23 #endif // VIEWS_WIDGET_MONITOR_WIN_H_ | 23 #endif // VIEWS_WIDGET_MONITOR_WIN_H_ |
| OLD | NEW |