blob: 1666136e2bd35f8b8766abcffb62210277ff287b [file] [log] [blame]
// Copyright 2014 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 "extensions/shell/browser/shell_display_info_provider.h"
namespace extensions {
ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
}
ShellDisplayInfoProvider::~ShellDisplayInfoProvider() {
}
bool ShellDisplayInfoProvider::SetInfo(
const std::string& display_id,
const core_api::system_display::DisplayProperties& info,
std::string* error) {
*error = "Not implemented";
return false;
}
void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
const gfx::Display& display,
extensions::core_api::system_display::DisplayUnitInfo* unit) {
static bool logged_once = false;
if (!logged_once) {
NOTIMPLEMENTED();
logged_once = true;
}
}
gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() {
return NULL;
}
// static
DisplayInfoProvider* DisplayInfoProvider::Create() {
return new ShellDisplayInfoProvider();
}
} // namespace extensions