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

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

Issue 9190018: Support sharing of ContentMain and BrowserMain code with embedded use cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: content/public/browser/browser_main_parts.h
===================================================================
--- content/public/browser/browser_main_parts.h (revision 117304)
+++ 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;
jam 2012/01/12 18:07:18 I'm not sure I understand this. I thought CEF/Awes
+
virtual void PostMainMessageLoopStart() = 0;
// Allows an embedder to do any extra toolkit initialization.

Powered by Google App Engine
This is Rietveld 408576698