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.
5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_
6 #define EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_
13 namespace extensions {
15 class ShellRendererMainDelegate {
17 virtual ~ShellRendererMainDelegate() {}
19 // Called when |thread| is started, after the extensions subsystem has been
20 // initialized for |thread|.
21 virtual void OnThreadStarted(content::RenderThread* thread) = 0;
23 // Called for each RenderView created in the renderer process, after the
24 // extension related code has been initialized for the view.
25 virtual void OnViewCreated(content::RenderView* view) = 0;
28 } // namespace extensions
30 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_