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..a5e2040f1a9bd7c6ddf4378b89afb3cc932fd3f2 |
--- /dev/null |
+++ b/chrome/browser/ui/touch/frame/keyboard_container_view.h |
@@ -0,0 +1,36 @@ |
+// 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; |
+ |
+// 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(); |
+ |
+ protected: |
+ // Overridden from views::View |
+ virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); |
+ |
+ private: |
+ DOMView* dom_view_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(KeyboardContainerView); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_TOUCH_FRAME_KEYBOARD_CONTAINER_VIEW_H_ |