Ozone: Keep the native pixmap alive till gl_image is destroyed
[chromium-blink-merge.git] / ash / shell_init_params.h
blob9a681fae4fe2587a448b56d63dbc363051117fe3
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
3 // found in the LICENSE file.
5 #ifndef ASH_SHELL_INIT_PARAMS_H_
6 #define ASH_SHELL_INIT_PARAMS_H_
8 #include "build/build_config.h"
10 #if defined(OS_WIN)
11 #include <windows.h>
12 #endif
14 #include "ash/ash_export.h"
16 namespace ui {
17 class ContextFactory;
20 namespace ash {
22 class ShellDelegate;
24 struct ASH_EXPORT ShellInitParams {
25 ShellInitParams();
26 ~ShellInitParams();
28 ShellDelegate* delegate;
30 ui::ContextFactory* context_factory;
32 #if defined(OS_WIN)
33 HWND remote_hwnd;
34 #endif
37 } // namespace ash
39 #endif // ASH_SHELL_INIT_PARAMS_H_