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

Side by Side Diff: ui/display/manager/chromeos/display_snapshot_virtual.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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 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_snapshot_virtual.h" 5 #include "ui/display/manager/chromeos/display_snapshot_virtual.h"
6 6
7 #include <inttypes.h> 7 #include <inttypes.h>
8 8
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "ui/display/types/display_mode.h" 10 #include "ui/display/types/display_mode.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 namespace { 14 namespace {
15 15
(...skipping 28 matching lines...) Expand all
44 DisplaySnapshotVirtual::~DisplaySnapshotVirtual() {} 44 DisplaySnapshotVirtual::~DisplaySnapshotVirtual() {}
45 45
46 std::string DisplaySnapshotVirtual::ToString() const { 46 std::string DisplaySnapshotVirtual::ToString() const {
47 return base::StringPrintf( 47 return base::StringPrintf(
48 "Virtual id=%" PRId64 " current_mode=%s physical_size=%s", display_id_, 48 "Virtual id=%" PRId64 " current_mode=%s physical_size=%s", display_id_,
49 current_mode_ ? current_mode_->ToString().c_str() : "nullptr", 49 current_mode_ ? current_mode_->ToString().c_str() : "nullptr",
50 physical_size_.ToString().c_str()); 50 physical_size_.ToString().c_str());
51 } 51 }
52 52
53 } // namespace ui 53 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/display_snapshot_virtual.h ('k') | ui/display/manager/chromeos/display_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698