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

Unified Diff: ui/views/controls/textfield/gtk_views_textview.h

Issue 9728002: Removing deprecated GTK-Views code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ui/views/controls/textfield/gtk_views_entry.cc ('k') | ui/views/controls/textfield/gtk_views_textview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/gtk_views_textview.h
diff --git a/ui/views/controls/textfield/gtk_views_textview.h b/ui/views/controls/textfield/gtk_views_textview.h
deleted file mode 100644
index 9c2e4e65b836b989f7b71145f40da9d5f121aa60..0000000000000000000000000000000000000000
--- a/ui/views/controls/textfield/gtk_views_textview.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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 UI_VIEWS_CONTROLS_TEXTFIELD_GTK_VIEWS_TEXTVIEW_H_
-#define UI_VIEWS_CONTROLS_TEXTFIELD_GTK_VIEWS_TEXTVIEW_H_
-#pragma once
-
-#include <gdk/gdk.h>
-#include <gtk/gtktextview.h>
-
-namespace views {
-class NativeTextfieldGtk;
-}
-
-// Similar to GtkViewsEntry, GtkViewsTextView is a subclass of GtkTextView
-// with a border and ability to show a custom info when text view has no text.
-
-G_BEGIN_DECLS
-
-#define GTK_TYPE_VIEWS_TEXTVIEW (gtk_views_textview_get_type())
-#define GTK_VIEWS_TEXTVIEW(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_VIEWS_TEXTVIEW, \
- GtkViewsTextView))
-#define GTK_VIEWS_TEXTVIEW_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_VIEWS_TEXTVIEW, \
- GtkViewsTextViewClass))
-#define GTK_IS_VIEWS_TEXTVIEW(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VIEWS_TEXTVIEW))
-#define GTK_IS_VIEWS_TEXTVIEW_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VIEWS_TEXTVIEW))
-#define GTK_VIEWS_TEXTVIEW_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VIEWS_TEXTVIEW, \
- GtkViewsTextView))
-
-typedef struct _GtkViewsTextView GtkViewsTextView;
-typedef struct _GtkViewsTextViewClass GtkViewsTextViewClass;
-
-struct _GtkViewsTextView {
- GtkTextView text_view;
- views::NativeTextfieldGtk* host;
-};
-
-struct _GtkViewsTextViewClass {
- GtkTextViewClass parent_class;
-};
-
-GtkWidget* gtk_views_textview_new(views::NativeTextfieldGtk* host);
-
-GType gtk_views_textview_get_type();
-
-G_END_DECLS
-
-#endif // UI_VIEWS_CONTROLS_TEXTFIELD_GTK_VIEWS_TEXTVIEW_H_
« no previous file with comments | « ui/views/controls/textfield/gtk_views_entry.cc ('k') | ui/views/controls/textfield/gtk_views_textview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698