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

Side by Side Diff: ui/ozone/common/display_mode_proxy.h

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/display/win/screen_win_unittest.cc ('k') | ui/ozone/common/display_mode_proxy.cc » ('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 #ifndef UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ 5 #ifndef UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_
6 #define UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ 6 #define UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/display/types/display_mode.h" 9 #include "ui/display/types/display_mode.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 struct DisplayMode_Params; 13 struct DisplayMode_Params;
14 14
15 class DisplayModeProxy : public DisplayMode { 15 class DisplayModeProxy : public display::DisplayMode {
16 public: 16 public:
17 explicit DisplayModeProxy(const DisplayMode_Params& params); 17 explicit DisplayModeProxy(const DisplayMode_Params& params);
18 ~DisplayModeProxy() override; 18 ~DisplayModeProxy() override;
19 std::unique_ptr<DisplayMode> Clone() const override; 19 std::unique_ptr<display::DisplayMode> Clone() const override;
20 20
21 private: 21 private:
22 DisplayModeProxy(const gfx::Size& size, bool interlaced, float refresh_rate); 22 DisplayModeProxy(const gfx::Size& size, bool interlaced, float refresh_rate);
23 23
24 DISALLOW_COPY_AND_ASSIGN(DisplayModeProxy); 24 DISALLOW_COPY_AND_ASSIGN(DisplayModeProxy);
25 }; 25 };
26 26
27 } // namespace ui 27 } // namespace ui
28 28
29 #endif // UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ 29 #endif // UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_
OLDNEW
« no previous file with comments | « ui/display/win/screen_win_unittest.cc ('k') | ui/ozone/common/display_mode_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698