Chromium Code Reviews| Index: wm/host/foreign_test_window_host.cc |
| diff --git a/wm/host/foreign_test_window_host.cc b/wm/host/foreign_test_window_host.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d52a584a4e07e055c889fa11a175ed592d6fbcd8 |
| --- /dev/null |
| +++ b/wm/host/foreign_test_window_host.cc |
| @@ -0,0 +1,38 @@ |
| +// Copyright (c) 2012 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 "wm/host/foreign_test_window_host.h" |
| + |
| +#include "base/compiler_specific.h" |
| + |
| +namespace wm { |
| + |
| +namespace { |
| + |
| +class ForeignTestWindowHostImpl : public ForeignTestWindowHost { |
| + public: |
| + ForeignTestWindowHostImpl() {} |
| + |
| + // Overridden from wm::ForeignTestWindowHost: |
| + virtual void Initialize() OVERRIDE {} |
| + virtual void Delete() OVERRIDE {} |
| + virtual void Show() OVERRIDE {} |
| + virtual void Hide() OVERRIDE {} |
| + virtual void Destroy() OVERRIDE {} |
|
danakj
2013/02/21 01:33:15
Should this "delete this"?
reveman
2013/02/22 01:26:44
Done. Nice catch. Should be in Delete() though.
|
| + virtual void Sync() OVERRIDE {} |
| +}; |
| + |
| +} // namespace |
| + |
| +// static |
| +ForeignTestWindowHost* ForeignTestWindowHost::Create( |
| + gfx::AcceleratedWidget parent) { |
| + return new ForeignTestWindowHostImpl(); |
| +} |
| + |
| +// static |
| +void ForeignTestWindowHost::RunAllPendingInMessageLoop() { |
| +} |
| + |
| +} // namespace wm |