15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved. 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file. 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef CHROME_BROWSER_UI_ASH_ASH_INIT_H_ 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define CHROME_BROWSER_UI_ASH_ASH_INIT_H_ 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 8cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "ui/gfx/native_widget_types.h" 9cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace chrome { 115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Returns true if Ash should be run at startup. 135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)bool ShouldOpenAshOnStartup(); 145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 15cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Creates the Ash Shell and opens the Ash window. |remote_window| is only used 16cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// on windows. It provides the HWND to the remote window. 17cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)void OpenAsh(gfx::AcceleratedWidget remote_window); 185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Closes the Ash window and destroys the Ash Shell. 205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)void CloseAsh(); 215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)} // namespace chrome 235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif // CHROME_BROWSER_UI_ASH_ASH_INIT_H_ 25