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

Side by Side Diff: chrome/browser/extensions/api/system_display/display_info_provider_mac.cc

Issue 23441032: [SystemInfo API] Rewrite DisplayInfoProvider without SystemInfoProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use valid display id. Created 7 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 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 bool DisplayInfoProvider::SetInfo(const std::string& display_id,
10 const std::string& display_id,
11 const api::system_display::DisplayProperties& info, 10 const api::system_display::DisplayProperties& info,
12 const SetInfoCallback& callback) { 11 std::string* error) {
13 base::MessageLoopProxy::current()->PostTask( 12 *error = "Not Implemented";
14 FROM_HERE, 13 return false;
15 base::Bind(callback, false, "Not implemented"));
16 } 14 }
17 15
18 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( 16 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
19 const gfx::Display& display, 17 const gfx::Display& display,
20 extensions::api::system_display::DisplayUnitInfo* unit) { 18 extensions::api::system_display::DisplayUnitInfo* unit) {
21 NOTIMPLEMENTED(); 19 NOTIMPLEMENTED();
22 } 20 }
23 21
24 } // namespace extensions 22 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698