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

Unified Diff: ash/host/ash_window_tree_host_init_params.h

Issue 277753002: Makes construction of (ash)RemoteWindowTreeHostWin explicit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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
« no previous file with comments | « ash/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_init_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_init_params.h
diff --git a/ash/host/ash_window_tree_host_init_params.h b/ash/host/ash_window_tree_host_init_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..d9bb7de96cd4d60e127be9098f96c8ef88b3d6f3
--- /dev/null
+++ b/ash/host/ash_window_tree_host_init_params.h
@@ -0,0 +1,32 @@
+// Copyright 2014 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 ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
+#define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
+
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
+#include <windows.h>
+#endif
+
+#include "ash/ash_export.h"
+#include "ui/gfx/geometry/rect.h"
+
+namespace ash {
+
+struct ASH_EXPORT AshWindowTreeHostInitParams {
+ AshWindowTreeHostInitParams();
+ ~AshWindowTreeHostInitParams();
+
+ gfx::Rect initial_bounds;
+
+#if defined(OS_WIN)
+ HWND remote_hwnd;
+#endif
+};
+
+} // namespace ash
+
+#endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
« no previous file with comments | « ash/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_init_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698