Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / extensions / display_info_provider_chromeos.h
blob9ac2dc2c6c319488239d65ea1dfeb3f284d7e1df
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.
5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
8 #include "extensions/browser/api/system_display/display_info_provider.h"
10 namespace extensions {
12 class DisplayInfoProviderChromeOS : public DisplayInfoProvider {
13 public:
14 DisplayInfoProviderChromeOS();
15 ~DisplayInfoProviderChromeOS() override;
17 // DisplayInfoProvider implementation.
18 bool SetInfo(const std::string& display_id,
19 const api::system_display::DisplayProperties& info,
20 std::string* error) override;
21 void UpdateDisplayUnitInfoForPlatform(
22 const gfx::Display& display,
23 api::system_display::DisplayUnitInfo* unit) override;
24 gfx::Screen* GetActiveScreen() override;
25 void EnableUnifiedDesktop(bool enable) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS);
31 } // namespace extensions
33 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_