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

Unified Diff: extensions/shell/browser/shell_display_info_provider.cc

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No ash/ dependency anymore Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_display_info_provider.cc
diff --git a/extensions/shell/browser/shell_display_info_provider.cc b/extensions/shell/browser/shell_display_info_provider.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a86173fa93ccce5178727dc2b7503375bc004f2f
--- /dev/null
+++ b/extensions/shell/browser/shell_display_info_provider.cc
@@ -0,0 +1,38 @@
+// 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) {
+ NOTIMPLEMENTED();
+}
+
+gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() {
+ return NULL;
+}
+
+// static
+DisplayInfoProvider* DisplayInfoProvider::Create() {
+ return new ShellDisplayInfoProvider();
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698