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

Unified Diff: components/contextual_search/browser/contextual_search_ui_handle.h

Issue 1532743002: [Contextual Search] Use Mojo API for Quick Answers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated a comment. Created 4 years, 11 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 | « components/contextual_search/browser/contextual_search_js_api_service_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/contextual_search/browser/contextual_search_ui_handle.h
diff --git a/components/contextual_search/browser/contextual_search_ui_handle.h b/components/contextual_search/browser/contextual_search_ui_handle.h
deleted file mode 100644
index 6f565410faa800fa6c7db3df941bf1d36bcb077b..0000000000000000000000000000000000000000
--- a/components/contextual_search/browser/contextual_search_ui_handle.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2015 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 COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_CONTEXTUAL_SEARCH_UI_HANDLE_H_
-#define COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_CONTEXTUAL_SEARCH_UI_HANDLE_H_
-
-#include <string>
-
-#include "base/macros.h"
-
-namespace contextual_search {
-
-// Interface that the Contextual Search Renderer API uses to call back to
-// the browser.
-class ContextualSearchUIHandle {
- public:
- ContextualSearchUIHandle() {}
- virtual ~ContextualSearchUIHandle() {}
-
- // Set the caption in the Contextual Search Bar, and indicate whether
- // the caption provides an answer (such as an actual definition), rather than
- // just general notification of what kind of answer may be available.
- virtual void SetCaption(std::string caption, bool does_answer) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ContextualSearchUIHandle);
-};
-
-} // namespace contextual_search
-
-#endif // COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_CONTEXTUAL_SEARCH_UI_HANDLE_H_
« no previous file with comments | « components/contextual_search/browser/contextual_search_js_api_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698