Chromium Code Reviews| Index: athena/main/athena_shell.cc |
| diff --git a/athena/main/athena_shell.cc b/athena/main/athena_shell.cc |
| index 48fbc9e5aa7dcceddcf494f35c4c74378d3b4f45..58c2445257f4b08d3df3ae4c28a358c97f89037d 100644 |
| --- a/athena/main/athena_shell.cc |
| +++ b/athena/main/athena_shell.cc |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "athena/activity/public/activity_factory.h" |
| #include "athena/activity/public/activity_manager.h" |
| -#include "athena/main/sample_activity.h" |
| #include "athena/test/athena_test_helper.h" |
| #include "base/at_exit.h" |
| #include "base/command_line.h" |
| @@ -32,9 +32,8 @@ class UIShell { |
| } |
| void InitSampleActivities() { |
| - athena::Activity* task = new SampleActivity( |
| - SK_ColorRED, SK_ColorGREEN, std::string("Activity 1")); |
| - athena::ActivityManager::Get()->AddActivity(task); |
| + athena::ActivityManager::Get()->AddActivity( |
| + athena::ActivityFactory::Get()->CreateWebActivity(NULL, GURL())); |
|
oshima
2014/06/05 23:49:20
maybe put real url and show it as a title?
Jun Mukai
2014/06/06 00:14:43
Done.
|
| } |
| private: |