summaryrefslogtreecommitdiffstats
path: root/ui/app_list/test
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 03:11:26 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 03:11:26 +0000
commit919b2f83216c7a9f07d2e3569ad74ab8c1a06675 (patch)
tree7d190452fedf4dc798acfc32d2dd27afb241bf82 /ui/app_list/test
parentd9440363af79abd7a4638b6949cd601449721551 (diff)
downloadchromium_src-919b2f83216c7a9f07d2e3569ad74ab8c1a06675.zip
chromium_src-919b2f83216c7a9f07d2e3569ad74ab8c1a06675.tar.gz
chromium_src-919b2f83216c7a9f07d2e3569ad74ab8c1a06675.tar.bz2
app_list: Initial version of the start page.
- Add a StartPageService PKS that holds the start page contents and app recommendation generator; - Implement the initial app recommendation using the 4 most recent apps; - Expose the start page contents in AppListViewDelegate; - Update AppsGridView could to handle start page case; - Implement a WebUI for the start page contents; - Put the start page feature behind a flag; - Add a switch to override the start page url for easier mocking; BUG=268660,268661 Review URL: https://codereview.chromium.org/25152002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/app_list/test')
-rw-r--r--ui/app_list/test/app_list_test_view_delegate.cc4
-rw-r--r--ui/app_list/test/app_list_test_view_delegate.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/app_list/test/app_list_test_view_delegate.cc b/ui/app_list/test/app_list_test_view_delegate.cc
index 1a56714..493fb56 100644
--- a/ui/app_list/test/app_list_test_view_delegate.cc
+++ b/ui/app_list/test/app_list_test_view_delegate.cc
@@ -44,5 +44,9 @@ gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() {
return gfx::ImageSkia();
}
+content::WebContents* AppListTestViewDelegate::GetStartPageContents() {
+ return NULL;
+}
+
} // namespace test
} // namespace app_list
diff --git a/ui/app_list/test/app_list_test_view_delegate.h b/ui/app_list/test/app_list_test_view_delegate.h
index 344c318..f70d764 100644
--- a/ui/app_list/test/app_list_test_view_delegate.h
+++ b/ui/app_list/test/app_list_test_view_delegate.h
@@ -49,6 +49,7 @@ class AppListTestViewDelegate : public AppListViewDelegate {
virtual void OpenFeedback() OVERRIDE {}
virtual void ShowForProfileByPath(
const base::FilePath& profile_path) OVERRIDE {};
+ virtual content::WebContents* GetStartPageContents() OVERRIDE;
private:
int activate_count_;