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

Side by Side 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, 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "extensions/shell/browser/shell_display_info_provider.h"
6
7 namespace extensions {
8
9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
10 }
11
12 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() {
13 }
14
15 bool ShellDisplayInfoProvider::SetInfo(
16 const std::string& display_id,
17 const core_api::system_display::DisplayProperties& info,
18 std::string* error) {
19 *error = "Not implemented";
20 return false;
21 }
22
23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display& display,
25 extensions::core_api::system_display::DisplayUnitInfo* unit) {
26 NOTIMPLEMENTED();
27 }
28
29 gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() {
30 return NULL;
31 }
32
33 // static
34 DisplayInfoProvider* DisplayInfoProvider::Create() {
35 return new ShellDisplayInfoProvider();
36 }
37
38 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698