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

Unified Diff: content/public/browser/browser_main_parts.h

Issue 9375017: Support sharing of ContentMain and BrowserMain code with embedded use cases (try #3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « content/public/app/content_main_runner.h ('k') | content/public/browser/browser_main_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_main_parts.h
===================================================================
--- content/public/browser/browser_main_parts.h (revision 121246)
+++ content/public/browser/browser_main_parts.h (working copy)
@@ -10,6 +10,8 @@
#include "content/common/content_export.h"
#include "content/public/browser/browser_thread.h"
+class MessageLoop;
+
namespace content {
// This class contains different "stages" to be executed by |BrowserMain()|,
@@ -60,6 +62,10 @@
virtual void PreMainMessageLoopStart() = 0;
+ // Return the main message loop object or NULL to use the default message
+ // loop object.
+ virtual MessageLoop* GetMainMessageLoop() = 0;
+
virtual void PostMainMessageLoopStart() = 0;
// Allows an embedder to do any extra toolkit initialization.
« no previous file with comments | « content/public/app/content_main_runner.h ('k') | content/public/browser/browser_main_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698