Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: components/native_viewport/platform_viewport_headless.h

Issue 1131523007: Move NativeViewport service into view_manager. This is a file move only. Further merging will happe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/native_viewport/platform_viewport_headless.h
diff --git a/components/native_viewport/platform_viewport_headless.h b/components/native_viewport/platform_viewport_headless.h
deleted file mode 100644
index cf5d81f547e99e46dd35f4fa8402a4a25b95c41f..0000000000000000000000000000000000000000
--- a/components/native_viewport/platform_viewport_headless.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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 COMPONENTS_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
-#define COMPONENTS_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
-
-#include "base/macros.h"
-#include "components/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 // COMPONENTS_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
« no previous file with comments | « components/native_viewport/platform_viewport_android.cc ('k') | components/native_viewport/platform_viewport_headless.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698