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

Side by Side Diff: ui/ozone/platform/dri/chromeos/display_message_handler.cc

Issue 558253003: display: Move ui/display/types/chromeos/* to ui/display/types/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 "ui/ozone/platform/dri/chromeos/display_message_handler.h" 5 #include "ui/ozone/platform/dri/chromeos/display_message_handler.h"
6 6
7 #include "ui/display/types/chromeos/display_mode.h" 7 #include "ui/display/types/display_mode.h"
8 #include "ui/display/types/chromeos/display_snapshot.h" 8 #include "ui/display/types/display_snapshot.h"
9 #include "ui/ozone/common/chromeos/display_util.h" 9 #include "ui/ozone/common/chromeos/display_util.h"
10 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" 10 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
11 #include "ui/ozone/common/gpu/ozone_gpu_messages.h" 11 #include "ui/ozone/common/gpu/ozone_gpu_messages.h"
12 #include "ui/ozone/platform/dri/chromeos/native_display_delegate_dri.h" 12 #include "ui/ozone/platform/dri/chromeos/native_display_delegate_dri.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 namespace { 16 namespace {
17 17
18 class FindDisplayById { 18 class FindDisplayById {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 void DisplayMessageHandler::OnDisableNativeDisplay(int64_t id) { 131 void DisplayMessageHandler::OnDisableNativeDisplay(int64_t id) {
132 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id); 132 DisplaySnapshot* display = ndd_->FindDisplaySnapshot(id);
133 if (display) 133 if (display)
134 ndd_->Configure(*display, NULL, gfx::Point()); 134 ndd_->Configure(*display, NULL, gfx::Point());
135 else 135 else
136 LOG(ERROR) << "There is no display with ID " << id; 136 LOG(ERROR) << "There is no display with ID " << id;
137 } 137 }
138 138
139 } // namespace ui 139 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/common/chromeos/native_display_delegate_ozone.h ('k') | ui/ozone/platform/dri/chromeos/display_mode_dri.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698