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

Side by Side Diff: ash/host/ash_window_tree_host_init_params.h

Issue 273073002: Changes code using Compositor to pass in ContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tooltip on chromeos 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 5 #ifndef ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
6 #define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 6 #define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <windows.h> 11 #include <windows.h>
12 #endif 12 #endif
13 13
14 #include "ash/ash_export.h" 14 #include "ash/ash_export.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 16
17 namespace ui {
18 class ContextFactory;
19 }
20
17 namespace ash { 21 namespace ash {
18 22
19 struct ASH_EXPORT AshWindowTreeHostInitParams { 23 struct ASH_EXPORT AshWindowTreeHostInitParams {
20 AshWindowTreeHostInitParams(); 24 AshWindowTreeHostInitParams();
21 ~AshWindowTreeHostInitParams(); 25 ~AshWindowTreeHostInitParams();
22 26
23 gfx::Rect initial_bounds; 27 gfx::Rect initial_bounds;
24 28
29 ui::ContextFactory* context_factory;
30
25 #if defined(OS_WIN) 31 #if defined(OS_WIN)
26 HWND remote_hwnd; 32 HWND remote_hwnd;
27 #endif 33 #endif
28 }; 34 };
29 35
30 } // namespace ash 36 } // namespace ash
31 37
32 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 38 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « ash/host/ash_remote_window_tree_host_win.cc ('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