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

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

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros Created 4 years, 11 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "extensions/browser/api/system_display/display_info_provider.h" 9 #include "extensions/browser/api/system_display/display_info_provider.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 class DisplayInfoProviderChromeOS : public DisplayInfoProvider { 13 class DisplayInfoProviderChromeOS : public DisplayInfoProvider {
14 public: 14 public:
15 DisplayInfoProviderChromeOS(); 15 DisplayInfoProviderChromeOS();
16 ~DisplayInfoProviderChromeOS() override; 16 ~DisplayInfoProviderChromeOS() override;
17 17
18 // DisplayInfoProvider implementation. 18 // DisplayInfoProvider implementation.
19 bool SetInfo(const std::string& display_id, 19 bool SetInfo(const std::string& display_id,
20 const api::system_display::DisplayProperties& info, 20 const api::system_display::DisplayProperties& info,
21 std::string* error) override; 21 std::string* error) override;
22 void UpdateDisplayUnitInfoForPlatform( 22 void UpdateDisplayUnitInfoForPlatform(
23 const gfx::Display& display, 23 const gfx::Display& display,
24 api::system_display::DisplayUnitInfo* unit) override; 24 api::system_display::DisplayUnitInfo* unit) override;
25 gfx::Screen* GetActiveScreen() override;
26 void EnableUnifiedDesktop(bool enable) override; 25 void EnableUnifiedDesktop(bool enable) override;
27 DisplayInfo GetAllDisplaysInfo() override; 26 DisplayInfo GetAllDisplaysInfo() override;
28 27
29 private: 28 private:
30 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS); 29 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS);
31 }; 30 };
32 31
33 } // namespace extensions 32 } // namespace extensions
34 33
35 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 34 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/display_info_provider_aura.cc ('k') | chrome/browser/extensions/display_info_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698