| OLD | NEW | 
| (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_BROWSER_DELEGATE_IMPL_H_ | 
 |   6 #define ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ | 
 |   7  | 
 |   8 #include "android_webview/native/aw_browser_dependency_factory.h" | 
 |   9  | 
 |  10 #include "base/compiler_specific.h" | 
 |  11  | 
 |  12 namespace android_webview { | 
 |  13  | 
 |  14 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory { | 
 |  15  public: | 
 |  16   AwBrowserDependencyFactoryImpl(); | 
 |  17   virtual ~AwBrowserDependencyFactoryImpl(); | 
 |  18  | 
 |  19   // Sets this class as the singleton instance. | 
 |  20   static void InstallInstance(); | 
 |  21  | 
 |  22   // AwBrowserDependencyFactory | 
 |  23   virtual content::WebContents* CreateWebContents(bool incognito) OVERRIDE; | 
 |  24   virtual AwContentsContainer* CreateContentsContainer( | 
 |  25       content::WebContents* contents) OVERRIDE; | 
 |  26   virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() | 
 |  27       OVERRIDE; | 
 |  28  | 
 |  29  private: | 
 |  30   DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl); | 
 |  31 }; | 
 |  32  | 
 |  33 }  // namespace android_webview | 
 |  34  | 
 |  35 #endif  // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ | 
 |  36  | 
| OLD | NEW |