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

Side by Side Diff: ui/ozone/common/display_mode_proxy.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
« no previous file with comments | « ui/ozone/common/display_mode_proxy.h ('k') | ui/ozone/common/display_snapshot_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ozone/common/display_mode_proxy.h" 7 #include "ui/ozone/common/display_mode_proxy.h"
8 8
9 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" 9 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 DisplayModeProxy::DisplayModeProxy(const DisplayMode_Params& params) 13 DisplayModeProxy::DisplayModeProxy(const DisplayMode_Params& params)
14 : DisplayMode(params.size, params.is_interlaced, params.refresh_rate) { 14 : DisplayMode(params.size, params.is_interlaced, params.refresh_rate) {
15 } 15 }
16 16
17 DisplayModeProxy::DisplayModeProxy(const gfx::Size& size, 17 DisplayModeProxy::DisplayModeProxy(const gfx::Size& size,
18 bool interlaced, 18 bool interlaced,
19 float refresh_rate) 19 float refresh_rate)
20 : DisplayMode(size, interlaced, refresh_rate) {} 20 : DisplayMode(size, interlaced, refresh_rate) {}
21 21
22 DisplayModeProxy::~DisplayModeProxy() { 22 DisplayModeProxy::~DisplayModeProxy() {
23 } 23 }
24 24
25 std::unique_ptr<DisplayMode> DisplayModeProxy::Clone() const { 25 std::unique_ptr<display::DisplayMode> DisplayModeProxy::Clone() const {
26 return base::WrapUnique( 26 return base::WrapUnique(
27 new DisplayModeProxy(size(), is_interlaced(), refresh_rate())); 27 new DisplayModeProxy(size(), is_interlaced(), refresh_rate()));
28 } 28 }
29 29
30 } // namespace ui 30 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/common/display_mode_proxy.h ('k') | ui/ozone/common/display_snapshot_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698