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

Side by Side Diff: ui/display/manager/chromeos/x11/display_mode_x11.cc

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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
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 "base/memory/ptr_util.h" 5 #include "base/memory/ptr_util.h"
6 6
7 #include "ui/display/manager/chromeos/x11/display_mode_x11.h" 7 #include "ui/display/manager/chromeos/x11/display_mode_x11.h"
8 8
9 namespace ui { 9 namespace display {
10 10
11 DisplayModeX11::DisplayModeX11(const gfx::Size& size, 11 DisplayModeX11::DisplayModeX11(const gfx::Size& size,
12 bool interlaced, 12 bool interlaced,
13 float refresh_rate, 13 float refresh_rate,
14 RRMode mode_id) 14 RRMode mode_id)
15 : DisplayMode(size, interlaced, refresh_rate), mode_id_(mode_id) {} 15 : DisplayMode(size, interlaced, refresh_rate), mode_id_(mode_id) {}
16 16
17 DisplayModeX11::~DisplayModeX11() {} 17 DisplayModeX11::~DisplayModeX11() {}
18 18
19 std::unique_ptr<DisplayMode> DisplayModeX11::Clone() const { 19 std::unique_ptr<DisplayMode> DisplayModeX11::Clone() const {
20 return base::WrapUnique( 20 return base::WrapUnique(
21 new DisplayModeX11(size(), is_interlaced(), refresh_rate(), mode_id())); 21 new DisplayModeX11(size(), is_interlaced(), refresh_rate(), mode_id()));
22 } 22 }
23 23
24 } // namespace ui 24 } // namespace display
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/x11/display_mode_x11.h ('k') | ui/display/manager/chromeos/x11/display_snapshot_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698