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

Unified Diff: ui/views/examples/content_client/examples_main_delegate.h

Issue 284113011: Repurpose views+content example into a generic multiprocess views runtime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use sandbox boilerplate for now Created 6 years, 7 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: ui/views/examples/content_client/examples_main_delegate.h
diff --git a/ui/views/examples/content_client/examples_main_delegate.h b/ui/views/examples/content_client/examples_main_delegate.h
index 1bfd5c3fbbefe446052dc956d477f5c820c3163f..bb013580d00bd9833c1aa42ee728214fd224a1e9 100644
--- a/ui/views/examples/content_client/examples_main_delegate.h
+++ b/ui/views/examples/content_client/examples_main_delegate.h
@@ -5,8 +5,6 @@
#ifndef UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_MAIN_DELEGATE_H_
#define UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_MAIN_DELEGATE_H_
-#include <string>
-
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/app/content_main_delegate.h"
@@ -16,10 +14,11 @@ namespace views {
namespace examples {
class ExamplesContentBrowserClient;
+class ExamplesMainParams;
class ExamplesMainDelegate : public content::ContentMainDelegate {
public:
- ExamplesMainDelegate();
+ explicit ExamplesMainDelegate(ExamplesMainParams* examples_params);
virtual ~ExamplesMainDelegate();
// content::ContentMainDelegate implementation
@@ -30,6 +29,7 @@ class ExamplesMainDelegate : public content::ContentMainDelegate {
private:
scoped_ptr<ExamplesContentBrowserClient> browser_client_;
content::ShellContentClient content_client_;
+ ExamplesMainParams* examples_params_;
DISALLOW_COPY_AND_ASSIGN(ExamplesMainDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698