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

Side by Side Diff: android_webview/browser/aw_browser_main_parts.h

Issue 12378011: [Android WebView] Add simple support for remote web debugging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and fixed comment Created 7 years, 9 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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/browser_main_parts.h" 10 #include "content/public/browser/browser_main_parts.h"
11 11
12 class MessageLoop; 12 class MessageLoop;
13 13
14 namespace android_webview { 14 namespace android_webview {
15 15
16 // TODO(joth): Remove this method when when http://crbug.com/161864 is closed. 16 // TODO(joth): Remove this method when when http://crbug.com/161864 is closed.
17 bool UseCompositorDirectDraw(); 17 bool UseCompositorDirectDraw();
18 18
19 class AwBrowserContext; 19 class AwBrowserContext;
20 class AwDevToolsDelegate;
20 21
21 class AwBrowserMainParts : public content::BrowserMainParts { 22 class AwBrowserMainParts : public content::BrowserMainParts {
22 public: 23 public:
23 explicit AwBrowserMainParts(AwBrowserContext* browser_context); 24 explicit AwBrowserMainParts(AwBrowserContext* browser_context);
24 virtual ~AwBrowserMainParts(); 25 virtual ~AwBrowserMainParts();
25 26
26 // Overriding methods from content::BrowserMainParts. 27 // Overriding methods from content::BrowserMainParts.
27 virtual void PreEarlyInitialization() OVERRIDE; 28 virtual void PreEarlyInitialization() OVERRIDE;
28 virtual int PreCreateThreads() OVERRIDE; 29 virtual int PreCreateThreads() OVERRIDE;
29 virtual void PreMainMessageLoopRun() OVERRIDE; 30 virtual void PreMainMessageLoopRun() OVERRIDE;
30 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 31 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
32 virtual void PostMainMessageLoopRun() OVERRIDE;
31 33
32 private: 34 private:
33 // Android specific UI MessageLoop. 35 // Android specific UI MessageLoop.
34 scoped_ptr<MessageLoop> main_message_loop_; 36 scoped_ptr<MessageLoop> main_message_loop_;
35 37
36 AwBrowserContext* browser_context_; // weak 38 AwBrowserContext* browser_context_; // weak
39 AwDevToolsDelegate* devtools_delegate_;
37 40
38 DISALLOW_COPY_AND_ASSIGN(AwBrowserMainParts); 41 DISALLOW_COPY_AND_ASSIGN(AwBrowserMainParts);
39 }; 42 };
40 43
41 } // namespace android_webview 44 } // namespace android_webview
42 45
43 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 46 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698