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

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

Issue 476103002: Make DisplayInfoProvider an interface (Closed) Base URL: git@github.com:tmpsantos/chromium.git@display_info
Patch Set: Addressed review comments. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
James Cook 2014/08/19 21:48:52 Can you try uploading with --similarity=50 (or 30
tmpsantos 2014/08/20 18:58:31 Did it with 30 and apparently it worked (50 is the
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 "chrome/browser/extensions/display_info_provider_mac.h"
6
7 namespace extensions {
8
9 DisplayInfoProviderMac::DisplayInfoProviderMac() {
10 }
11
12 DisplayInfoProviderMac::~DisplayInfoProviderMac() {
13 }
14
15 bool DisplayInfoProviderMac::SetInfo(
16 const std::string& display_id,
17 const api::system_display::DisplayProperties& info,
18 std::string* error) {
19 *error = "Not implemented";
20 return false;
21 }
22
23 void DisplayInfoProviderMac::UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display& display,
25 extensions::api::system_display::DisplayUnitInfo* unit) {
26 NOTIMPLEMENTED();
27 }
28
29 // static
30 DisplayInfoProvider* DisplayInfoProvider::Create() {
31 return new DisplayInfoProviderMac();
32 }
33
34 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698