blob: adfdb143564177a3cbfb322a5b52d02bdf674d98 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/system_display/display_info_provider.h"
namespace extensions {
void DisplayInfoProvider::RequestInfo(const RequestInfoCallback& callback) {
// Redirect the request to a worker pool thread.
StartQueryInfo(callback);
}
void DisplayInfoProvider::SetInfo(
const std::string& display_id,
const api::system_display::DisplayProperties& info,
const SetInfoCallback& callback) {
base::MessageLoopProxy::current()->PostTask(
FROM_HERE,
base::Bind(callback, false, "Not implemented"));
}
// TODO(hongbo): implement X11 display info querying.
bool DisplayInfoProvider::QueryInfo() {
return false;
}
} // namespace extensions