Home | History | Annotate | Download | only in test
      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 #include "ui/display/chromeos/test/test_display_snapshot.h"
      6 
      7 namespace ui {
      8 TestDisplaySnapshot::TestDisplaySnapshot()
      9     : DisplaySnapshot(0,
     10                       false,
     11                       gfx::Point(0, 0),
     12                       gfx::Size(0, 0),
     13                       DISPLAY_CONNECTION_TYPE_UNKNOWN,
     14                       false,
     15                       false,
     16                       std::string(),
     17                       std::vector<const DisplayMode*>(),
     18                       NULL,
     19                       NULL) {}
     20 
     21 TestDisplaySnapshot::TestDisplaySnapshot(
     22     int64_t display_id,
     23     bool has_proper_display_id,
     24     const gfx::Point& origin,
     25     const gfx::Size& physical_size,
     26     DisplayConnectionType type,
     27     bool is_aspect_preserving_scaling,
     28     const std::vector<const DisplayMode*>& modes,
     29     const DisplayMode* current_mode,
     30     const DisplayMode* native_mode)
     31     : DisplaySnapshot(display_id,
     32                       has_proper_display_id,
     33                       origin,
     34                       physical_size,
     35                       type,
     36                       is_aspect_preserving_scaling,
     37                       false,
     38                       std::string(),
     39                       modes,
     40                       current_mode,
     41                       native_mode) {}
     42 
     43 TestDisplaySnapshot::~TestDisplaySnapshot() {}
     44 
     45 std::string TestDisplaySnapshot::ToString() const { return ""; }
     46 
     47 }  // namespace ui
     48