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 "chrome/browser/extensions/api/system_display/display_info_provider.h" | 5 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 void DisplayInfoProvider::SetInfo( | 9 void DisplayInfoProvider::SetInfo( |
10 const std::string& display_id, | 10 const std::string& display_id, |
11 const api::system_display::DisplayProperties& info, | 11 const api::system_display::DisplayProperties& info, |
12 const SetInfoCallback& callback) { | 12 const SetInfoCallback& callback) { |
13 base::MessageLoopProxy::current()->PostTask( | 13 base::MessageLoopProxy::current()->PostTask( |
14 FROM_HERE, | 14 FROM_HERE, |
15 base::Bind(callback, false, "Not implemented")); | 15 base::Bind(callback, false, "Not implemented")); |
16 } | 16 } |
17 | 17 |
18 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( | 18 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( |
19 const gfx::Display& display, | 19 const gfx::Display& display, |
20 extensions::api::system_display::DisplayUnitInfo* unit) { | 20 extensions::api::system_display::DisplayUnitInfo* unit) { |
21 NOTIMPLEMENTED(); | 21 NOTIMPLEMENTED(); |
22 } | 22 } |
23 | 23 |
24 } // namespace extensions | 24 } // namespace extensions |
OLD | NEW |