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

Side by Side Diff: ash/test/test_shell_delegate.h

Issue 13164002: Create and show the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix upstream Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 13
14 namespace keyboard {
15 class KeyboardControllerProxy;
16 }
17
14 namespace ash { 18 namespace ash {
15 namespace test { 19 namespace test {
16 20
17 class AshTestBase; 21 class AshTestBase;
18 22
19 class TestShellDelegate : public ShellDelegate { 23 class TestShellDelegate : public ShellDelegate {
20 public: 24 public:
21 TestShellDelegate(); 25 TestShellDelegate();
22 virtual ~TestShellDelegate(); 26 virtual ~TestShellDelegate();
23 27
(...skipping 12 matching lines...) Expand all
36 virtual void Exit() OVERRIDE; 40 virtual void Exit() OVERRIDE;
37 virtual void NewTab() OVERRIDE; 41 virtual void NewTab() OVERRIDE;
38 virtual void NewWindow(bool incognito) OVERRIDE; 42 virtual void NewWindow(bool incognito) OVERRIDE;
39 virtual void ToggleMaximized() OVERRIDE; 43 virtual void ToggleMaximized() OVERRIDE;
40 virtual void OpenFileManager(bool as_dialog) OVERRIDE; 44 virtual void OpenFileManager(bool as_dialog) OVERRIDE;
41 virtual void OpenCrosh() OVERRIDE; 45 virtual void OpenCrosh() OVERRIDE;
42 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; 46 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE;
43 virtual void RestoreTab() OVERRIDE; 47 virtual void RestoreTab() OVERRIDE;
44 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; 48 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE;
45 virtual void ShowKeyboardOverlay() OVERRIDE; 49 virtual void ShowKeyboardOverlay() OVERRIDE;
50 virtual keyboard::KeyboardControllerProxy*
51 CreateKeyboardControllerProxy() OVERRIDE;
46 virtual void ShowTaskManager() OVERRIDE; 52 virtual void ShowTaskManager() OVERRIDE;
47 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; 53 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
48 virtual void ToggleSpokenFeedback( 54 virtual void ToggleSpokenFeedback(
49 AccessibilityNotificationVisibility notify) OVERRIDE; 55 AccessibilityNotificationVisibility notify) OVERRIDE;
50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; 56 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
51 virtual void ToggleHighContrast() OVERRIDE; 57 virtual void ToggleHighContrast() OVERRIDE;
52 virtual bool IsHighContrastEnabled() const OVERRIDE; 58 virtual bool IsHighContrastEnabled() const OVERRIDE;
53 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; 59 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE;
54 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; 60 virtual void SetMagnifierType(MagnifierType type) OVERRIDE;
55 virtual bool IsMagnifierEnabled() const OVERRIDE; 61 virtual bool IsMagnifierEnabled() const OVERRIDE;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 116
111 scoped_ptr<content::BrowserContext> current_browser_context_; 117 scoped_ptr<content::BrowserContext> current_browser_context_;
112 118
113 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 119 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
114 }; 120 };
115 121
116 } // namespace test 122 } // namespace test
117 } // namespace ash 123 } // namespace ash
118 124
119 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 125 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698