Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: extensions/shell/renderer/shell_renderer_main_delegate.h

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_
6 #define APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_
7 7
8 namespace content { 8 namespace content {
9 class RenderThread; 9 class RenderThread;
10 class RenderView; 10 class RenderView;
11 } 11 }
12 12
13 namespace apps { 13 namespace extensions {
14 14
15 class ShellRendererMainDelegate { 15 class ShellRendererMainDelegate {
16 public: 16 public:
17 virtual ~ShellRendererMainDelegate() {} 17 virtual ~ShellRendererMainDelegate() {}
18 18
19 // Called when |thread| is started, after the extensions subsystem has been 19 // Called when |thread| is started, after the extensions subsystem has been
20 // initialized for |thread|. 20 // initialized for |thread|.
21 virtual void OnThreadStarted(content::RenderThread* thread) = 0; 21 virtual void OnThreadStarted(content::RenderThread* thread) = 0;
22 22
23 // Called for each RenderView created in the renderer process, after the 23 // Called for each RenderView created in the renderer process, after the
24 // extension related code has been initialized for the view. 24 // extension related code has been initialized for the view.
25 virtual void OnViewCreated(content::RenderView* view) = 0; 25 virtual void OnViewCreated(content::RenderView* view) = 0;
26 }; 26 };
27 27
28 } // namespace apps 28 } // namespace extensions
29 29
30 #endif // APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ 30 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/renderer/shell_extensions_renderer_client.cc ('k') | extensions/shell/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698