| OLD | NEW |
| 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; | |
| 17 } | 16 } |
| 18 | 17 |
| 19 namespace android_webview { | 18 namespace android_webview { |
| 20 | 19 |
| 21 class AwContentBrowserClient; | 20 class AwContentBrowserClient; |
| 22 class AwContentRendererClient; | 21 class AwContentRendererClient; |
| 23 | 22 |
| 24 // Android WebView implementation of ContentMainDelegate. | 23 // Android WebView implementation of ContentMainDelegate. |
| 25 class AwMainDelegate : public content::ContentMainDelegate, | 24 class AwMainDelegate : public content::ContentMainDelegate, |
| 26 public JniDependencyFactory { | 25 public JniDependencyFactory { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 57 AwContentClient content_client_; | 56 AwContentClient content_client_; |
| 58 scoped_ptr<AwContentBrowserClient> content_browser_client_; | 57 scoped_ptr<AwContentBrowserClient> content_browser_client_; |
| 59 scoped_ptr<AwContentRendererClient> content_renderer_client_; | 58 scoped_ptr<AwContentRendererClient> content_renderer_client_; |
| 60 | 59 |
| 61 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate); | 60 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate); |
| 62 }; | 61 }; |
| 63 | 62 |
| 64 } // namespace android_webview | 63 } // namespace android_webview |
| 65 | 64 |
| 66 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ | 65 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ |
| OLD | NEW |