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

Side by Side Diff: extensions/browser/api/system_display/display_info_provider.cc

Issue 2538623002: Adds touch calibration methods to system_display.idl API (Closed)
Patch Set: Adds touch calibration methods to system.idl API Created 4 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/browser/api/system_display/display_info_provider.h" 5 #include "extensions/browser/api/system_display/display_info_provider.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "extensions/common/api/system_display.h" 8 #include "extensions/common/api/system_display.h"
9 #include "ui/display/display.h" 9 #include "ui/display/display.h"
10 #include "ui/display/screen.h" 10 #include "ui/display/screen.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 112
113 bool DisplayInfoProvider::OverscanCalibrationReset(const std::string& id) { 113 bool DisplayInfoProvider::OverscanCalibrationReset(const std::string& id) {
114 return false; 114 return false;
115 } 115 }
116 116
117 bool DisplayInfoProvider::OverscanCalibrationComplete(const std::string& id) { 117 bool DisplayInfoProvider::OverscanCalibrationComplete(const std::string& id) {
118 return false; 118 return false;
119 } 119 }
120 120
121 bool DisplayInfoProvider::TouchCalibrationStart(const std::string& id) {
122 NOTREACHED(); // Implemented on Chrome OS only in override.
123 return false;
124 }
125
126 bool DisplayInfoProvider::TouchCalibrationSet(
127 const std::string& id,
128 const api::system_display::TouchCalibrationPairQuad& pairs,
129 const api::system_display::Bounds& bounds) {
130 NOTREACHED(); // Implemented on Chrome OS only in override.
131 return false;
132 }
133
134 bool DisplayInfoProvider::TouchCalibrationReset(const std::string& id) {
135 NOTREACHED(); // Implemented on Chrome OS only in override.
136 return false;
137 }
138
139 bool DisplayInfoProvider::IsTouchCalibrationActive(const std::string& id) {
140 NOTREACHED(); // Implemented on Chrome OS only in override.
141 return false;
142 }
143
121 DisplayInfoProvider::DisplayInfoProvider() { 144 DisplayInfoProvider::DisplayInfoProvider() {
122 } 145 }
123 146
124 } // namespace extensions 147 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698