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

Unified Diff: views/controls/textfield/native_textfield_wayland.cc

Issue 7464027: Wayland support for views. views_desktop on Wayland. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated native_widget_wayland.cc to match compositor changes Created 9 years, 4 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
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar_wayland.cc ('k') | views/desktop/desktop_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_wayland.cc
diff --git a/views/controls/textfield/native_textfield_wayland.cc b/views/controls/textfield/native_textfield_wayland.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d5869dcd018ad9b79621c7e89c0bf88841815cbf
--- /dev/null
+++ b/views/controls/textfield/native_textfield_wayland.cc
@@ -0,0 +1,20 @@
+// 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.
+
+#include "base/logging.h"
+#include "views/controls/textfield/native_textfield_views.h"
+#include "views/controls/textfield/textfield.h"
+
+namespace views {
+
+///////////////////////////////////////////////////////////////////////////////
+// NativeTextfieldWrapper:
+
+// static
+NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper(
+ Textfield* field) {
+ return new NativeTextfieldViews(field);
+}
+
+} // namespace views
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar_wayland.cc ('k') | views/desktop/desktop_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698