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

Unified Diff: ui/views/examples/content_client/examples_browser_main_parts.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: app_list_demo.cc using example_main 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
« no previous file with comments | « ui/app_list/views/app_list_demo.cc ('k') | ui/views/examples/content_client/examples_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/content_client/examples_browser_main_parts.h
diff --git a/ui/views/examples/content_client/examples_browser_main_parts.h b/ui/views/examples/content_client/examples_browser_main_parts.h
index 85ec1c61b1000dc681db8b9e510d461337723e1f..8e88c585387cfc127209b3385ca05fb411743de8 100644
--- a/ui/views/examples/content_client/examples_browser_main_parts.h
+++ b/ui/views/examples/content_client/examples_browser_main_parts.h
@@ -24,10 +24,13 @@ class ViewsDelegate;
namespace examples {
+class ExamplesMainParams;
+
class ExamplesBrowserMainParts : public content::BrowserMainParts {
public:
- explicit ExamplesBrowserMainParts(
- const content::MainFunctionParams& parameters);
+ ExamplesBrowserMainParts(
+ const content::MainFunctionParams& content_params,
+ ExamplesMainParams* examples_params);
virtual ~ExamplesBrowserMainParts();
// content::BrowserMainParts:
@@ -52,6 +55,8 @@ class ExamplesBrowserMainParts : public content::BrowserMainParts {
scoped_ptr<wm::WMState> wm_state_;
+ ExamplesMainParams* examples_params_;
+
DISALLOW_COPY_AND_ASSIGN(ExamplesBrowserMainParts);
};
« no previous file with comments | « ui/app_list/views/app_list_demo.cc ('k') | ui/views/examples/content_client/examples_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698