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

Unified Diff: wm/host/foreign_window_host_delegate.h

Issue 11485006: Add window manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and add proper use_wm flag support Created 7 years, 10 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: wm/host/foreign_window_host_delegate.h
diff --git a/wm/host/foreign_window_host_delegate.h b/wm/host/foreign_window_host_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..a676688a8f47cb89464d9f646624ab47af448ac6
--- /dev/null
+++ b/wm/host/foreign_window_host_delegate.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_
+#define WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_
+
+namespace wm {
+
+class ForeignWindow;
+
+// A private interface used by ForeignWindowHost implementations to communicate
+// with their owning ForeignWindow.
+class ForeignWindowHostDelegate {
+ public:
+ virtual void OnWindowContentsChanged() = 0;
+
+ virtual ForeignWindow* AsForeignWindow() = 0;
+
+ protected:
+ virtual ~ForeignWindowHostDelegate() {}
+};
+
+} // namespace wm
+
+#endif // WM_HOST_FOREIGN_WINDOW_HOST_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698