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

Side by Side Diff: ui/display/chromeos/x11/display_mode_x11.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/memory/ptr_util.h"
6
7 #include "ui/display/chromeos/x11/display_mode_x11.h"
8
9 namespace ui {
10
11 DisplayModeX11::DisplayModeX11(const gfx::Size& size,
12 bool interlaced,
13 float refresh_rate,
14 RRMode mode_id)
15 : DisplayMode(size, interlaced, refresh_rate),
16 mode_id_(mode_id) {}
17
18 DisplayModeX11::~DisplayModeX11() {}
19
20 std::unique_ptr<DisplayMode> DisplayModeX11::Clone() const {
21 return base::WrapUnique(new DisplayModeX11(size(),
22 is_interlaced(),
23 refresh_rate(),
24 mode_id()));
25 }
26
27 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/chromeos/x11/display_mode_x11.h ('k') | ui/display/chromeos/x11/display_snapshot_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698