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

Side by Side Diff: ui/ui_controls/ui_controls_aura.h

Issue 11878013: Make ui_controls only usable from interactive_ui_tests. This has two benefits: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/ui_controls/ui_controls.h ('k') | ui/ui_controls/ui_controls_internal_win.h » ('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 UI_UI_CONTROLS_UI_CONTROLS_AURA_H_ 5 #ifndef UI_UI_CONTROLS_UI_CONTROLS_AURA_H_
6 #define UI_UI_CONTROLS_UI_CONTROLS_AURA_H_ 6 #define UI_UI_CONTROLS_UI_CONTROLS_AURA_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "ui/base/keycodes/keyboard_codes.h" 9 #include "ui/base/keycodes/keyboard_codes.h"
10 #include "ui/base/ui_export.h"
11 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
12 #include "ui/ui_controls/ui_controls.h" 11 #include "ui/ui_controls/ui_controls.h"
13 12
14 namespace ui_controls { 13 namespace ui_controls {
15 14
16 // An interface to provide Aura implementation of UI control. 15 // An interface to provide Aura implementation of UI control.
17 class UI_EXPORT UIControlsAura { 16 class UIControlsAura {
18 public: 17 public:
19 UIControlsAura(); 18 UIControlsAura();
20 virtual ~UIControlsAura(); 19 virtual ~UIControlsAura();
21 20
22 virtual bool SendKeyPress(gfx::NativeWindow window, 21 virtual bool SendKeyPress(gfx::NativeWindow window,
23 ui::KeyboardCode key, 22 ui::KeyboardCode key,
24 bool control, 23 bool control,
25 bool shift, 24 bool shift,
26 bool alt, 25 bool alt,
27 bool command) = 0; 26 bool command) = 0;
(...skipping 21 matching lines...) Expand all
49 virtual bool SendMouseClick(MouseButton type) = 0; 48 virtual bool SendMouseClick(MouseButton type) = 0;
50 49
51 // Runs |closure| after processing all pending ui events. 50 // Runs |closure| after processing all pending ui events.
52 virtual void RunClosureAfterAllPendingUIEvents( 51 virtual void RunClosureAfterAllPendingUIEvents(
53 const base::Closure& closure) = 0; 52 const base::Closure& closure) = 0;
54 }; 53 };
55 54
56 } // namespace ui_controls 55 } // namespace ui_controls
57 56
58 #endif // UI_UI_CONTROLS_UI_CONTROLS_AURA_H_ 57 #endif // UI_UI_CONTROLS_UI_CONTROLS_AURA_H_
OLDNEW
« no previous file with comments | « ui/ui_controls/ui_controls.h ('k') | ui/ui_controls/ui_controls_internal_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698