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

Side by Side Diff: chrome/browser/extensions/display_info_provider_aura.h

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 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 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_AURA_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_AURA_H_
7
8 #include <string>
9
10 #include "chrome/browser/extensions/api/system_display/display_info_provider.h"
11
12 namespace extensions {
13
14 class DisplayInfoProviderAura : public DisplayInfoProvider {
15 public:
16 DisplayInfoProviderAura();
17 virtual ~DisplayInfoProviderAura();
18
19 virtual bool SetInfo(const std::string& display_id,
James Cook 2014/08/19 21:48:51 nit: put a comment like "// DisplayInfoProvider ov
tmpsantos 2014/08/20 18:58:31 Done on all platform specific headers.
20 const api::system_display::DisplayProperties& info,
21 std::string* error) OVERRIDE;
22
James Cook 2014/08/19 21:48:51 nit: no blank line
tmpsantos 2014/08/20 18:58:31 Done on all platform specific headers.
23 virtual void UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display& display,
25 extensions::api::system_display::DisplayUnitInfo* unit) OVERRIDE;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderAura);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698