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

Side by Side Diff: athena/main/athena_main.cc

Issue 642383003: Add the ability to load multiple apps into app_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 "athena/activity/public/activity_factory.h" 5 #include "athena/activity/public/activity_factory.h"
6 #include "athena/activity/public/activity_manager.h" 6 #include "athena/activity/public/activity_manager.h"
7 #include "athena/content/public/web_contents_view_delegate_creator.h" 7 #include "athena/content/public/web_contents_view_delegate_creator.h"
8 #include "athena/env/public/athena_env.h" 8 #include "athena/env/public/athena_env.h"
9 #include "athena/extensions/public/extensions_delegate.h" 9 #include "athena/extensions/public/extensions_delegate.h"
10 #include "athena/main/athena_content_client.h" 10 #include "athena/main/athena_content_client.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const extensions::Extension* extension) override { 62 const extensions::Extension* extension) override {
63 NOTIMPLEMENTED(); 63 NOTIMPLEMENTED();
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 // Adds the window to the desktop. 67 // Adds the window to the desktop.
68 virtual void AddAppWindow(aura::Window* window) override { 68 virtual void AddAppWindow(aura::Window* window) override {
69 NOTIMPLEMENTED(); 69 NOTIMPLEMENTED();
70 } 70 }
71 71
72 virtual void RemoveAppWindow(extensions::AppWindow* window) override {}
73
72 // Closes and destroys the app windows. 74 // Closes and destroys the app windows.
73 virtual void CloseAppWindows() override {} 75 virtual void CloseAppWindows() override {}
74 76
75 DISALLOW_COPY_AND_ASSIGN(AthenaDesktopController); 77 DISALLOW_COPY_AND_ASSIGN(AthenaDesktopController);
76 }; 78 };
77 79
78 class AthenaBrowserMainDelegate : public extensions::ShellBrowserMainDelegate { 80 class AthenaBrowserMainDelegate : public extensions::ShellBrowserMainDelegate {
79 public: 81 public:
80 AthenaBrowserMainDelegate() {} 82 AthenaBrowserMainDelegate() {}
81 virtual ~AthenaBrowserMainDelegate() {} 83 virtual ~AthenaBrowserMainDelegate() {}
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 192
191 int main(int argc, const char** argv) { 193 int main(int argc, const char** argv) {
192 AthenaMainDelegate delegate; 194 AthenaMainDelegate delegate;
193 content::ContentMainParams params(&delegate); 195 content::ContentMainParams params(&delegate);
194 196
195 params.argc = argc; 197 params.argc = argc;
196 params.argv = argv; 198 params.argv = argv;
197 199
198 return content::ContentMain(params); 200 return content::ContentMain(params);
199 } 201 }
OLDNEW
« no previous file with comments | « athena/extensions/shell/extensions_delegate_impl.cc ('k') | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698