Chromium Code Reviews| Index: apps/shell/renderer/shell_renderer_main_delegate.h |
| diff --git a/apps/shell/renderer/shell_renderer_main_delegate.h b/apps/shell/renderer/shell_renderer_main_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..780de5666d5d0183d3eefaff804e04c164e6bccb |
| --- /dev/null |
| +++ b/apps/shell/renderer/shell_renderer_main_delegate.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ |
| +#define APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ |
| + |
| +namespace content { |
| +class RenderThread; |
| +class RenderView; |
| +} |
| + |
| +namespace apps { |
| + |
| +class ShellRendererMainDelegate { |
| + public: |
| + virtual ~ShellRendererMainDelegate() {} |
| + |
| + // Called when |thread| is started, after the extensions subsystem has been |
| + // initialized for |thread|. |
| + virtual void OnThreadStarted(content::RenderThread* thread) = 0; |
| + |
| + 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.
|
| +}; |
| + |
| +} // namespace apps |
| + |
| +#endif // APPS_SHELL_RENDERER_SHELL_RENDERER_MAIN_DELEGATE_H_ |