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

Unified Diff: ash/test/content/keyboard_controller_proxy_stub.h

Issue 1392713002: Extract content dependency from keyboard code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 | « ash/shell_delegate.h ('k') | ash/test/content/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/content/keyboard_controller_proxy_stub.h
diff --git a/ash/test/content/keyboard_controller_proxy_stub.h b/ash/test/content/keyboard_controller_proxy_stub.h
deleted file mode 100644
index af1425d0e96ab43b8fa70dcfab8212b7fcb02efa..0000000000000000000000000000000000000000
--- a/ash/test/content/keyboard_controller_proxy_stub.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2013 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 ASH_TEST_CONTENT_KEYBOARD_CONTROLLER_PROXY_STUB_H_
-#define ASH_TEST_CONTENT_KEYBOARD_CONTROLLER_PROXY_STUB_H_
-
-#include "ui/aura/test/test_window_delegate.h"
-#include "ui/keyboard/keyboard_controller_proxy.h"
-
-namespace aura {
-class Window;
-} // namespace aura
-
-namespace ash {
-
-// Stub implementation of KeyboardControllerProxy
-class KeyboardControllerProxyStub : public keyboard::KeyboardControllerProxy {
- public:
- KeyboardControllerProxyStub();
- ~KeyboardControllerProxyStub() override;
-
- bool HasKeyboardWindow() const override;
- aura::Window* GetKeyboardWindow() override;
-
- private:
- // Overridden from keyboard::KeyboardControllerProxy:
- ui::InputMethod* GetInputMethod() override;
- void RequestAudioInput(
- content::WebContents* web_contents,
- const content::MediaStreamRequest& request,
- const content::MediaResponseCallback& callback) override;
- void LoadSystemKeyboard() override;
- void ReloadKeyboardIfNeeded() override;
-
- aura::test::TestWindowDelegate delegate_;
- scoped_ptr<aura::Window> keyboard_;
- DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub);
-};
-
-} // namespace ash
-
-#endif // ASH_TEST_CONTENT_KEYBOARD_CONTROLLER_PROXY_STUB_H_
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/content/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698