| OLD | NEW | 
 | (Empty) | 
|   1 // Copyright (c) 2013 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 APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ |  | 
|   6 #define APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ |  | 
|   7  |  | 
|   8 #include "apps/shell/app_shell_content_client.h" |  | 
|   9 #include "base/compiler_specific.h" |  | 
|  10 #include "base/memory/scoped_ptr.h" |  | 
|  11 #include "content/public/app/content_main_delegate.h" |  | 
|  12  |  | 
|  13 namespace apps { |  | 
|  14  |  | 
|  15 class AppShellContentBrowserClient; |  | 
|  16  |  | 
|  17 class AppShellMainDelegate : public content::ContentMainDelegate { |  | 
|  18  public: |  | 
|  19   AppShellMainDelegate(); |  | 
|  20   virtual ~AppShellMainDelegate(); |  | 
|  21  |  | 
|  22   // ContentMainDelegate implementation: |  | 
|  23   virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; |  | 
|  24   virtual void PreSandboxStartup() OVERRIDE; |  | 
|  25   virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; |  | 
|  26  |  | 
|  27   static void InitializeResourceBundle(); |  | 
|  28  |  | 
|  29  private: |  | 
|  30   scoped_ptr<AppShellContentBrowserClient> browser_client_; |  | 
|  31   AppShellContentClient content_client_; |  | 
|  32  |  | 
|  33   DISALLOW_COPY_AND_ASSIGN(AppShellMainDelegate); |  | 
|  34 }; |  | 
|  35  |  | 
|  36 }  // namespace apps |  | 
|  37  |  | 
|  38 #endif  // APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ |  | 
| OLD | NEW |