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

Side by Side Diff: ui/aura/client/virtual_keyboard_client.h

Issue 195793004: Implement overscroll support for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright notice. Created 6 years, 9 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/aura/aura.gyp ('k') | ui/aura/client/virtual_keyboard_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_CLIENT_VIRTUAL_KEYBOARD_CLIENT_H_
6 #define UI_AURA_CLIENT_VIRTUAL_KEYBOARD_CLIENT_H_
7
8 #include "ui/aura/aura_export.h"
9
10 namespace ui {
11 class Event;
12 }
13
14 namespace aura {
15
16 class Window;
17
18 namespace client {
19 class VirtualKeyboardObserver;
20
21 // An interface implemented by an object that manages window focus.
22 class AURA_EXPORT VirtualKeyboardClient {
sadrul 2014/03/26 17:19:18 Why do we need to introduce this client, and add t
kevers 2014/03/26 17:43:46 RWHVA implements several observers in aura::client
sadrul 2014/03/26 18:26:21 I don't think adding a new aura-client interface i
kevers 2014/04/09 20:06:28 Removed. Now using singleton keyboard controller.
23 public:
24 virtual ~VirtualKeyboardClient() {}
25
26 virtual void AddObserver(VirtualKeyboardObserver* observer) = 0;
27 virtual void RemoveObserver(VirtualKeyboardObserver* observer) = 0;
28
29 // Returns TRUE if keyboard overscroll mode is enabled.
30 virtual bool IsOverscrollEnabled() = 0;
31 };
32
33 // Sets/Gets the virtual keyboard client on the root Window.
34 AURA_EXPORT void SetVirtualKeyboardClient(Window* root_window,
35 VirtualKeyboardClient* client);
36 AURA_EXPORT VirtualKeyboardClient* GetVirtualKeyboardClient(
37 const Window* window);
38
39 } // namespace clients
40 } // namespace aura
41
42 #endif // UI_AURA_CLIENT_VIRTUAL_KEYBOARD_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/client/virtual_keyboard_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698