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

Side by Side Diff: ui/display/chromeos/display_configurator_unittest.cc

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/display/chromeos/display_configurator.h" 5 #include "ui/display/chromeos/display_configurator.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 #include <cstdarg> 10 #include <cstdarg>
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/format_macros.h" 16 #include "base/format_macros.h"
17 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
18 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "ui/display/chromeos/display_mode.h"
22 #include "ui/display/chromeos/native_display_delegate.h"
23 #include "ui/display/chromeos/test/test_display_snapshot.h" 21 #include "ui/display/chromeos/test/test_display_snapshot.h"
22 #include "ui/display/types/chromeos/display_mode.h"
23 #include "ui/display/types/chromeos/native_display_delegate.h"
24 24
25 namespace ui { 25 namespace ui {
26 26
27 namespace { 27 namespace {
28 28
29 // Strings returned by TestNativeDisplayDelegate::GetActionsAndClear() to 29 // Strings returned by TestNativeDisplayDelegate::GetActionsAndClear() to
30 // describe various actions that were performed. 30 // describe various actions that were performed.
31 const char kInitXRandR[] = "init"; 31 const char kInitXRandR[] = "init";
32 const char kGrab[] = "grab"; 32 const char kGrab[] = "grab";
33 const char kUngrab[] = "ungrab"; 33 const char kUngrab[] = "ungrab";
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 gfx::Point(0, 1361 gfx::Point(0,
1362 modes[0]->size().height() + 1362 modes[0]->size().height() +
1363 DisplayConfigurator::kVerticalGap)) 1363 DisplayConfigurator::kVerticalGap))
1364 .c_str(), 1364 .c_str(),
1365 kUngrab, 1365 kUngrab,
1366 NULL), 1366 NULL),
1367 log_->GetActionsAndClear()); 1367 log_->GetActionsAndClear());
1368 } 1368 }
1369 1369
1370 } // namespace ui 1370 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698