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

Side by Side Diff: athena/test/sample_activity_factory.h

Issue 571643003: Remove app_shell chrome.shell API and ShellAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (remove-shell) rebase 2 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
« no previous file with comments | « athena/main/athena_main.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_ 5 #ifndef ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
6 #define ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_ 6 #define ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
7 7
8 #include "athena/activity/public/activity_factory.h" 8 #include "athena/activity/public/activity_factory.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 namespace athena { 11 namespace athena {
12 namespace test { 12 namespace test {
13 13
14 class SampleActivityFactory : public ActivityFactory { 14 class SampleActivityFactory : public ActivityFactory {
15 public: 15 public:
16 SampleActivityFactory(); 16 SampleActivityFactory();
17 virtual ~SampleActivityFactory(); 17 virtual ~SampleActivityFactory();
18 18
19 // Overridden from ActivityFactory: 19 // Overridden from ActivityFactory:
20 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context, 20 virtual Activity* CreateWebActivity(content::BrowserContext* browser_context,
21 const base::string16& title, 21 const base::string16& title,
22 const GURL& url) OVERRIDE; 22 const GURL& url) OVERRIDE;
23 virtual Activity* CreateAppActivity(extensions::ShellAppWindow* app_window,
24 const std::string& app_id) OVERRIDE;
25 virtual Activity* CreateAppActivity(extensions::AppWindow* app_window, 23 virtual Activity* CreateAppActivity(extensions::AppWindow* app_window,
26 views::WebView* web_view) OVERRIDE; 24 views::WebView* web_view) OVERRIDE;
27 25
28 private: 26 private:
29 DISALLOW_COPY_AND_ASSIGN(SampleActivityFactory); 27 DISALLOW_COPY_AND_ASSIGN(SampleActivityFactory);
30 }; 28 };
31 29
32 } // namespace test 30 } // namespace test
33 } // namespace athena 31 } // namespace athena
34 32
35 #endif // ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_ 33 #endif // ATHENA_TEST_SAMPLE_ACTIVITY_FACTORY_H_
OLDNEW
« no previous file with comments | « athena/main/athena_main.cc ('k') | athena/test/sample_activity_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698