Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ash / test / display_manager_test_api.h
index 70dbd2e..be5dbb9 100644 (file)
@@ -6,25 +6,25 @@
 #define ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
 
 #include <string>
+#include <vector>
 
 #include "base/basictypes.h"
+#include "ui/display/types/display_constants.h"
 
 namespace ash {
-namespace internal {
 class DisplayManager;
-}  // internal
 
 namespace test {
 
 class DisplayManagerTestApi {
  public:
-  explicit DisplayManagerTestApi(internal::DisplayManager* display_manager);
+  explicit DisplayManagerTestApi(DisplayManager* display_manager);
   virtual ~DisplayManagerTestApi();
 
   // Update the display configuration as given in |display_specs|. The format of
   // |display_spec| is a list of comma separated spec for each displays. Please
-  // refer to the comment in |aura::DisplayManager::CreateDisplayFromSpec| for
-  // the format of the display spec.
+  // refer to the comment in |ash::DisplayInfo::CreateFromSpec| for the format
+  // of the display spec.
   void UpdateDisplay(const std::string& display_specs);
 
   // Set the 1st display as an internal display and returns the display Id for
@@ -34,8 +34,13 @@ class DisplayManagerTestApi {
   // Don't update the display when the root window's size was changed.
   void DisableChangeDisplayUponHostResize();
 
+  // Sets the available color profiles for |display_id|.
+  void SetAvailableColorProfiles(
+      int64 display_id,
+      const std::vector<ui::ColorCalibrationProfile>& profiles);
+
  private:
-  internal::DisplayManager* display_manager_;  // not owned
+  DisplayManager* display_manager_;  // not owned
 
   DISALLOW_COPY_AND_ASSIGN(DisplayManagerTestApi);
 };