
This CL moves GTK and Aura "Parts" out of the primary BrowserMainParts tree and into orthogonal parts that can be added independently. This was done in a way that will facilitate adding additional parts if (when) we need them. The motivation for this was to a) eliminate the existing typedef in chrome_browser_main_chromeos.h b) reduce the number of #ifdefs required in the setup / parts code For an outline of the new parts see: https://docs.google.com/drawings/d/1-gIMl-81c4SvcMrT1xaxnDGibDe7VQfMkFT1bMnIvrg/edit?hl=en_US Please consider this a proposal; I am entirely open to feedback. BUG=none TEST=Chrome compiles and passes tests on all platfroms. Review URL: http://codereview.chromium.org/8302016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107383 0039d316-1c4b-4281-b951-d872f2087c98
23 lines
556 B
C++
23 lines
556 B
C++
// Copyright (c) 2011 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 CONTENT_BROWSER_BROWSER_MAIN_H_
|
|
#define CONTENT_BROWSER_BROWSER_MAIN_H_
|
|
#pragma once
|
|
|
|
#include "base/basictypes.h"
|
|
#include "content/common/content_export.h"
|
|
|
|
struct MainFunctionParams;
|
|
|
|
namespace content {
|
|
|
|
bool ExitedMainMessageLoop();
|
|
|
|
} // namespace content
|
|
|
|
CONTENT_EXPORT int BrowserMain(const MainFunctionParams& parameters);
|
|
|
|
#endif // CONTENT_BROWSER_BROWSER_MAIN_H_
|