OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ | |
6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ | |
7 | |
8 #include "apps/app_window.h" | |
9 | |
10 class ChromeAppWindowDelegate : public apps::AppWindow::Delegate { | |
11 public: | |
12 ChromeAppWindowDelegate(); | |
13 virtual ~ChromeAppWindowDelegate(); | |
14 | |
15 private: | |
16 // apps::AppWindow::Delegate: | |
17 virtual apps::NativeAppWindow* CreateNativeAppWindow( | |
18 apps::AppWindow* window, | |
19 const apps::AppWindow::CreateParams& params) OVERRIDE; | |
20 | |
21 // Implemented in platform specific code. | |
22 static apps::NativeAppWindow* CreateNativeAppWindowImpl( | |
23 apps::AppWindow* window, | |
24 const apps::AppWindow::CreateParams& params); | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(ChromeAppWindowDelegate); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_DELEGATE_H_ | |
OLD | NEW |