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_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ | |
6 #define APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ | |
7 | |
8 namespace content { | |
9 class RenderThread; | |
10 class RenderView; | |
11 } | |
12 | |
13 namespace apps { | |
14 | |
15 class ShellRendererMainDelegate { | |
16 public: | |
17 virtual ~ShellRendererMainDelegate() {} | |
18 | |
19 // Called when |thread| is started, after the extensions subsystem has been | |
20 // initialized for |thread|. | |
21 virtual void OnThreadStarted(content::RenderThread* thread) = 0; | |
22 | |
23 virtual void OnViewCreated(content::RenderView* view) = 0; | |
James Cook
2014/06/17 17:40:22
nit: comment similar to above on when this is call
sadrul
2014/06/17 20:37:38
Done.
| |
24 }; | |
25 | |
26 } // namespace apps | |
27 | |
28 #endif // APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ | |
OLD | NEW |