diff options
author | sadrul <sadrul@chromium.org> | 2015-10-14 09:47:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-14 16:48:36 +0000 |
commit | 3070c4bc0c2d6b65660c7b1bba9e71f429fd4841 (patch) | |
tree | 4dfcab466cb4f5c17360f675691712b9eb283fb3 /ui/aura/window_tree_host_win.cc | |
parent | a66540c5231cfec8098fe6642ba437da95a5919f (diff) | |
download | chromium_src-3070c4bc0c2d6b65660c7b1bba9e71f429fd4841.zip chromium_src-3070c4bc0c2d6b65660c7b1bba9e71f429fd4841.tar.gz chromium_src-3070c4bc0c2d6b65660c7b1bba9e71f429fd4841.tar.bz2 |
aura: Remove WindowTreeHost::GetNativeScreenSize.
WindowTreeHost::GetNativeScreenSize() is only used in a few locations, and only
relevant on Windows. So remove the various implementations, and instead directly
lookup from the system on Windows when necessary.
BUG=none
Review URL: https://codereview.chromium.org/1407553003
Cr-Commit-Position: refs/heads/master@{#354041}
Diffstat (limited to 'ui/aura/window_tree_host_win.cc')
-rw-r--r-- | ui/aura/window_tree_host_win.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc index 0727401..ea7bf24 100644 --- a/ui/aura/window_tree_host_win.cc +++ b/ui/aura/window_tree_host_win.cc @@ -31,12 +31,6 @@ WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { return new WindowTreeHostWin(bounds); } -// static -gfx::Size WindowTreeHost::GetNativeScreenSize() { - return gfx::Size(GetSystemMetrics(SM_CXSCREEN), - GetSystemMetrics(SM_CYSCREEN)); -} - WindowTreeHostWin::WindowTreeHostWin(const gfx::Rect& bounds) : has_capture_(false), widget_(gfx::kNullAcceleratedWidget), |