OLD | NEW |
---|---|
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 Loading... | |
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 true; | |
stevenjb
2016/11/30 21:42:04
This really should return false by default.
malaykeshav
2016/11/30 21:53:39
Done
| |
142 } | |
143 | |
121 DisplayInfoProvider::DisplayInfoProvider() { | 144 DisplayInfoProvider::DisplayInfoProvider() { |
122 } | 145 } |
123 | 146 |
124 } // namespace extensions | 147 } // namespace extensions |
OLD | NEW |