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

Side by Side Diff: ui/display/test/test_screen.cc

Issue 2522563002: Remove unnecessary display:: namespaces. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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
« no previous file with comments | « ui/display/test/display_manager_test_api.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <vector> 5 #include <vector>
6 6
7 #include "ui/display/test/test_screen.h" 7 #include "ui/display/test/test_screen.h"
8 8
9 namespace display { 9 namespace display {
10 namespace test { 10 namespace test {
11 11
12 TestScreen::TestScreen() { 12 TestScreen::TestScreen() {
13 display::Display display; 13 Display display;
14 ProcessDisplayChanged(display, true /* is_primary */); 14 ProcessDisplayChanged(display, true /* is_primary */);
15 } 15 }
16 16
17 TestScreen::~TestScreen() {} 17 TestScreen::~TestScreen() {}
18 18
19 gfx::Point TestScreen::GetCursorScreenPoint() { 19 gfx::Point TestScreen::GetCursorScreenPoint() {
20 return gfx::Point(); 20 return gfx::Point();
21 } 21 }
22 22
23 bool TestScreen::IsWindowUnderCursor(gfx::NativeWindow window) { 23 bool TestScreen::IsWindowUnderCursor(gfx::NativeWindow window) {
24 return false; 24 return false;
25 } 25 }
26 26
27 gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) { 27 gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) {
28 return nullptr; 28 return nullptr;
29 } 29 }
30 30
31 Display TestScreen::GetDisplayNearestWindow(gfx::NativeView view) const { 31 Display TestScreen::GetDisplayNearestWindow(gfx::NativeView view) const {
32 return GetPrimaryDisplay(); 32 return GetPrimaryDisplay();
33 } 33 }
34 34
35 } // namespace test 35 } // namespace test
36 } // namespace display 36 } // namespace display
OLDNEW
« no previous file with comments | « ui/display/test/display_manager_test_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698