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

Unified Diff: athena/extensions/shell/athena_shell_scheme_classifier.h

Issue 640103002: Adds full-functional search results for Athena on Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DEPS 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 | « athena/extensions/shell/DEPS ('k') | athena/extensions/shell/athena_shell_scheme_classifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/shell/athena_shell_scheme_classifier.h
diff --git a/athena/extensions/shell/athena_shell_scheme_classifier.h b/athena/extensions/shell/athena_shell_scheme_classifier.h
new file mode 100644
index 0000000000000000000000000000000000000000..4ab5dd7ffdc55f8d4e81bde7894a7f14bb84fd4d
--- /dev/null
+++ b/athena/extensions/shell/athena_shell_scheme_classifier.h
@@ -0,0 +1,29 @@
+// 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 ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_
+#define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_
+
+#include "base/macros.h"
+#include "components/omnibox/autocomplete_scheme_classifier.h"
+
+namespace athena {
+
+// The AutocompleteSchemeClassifier implementation for athena_main.
+class AthenaShellSchemeClassifier : public AutocompleteSchemeClassifier {
+ public:
+ AthenaShellSchemeClassifier();
+ virtual ~AthenaShellSchemeClassifier();
+
+ // AutocompleteSchemeClassifier:
+ virtual metrics::OmniboxInputType::Type GetInputTypeForScheme(
+ const std::string& scheme) const override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AthenaShellSchemeClassifier);
+};
+
+} // namespace athena
+
+#endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_
« no previous file with comments | « athena/extensions/shell/DEPS ('k') | athena/extensions/shell/athena_shell_scheme_classifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698