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

Side by Side Diff: apps/shell/app_shell_main_delegate.cc

Issue 99053008: Rename apps::AppShell* to apps::Shell* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « apps/shell/app_shell_main_delegate.h ('k') | apps/shell/shell_app_sorting.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 #include "apps/shell/app_shell_main_delegate.h"
6
7 #include "apps/shell/app_shell_content_browser_client.h"
8 #include "base/command_line.h"
9 #include "base/files/file_path.h"
10 #include "base/logging.h"
11 #include "base/path_service.h"
12 #include "content/public/browser/browser_main_runner.h"
13 #include "ui/base/resource/resource_bundle.h"
14
15 namespace apps {
16
17 AppShellMainDelegate::AppShellMainDelegate() {
18 }
19
20 AppShellMainDelegate::~AppShellMainDelegate() {
21 }
22
23 bool AppShellMainDelegate::BasicStartupComplete(int* exit_code) {
24 // TODO(jamescook): Initialize logging here.
25 SetContentClient(&content_client_);
26 return false;
27 }
28
29 void AppShellMainDelegate::PreSandboxStartup() {
30 InitializeResourceBundle();
31 }
32
33 content::ContentBrowserClient*
34 AppShellMainDelegate::CreateContentBrowserClient() {
35 browser_client_.reset(new apps::AppShellContentBrowserClient);
36 return browser_client_.get();
37 }
38
39 void AppShellMainDelegate::InitializeResourceBundle() {
40 ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
41 }
42
43 } // namespace apps
OLDNEW
« no previous file with comments | « apps/shell/app_shell_main_delegate.h ('k') | apps/shell/shell_app_sorting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698