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

Side by Side Diff: android_webview/lib/main/webview_main_delegate.h

Issue 10825155: Build target for Android WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Shuffle files about a bit and address comments Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_MAIN_DELEGATE_H_
6 #define ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_MAIN_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/app/chrome_main_delegate.h"
11
12 namespace content {
13 class BrowserMainRunner;
14 } // namespace content
15
16 namespace android_webview {
17
18 // Android WebView override of ChromeMainDelegate.
19 // TODO(torne): this is temporary, should inherit from ContentMainDelegate
20 // instead and just reuse components from chrome/ that it needs.
21 class WebViewMainDelegate : public ChromeMainDelegate {
22 public:
23 WebViewMainDelegate();
24 virtual ~WebViewMainDelegate();
25
26 virtual int RunProcess(
27 const std::string& process_type,
28 const content::MainFunctionParams& main_function_params) OVERRIDE;
29
30 private:
31 scoped_ptr<content::BrowserMainRunner> browser_runner_;
32 DISALLOW_COPY_AND_ASSIGN(WebViewMainDelegate);
33 };
34
35 } // namespace content
36
37 #endif // ANDROID_WEBVIEW_LIB_MAIN_WEBVIEW_MAIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698