16 lines
383 B
C++
16 lines
383 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "ui/gfx/geometry/scroll_offset.h"
|
|
|
|
#include "base/strings/stringprintf.h"
|
|
|
|
namespace gfx {
|
|
|
|
std::string ScrollOffset::ToString() const {
|
|
return base::StringPrintf("[%f %f]", x_, y_);
|
|
}
|
|
|
|
} // namespace gfx
|