1 // Copyright (c) 2012 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. 4 5 #ifndef WIN8_METRO_DRIVER_METRO_DRIVER_H_ 6 #define WIN8_METRO_DRIVER_METRO_DRIVER_H_ 7 8 #include "stdafx.h" 9 10 class ChromeAppViewFactory 11 : public mswr::RuntimeClass<winapp::Core::IFrameworkViewSource> { 12 public: 13 ChromeAppViewFactory(winapp::Core::ICoreApplication* icore_app, 14 LPTHREAD_START_ROUTINE host_main, 15 void* host_context); 16 IFACEMETHOD(CreateView)(winapp::Core::IFrameworkView** view); 17 }; 18 19 #endif // WIN8_METRO_DRIVER_METRO_DRIVER_H_