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 APPS_SHELL_COMMON_SHELL_DELEGATE_H_ | |
6 #define APPS_SHELL_COMMON_SHELL_DELEGATE_H_ | |
7 | |
8 namespace content { | |
9 class BrowserContext; | |
10 } | |
11 | |
12 namespace apps { | |
13 | |
14 class ShellBrowserMainParts; | |
15 | |
16 class ShellDelegate { | |
oshima
2014/05/07 22:08:03
This isn't great name. Any suggestion? Maybe we sh
James Cook
2014/05/07 23:42:45
I like the idea of just passing around a callback.
oshima
2014/05/08 21:12:37
done
| |
17 public: | |
18 virtual ~ShellDelegate() {} | |
19 | |
20 virtual void Start(content::BrowserContext* context) = 0; | |
21 }; | |
22 | |
23 } // namespace apps | |
24 | |
25 #endif // APPS_SHELL_COMMON_APP_DELEGATE_H_ | |
OLD | NEW |