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

Unified Diff: apps/shell/renderer/shell_renderer_main_delegate.h

Issue 331323008: app-shell: Introduce a ShellRendererMainDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698