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

Side by Side Diff: ui/display/types/display_snapshot.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/display/types/display_snapshot.h ('k') | ui/display/types/fake_display_controller.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 "ui/display/types/display_snapshot.h" 5 #include "ui/display/types/display_snapshot.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 namespace ui { 9 namespace display {
10 10
11 namespace { 11 namespace {
12 12
13 // The display serial number beginning byte position and its length in the 13 // The display serial number beginning byte position and its length in the
14 // EDID number as defined in the spec. 14 // EDID number as defined in the spec.
15 // https://en.wikipedia.org/wiki/Extended_Display_Identification_Data 15 // https://en.wikipedia.org/wiki/Extended_Display_Identification_Data
16 const size_t kSerialNumberBeginingByte = 12U; 16 const size_t kSerialNumberBeginingByte = 12U;
17 const size_t kSerialNumberLengthInBytes = 4U; 17 const size_t kSerialNumberLengthInBytes = 4U;
18 18
19 } // namespace 19 } // namespace
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 edid_[i] = 0; 53 edid_[i] = 0;
54 } 54 }
55 55
56 DisplaySnapshot::~DisplaySnapshot() {} 56 DisplaySnapshot::~DisplaySnapshot() {}
57 57
58 // static 58 // static
59 gfx::BufferFormat DisplaySnapshot::PrimaryFormat() { 59 gfx::BufferFormat DisplaySnapshot::PrimaryFormat() {
60 return gfx::BufferFormat::BGRX_8888; 60 return gfx::BufferFormat::BGRX_8888;
61 } 61 }
62 62
63 } // namespace ui 63 } // namespace display
OLDNEW
« no previous file with comments | « ui/display/types/display_snapshot.h ('k') | ui/display/types/fake_display_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698