diff options
author | Jun Mukai <mukai@chromium.org> | 2014-10-03 18:25:57 -0700 |
---|---|---|
committer | Jun Mukai <mukai@chromium.org> | 2014-10-04 01:27:35 +0000 |
commit | d29ce06a1354e06e41596cf575af98aed9f6b8a7 (patch) | |
tree | afa58a38ded6c4d7153dc063d229b293038b15ab /ash/shell/app_list.cc | |
parent | d366f72f171dd176aa89f8e0baaca34ef70545c6 (diff) | |
download | chromium_src-d29ce06a1354e06e41596cf575af98aed9f6b8a7.zip chromium_src-d29ce06a1354e06e41596cf575af98aed9f6b8a7.tar.gz chromium_src-d29ce06a1354e06e41596cf575af98aed9f6b8a7.tar.bz2 |
Simplifies the structure of app_list search a bit.
This is the first CL to simplify app list search. The final goal
is making SearchResult copyable and remove SearchResultObserver
but it would need the several steps. As the first step, it
simply keeps the copying method Duplicate but removes the
unnecessary class hierarchy of ChromeSearchResult.
BUG=415500
R=oshima@chromium.org, tapted@chromium.org, xiyuan@chromium.org
TEST=build passes, no functional changes
Review URL: https://codereview.chromium.org/621823004
Cr-Commit-Position: refs/heads/master@{#298154}
Diffstat (limited to 'ash/shell/app_list.cc')
-rw-r--r-- | ash/shell/app_list.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc index 2f725e2..77d65ef 100644 --- a/ash/shell/app_list.cc +++ b/ash/shell/app_list.cc @@ -188,6 +188,11 @@ class ExampleSearchResult : public app_list::SearchResult { WindowTypeShelfItem::Type type() const { return type_; } + // app_list::SearchResult: + virtual scoped_ptr<SearchResult> Duplicate() override { + return scoped_ptr<SearchResult>(); + } + private: WindowTypeShelfItem::Type type_; |