OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/gfx/screen.h" | 5 #include "ui/gfx/screen.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/gfx/monitor.h" |
8 | 9 |
9 namespace gfx { | 10 namespace gfx { |
10 | 11 |
11 // static | 12 // static |
12 gfx::Size Screen::GetPrimaryMonitorSize() { | 13 void Screen::GetPrimaryMonitor(gfx::Monitor* monitor_out) { |
13 NOTIMPLEMENTED() << "crbug.com/117839 tracks implementation"; | 14 NOTIMPLEMENTED() << "crbug.com/117839 tracks implementation"; |
14 return gfx::Size(1, 1); | |
15 } | 15 } |
16 | 16 |
17 // static | 17 // static |
18 int Screen::GetNumMonitors() { | 18 int Screen::GetNumMonitors() { |
19 return 1; | 19 return 1; |
20 } | 20 } |
21 | 21 |
22 } // namespace gfx | 22 } // namespace gfx |
OLD | NEW |