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

Side by Side Diff: extensions/shell/browser/default_shell_browser_main_delegate.cc

Issue 552133003: Support app.window.create on athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apifeatures
Patch Set: Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "extensions/shell/browser/default_shell_browser_main_delegate.h" 5 #include "extensions/shell/browser/default_shell_browser_main_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "extensions/shell/browser/shell_apps_client.h"
10 #include "extensions/shell/browser/shell_desktop_controller.h" 11 #include "extensions/shell/browser/shell_desktop_controller.h"
11 #include "extensions/shell/browser/shell_extension_system.h" 12 #include "extensions/shell/browser/shell_extension_system.h"
12 #include "extensions/shell/common/switches.h" 13 #include "extensions/shell/common/switches.h"
13 14
14 namespace extensions { 15 namespace extensions {
15 16
16 DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() { 17 DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() {
17 } 18 }
18 19
19 DefaultShellBrowserMainDelegate::~DefaultShellBrowserMainDelegate() { 20 DefaultShellBrowserMainDelegate::~DefaultShellBrowserMainDelegate() {
(...skipping 18 matching lines...) Expand all
38 } 39 }
39 } 40 }
40 41
41 void DefaultShellBrowserMainDelegate::Shutdown() { 42 void DefaultShellBrowserMainDelegate::Shutdown() {
42 } 43 }
43 44
44 DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController() { 45 DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController() {
45 return new ShellDesktopController(); 46 return new ShellDesktopController();
46 } 47 }
47 48
49 AppsClient* DefaultShellBrowserMainDelegate::CreateAppsClient() {
50 return new ShellAppsClient();
51 }
52
48 } // namespace extensions 53 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698