| Index: mojo/services/native_viewport/platform_viewport_headless.h
 | 
| diff --git a/mojo/services/native_viewport/platform_viewport_headless.h b/mojo/services/native_viewport/platform_viewport_headless.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..fe7d1482dff3d005e6e659e21460b2a37230599b
 | 
| --- /dev/null
 | 
| +++ b/mojo/services/native_viewport/platform_viewport_headless.h
 | 
| @@ -0,0 +1,39 @@
 | 
| +// Copyright 2013 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.
 | 
| +
 | 
| +#ifndef SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
 | 
| +#define SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
 | 
| +
 | 
| +#include "base/macros.h"
 | 
| +#include "mojo/services/native_viewport/platform_viewport.h"
 | 
| +#include "ui/gfx/geometry/rect.h"
 | 
| +
 | 
| +namespace native_viewport {
 | 
| +
 | 
| +class PlatformViewportHeadless : public PlatformViewport {
 | 
| + public:
 | 
| +  ~PlatformViewportHeadless() override;
 | 
| +
 | 
| +  static scoped_ptr<PlatformViewport> Create(Delegate* delegate);
 | 
| +
 | 
| + private:
 | 
| +  explicit PlatformViewportHeadless(Delegate* delegate);
 | 
| +
 | 
| +  // Overridden from PlatformViewport:
 | 
| +  void Init(const gfx::Rect& bounds) override;
 | 
| +  void Show() override;
 | 
| +  void Hide() override;
 | 
| +  void Close() override;
 | 
| +  gfx::Size GetSize() override;
 | 
| +  void SetBounds(const gfx::Rect& bounds) override;
 | 
| +
 | 
| +  Delegate* delegate_;
 | 
| +  mojo::ViewportMetricsPtr metrics_;
 | 
| +
 | 
| +  DISALLOW_COPY_AND_ASSIGN(PlatformViewportHeadless);
 | 
| +};
 | 
| +
 | 
| +}  // namespace native_viewport
 | 
| +
 | 
| +#endif  // SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
 | 
| 
 |