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

Side by Side Diff: chrome/browser/ui/touch/frame/keyboard_container_view.h

Issue 6020013: Wrap the virtual keyboard in a container view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last patch was missing changes Created 9 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 | « no previous file | chrome/browser/ui/touch/frame/keyboard_container_view.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 (c) 2011 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 CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_
6 #define CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_
7 #pragma once
8
9 #include "views/view.h"
10
11 class DOMView;
12 class Profile;
13
14 // A class that contains and decorates the virtual keyboard.
15 //
16 // This class is also responsible for managing focus of all views related to
17 // the keyboard to prevent them from interfering with the ClientView.
18 class KeyboardContainerView : public views::View {
19 public:
20 explicit KeyboardContainerView(Profile* profile);
21 virtual ~KeyboardContainerView();
22
23 // Overridden from views::View
24 virtual void Layout();
25
26 protected:
27 // Overridden from views::View
28 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
29
30 private:
31 DOMView* dom_view_;
32
33 DISALLOW_COPY_AND_ASSIGN(KeyboardContainerView);
34 };
35
36 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/touch/frame/keyboard_container_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698