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

Unified Diff: extensions/shell/browser/api/shell_extensions_api_client.h

Issue 514493004: Revert of Adding Select Action Bar Unit test case for input (patchset #3 of https://codereview.chro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copying Created 6 years, 4 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 | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/api/shell_extensions_api_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/api/shell_extensions_api_client.h
diff --git a/extensions/shell/browser/api/shell_extensions_api_client.h b/extensions/shell/browser/api/shell_extensions_api_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..41f548f6156286fed02d66f43ea05f79c9898b91
--- /dev/null
+++ b/extensions/shell/browser/api/shell_extensions_api_client.h
@@ -0,0 +1,28 @@
+// 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 EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
+#define EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "extensions/browser/api/extensions_api_client.h"
+
+namespace extensions {
+
+// Extra support for Chrome extensions APIs in app_shell.
+class ShellExtensionsAPIClient : public ExtensionsAPIClient {
+ public:
+ ShellExtensionsAPIClient();
+ virtual ~ShellExtensionsAPIClient();
+
+ // ExtensionsAPIClient implementation.
+ virtual device::HidService* GetHidService() OVERRIDE;
+
+ private:
+ scoped_ptr<device::HidService> hid_service_;
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/api/shell_extensions_api_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698