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

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

Issue 608263002: gpu: Remove in-process GPU service support for CHROMIUM_image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more build fixes Created 6 years, 2 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
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_LIB_MAIN_AW_MAIN_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
6 #define ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
7 7
8 #include "android_webview/browser/jni_dependency_factory.h" 8 #include "android_webview/browser/jni_dependency_factory.h"
9 #include "android_webview/common/aw_content_client.h" 9 #include "android_webview/common/aw_content_client.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/public/app/content_main_delegate.h" 12 #include "content/public/app/content_main_delegate.h"
13 13
14 namespace content { 14 namespace content {
15 class BrowserMainRunner; 15 class BrowserMainRunner;
16 class ExternalVideoSurfaceContainel; 16 class ExternalVideoSurfaceContainel;
17 } 17 }
18 18
19 namespace android_webview { 19 namespace android_webview {
20 20
21 class AwContentBrowserClient; 21 class AwContentBrowserClient;
22 class AwContentRendererClient; 22 class AwContentRendererClient;
23 class GpuMemoryBufferFactoryImpl;
24 23
25 // Android WebView implementation of ContentMainDelegate. 24 // Android WebView implementation of ContentMainDelegate.
26 class AwMainDelegate : public content::ContentMainDelegate, 25 class AwMainDelegate : public content::ContentMainDelegate,
27 public JniDependencyFactory { 26 public JniDependencyFactory {
28 public: 27 public:
29 AwMainDelegate(); 28 AwMainDelegate();
30 virtual ~AwMainDelegate(); 29 virtual ~AwMainDelegate();
31 30
32 private: 31 private:
33 // content::ContentMainDelegate implementation: 32 // content::ContentMainDelegate implementation:
(...skipping 17 matching lines...) Expand all
51 #if defined(VIDEO_HOLE) 50 #if defined(VIDEO_HOLE)
52 virtual content::ExternalVideoSurfaceContainer* 51 virtual content::ExternalVideoSurfaceContainer*
53 CreateExternalVideoSurfaceContainer( 52 CreateExternalVideoSurfaceContainer(
54 content::WebContents* web_contents) OVERRIDE; 53 content::WebContents* web_contents) OVERRIDE;
55 #endif 54 #endif
56 55
57 scoped_ptr<content::BrowserMainRunner> browser_runner_; 56 scoped_ptr<content::BrowserMainRunner> browser_runner_;
58 AwContentClient content_client_; 57 AwContentClient content_client_;
59 scoped_ptr<AwContentBrowserClient> content_browser_client_; 58 scoped_ptr<AwContentBrowserClient> content_browser_client_;
60 scoped_ptr<AwContentRendererClient> content_renderer_client_; 59 scoped_ptr<AwContentRendererClient> content_renderer_client_;
61 scoped_ptr<GpuMemoryBufferFactoryImpl> gpu_memory_buffer_factory_;
62 60
63 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate); 61 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate);
64 }; 62 };
65 63
66 } // namespace android_webview 64 } // namespace android_webview
67 65
68 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ 66 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/gpu_memory_buffer_factory_impl.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698