Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 "wm/host/foreign_test_window_host.h" | |
| 6 | |
| 7 #include "base/compiler_specific.h" | |
| 8 | |
| 9 namespace wm { | |
| 10 | |
| 11 namespace { | |
| 12 | |
| 13 class ForeignTestWindowHostImpl : public ForeignTestWindowHost { | |
| 14 public: | |
| 15 ForeignTestWindowHostImpl() {} | |
| 16 | |
| 17 // Overridden from wm::ForeignTestWindowHost: | |
| 18 virtual void Initialize() OVERRIDE {} | |
| 19 virtual void Delete() OVERRIDE {} | |
| 20 virtual void Show() OVERRIDE {} | |
| 21 virtual void Hide() OVERRIDE {} | |
| 22 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.
| |
| 23 virtual void Sync() OVERRIDE {} | |
| 24 }; | |
| 25 | |
| 26 } // namespace | |
| 27 | |
| 28 // static | |
| 29 ForeignTestWindowHost* ForeignTestWindowHost::Create( | |
| 30 gfx::AcceleratedWidget parent) { | |
| 31 return new ForeignTestWindowHostImpl(); | |
| 32 } | |
| 33 | |
| 34 // static | |
| 35 void ForeignTestWindowHost::RunAllPendingInMessageLoop() { | |
| 36 } | |
| 37 | |
| 38 } // namespace wm | |
| OLD | NEW |