OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |