Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / display_info_provider_athena.h
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_ATHENA_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_ATHENA_H_
7
8 #include "extensions/browser/api/system_display/display_info_provider.h"
9
10 namespace extensions {
11
12 // TODO: Merge into DisplayInfoProviderChromeOS once DisplayManager is
13 // refactored. crbug.com/416961
14 class DisplayInfoProviderAthena : public DisplayInfoProvider {
15  public:
16   DisplayInfoProviderAthena();
17   virtual ~DisplayInfoProviderAthena();
18
19   // DisplayInfoProvider implementation.
20   virtual bool SetInfo(const std::string& display_id,
21                        const core_api::system_display::DisplayProperties& info,
22                        std::string* error) override;
23   virtual void UpdateDisplayUnitInfoForPlatform(
24       const gfx::Display& display,
25       core_api::system_display::DisplayUnitInfo* unit) override;
26   virtual gfx::Screen* GetActiveScreen() override;
27
28  private:
29   DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderAthena);
30 };
31
32 }  // namespace extensions
33
34 #endif  // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_ATHENA_H_