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

Unified 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: lint Created 9 years, 12 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
Index: chrome/browser/ui/touch/frame/keyboard_container_view.h
diff --git a/chrome/browser/ui/touch/frame/keyboard_container_view.h b/chrome/browser/ui/touch/frame/keyboard_container_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..363df2d2607580af67dc0cbd92a2bb62cc0faaa7
--- /dev/null
+++ b/chrome/browser/ui/touch/frame/keyboard_container_view.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2011 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 CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_
+#define CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_
+#pragma once
+
+#include "views/view.h"
+
+class DOMView;
+class Profile;
+
+/**
sky 2011/01/05 16:52:51 Use C++ style comments, not Java.
bryeung 2011/01/10 22:32:19 Oops. Sorry.
+ * A class that contains and decorates the virtual keyboard.
+ *
+ * This class is also responsible for managing focus of all views related to
+ * the keyboard to prevent them from interfering with the ClientView.
+ */
+class KeyboardContainerView : public views::View {
+ public:
+ explicit KeyboardContainerView(Profile* profile);
+ virtual ~KeyboardContainerView();
+
+ // Overridden from views::View
+ virtual void Layout();
+
+ private:
+ DOMView* dom_view_;
+
+ DISALLOW_COPY_AND_ASSIGN(KeyboardContainerView);
+};
+
+#endif // CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698