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

Side by Side Diff: ui/gfx/screen_win.h

Issue 1563183008: Added capability on Windows to get the physical dimensions of your attached monitors. Also added th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments 2 Created 4 years, 11 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
OLDNEW
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 #ifndef UI_GFX_SCREEN_WIN_H_ 5 #ifndef UI_GFX_SCREEN_WIN_H_
6 #define UI_GFX_SCREEN_WIN_H_ 6 #define UI_GFX_SCREEN_WIN_H_
7 7
8 #include <stdint.h>
robliao 2016/01/13 00:22:10 Move this include to screen_win.cc
Bret 2016/01/13 18:02:48 Done.
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "ui/gfx/display_change_notifier.h" 14 #include "ui/gfx/display_change_notifier.h"
13 #include "ui/gfx/gfx_export.h" 15 #include "ui/gfx/gfx_export.h"
14 #include "ui/gfx/screen.h" 16 #include "ui/gfx/screen.h"
15 #include "ui/gfx/win/singleton_hwnd_observer.h" 17 #include "ui/gfx/win/singleton_hwnd_observer.h"
16 18
17 namespace gfx { 19 namespace gfx {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 59
58 // Current list of displays. 60 // Current list of displays.
59 std::vector<gfx::Display> displays_; 61 std::vector<gfx::Display> displays_;
60 62
61 DISALLOW_COPY_AND_ASSIGN(ScreenWin); 63 DISALLOW_COPY_AND_ASSIGN(ScreenWin);
62 }; 64 };
63 65
64 } // namespace gfx 66 } // namespace gfx
65 67
66 #endif // UI_GFX_SCREEN_WIN_H_ 68 #endif // UI_GFX_SCREEN_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698