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 #ifndef WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_ |
| 6 #define WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_ |
| 7 |
| 8 namespace wm { |
| 9 |
| 10 class ForeignWindow; |
| 11 |
| 12 // A private interface used by ForeignWindowHost implementations to communicate |
| 13 // with their owning ForeignWindow. |
| 14 class ForeignWindowHostDelegate { |
| 15 public: |
| 16 virtual void OnWindowContentsChanged() = 0; |
| 17 |
| 18 virtual ForeignWindow* AsForeignWindow() = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~ForeignWindowHostDelegate() {} |
| 22 }; |
| 23 |
| 24 } // namespace wm |
| 25 |
| 26 #endif // WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_ |
OLD | NEW |