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_ |