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

Unified Diff: ui/app_list/test/test_search_result.h

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/test/test_search_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/test_search_result.h
diff --git a/ui/app_list/test/test_search_result.h b/ui/app_list/test/test_search_result.h
new file mode 100644
index 0000000000000000000000000000000000000000..b54908d53568f60d944633d959fece1669696fc8
--- /dev/null
+++ b/ui/app_list/test/test_search_result.h
@@ -0,0 +1,27 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_
+#define UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_
+
+#include "ui/app_list/search_result.h"
+
+namespace app_list {
+
+// A test search result which does nothing.
+class TestSearchResult : public SearchResult {
+ public:
+ TestSearchResult();
+ virtual ~TestSearchResult();
+
+ // SearchResult:
+ virtual scoped_ptr<SearchResult> Duplicate() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestSearchResult);
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_TEST_TEST_SEARCH_RESULT_H_
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/test/test_search_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698