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

Unified Diff: third_party/undoview/undo_view.h

Issue 9289019: Move undoview to deps/third_party/ (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/
Patch Set: '' Created 8 years, 11 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 | « third_party/undoview/undo_manager.c ('k') | third_party/undoview/undo_view.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/undoview/undo_view.h
===================================================================
--- third_party/undoview/undo_view.h (revision 0)
+++ third_party/undoview/undo_view.h (revision 0)
@@ -0,0 +1,50 @@
+// Copyright (c) 2012 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.
+
+// Boilerplate code was generated by http://burtonini.com/cgi/gobject.py
+
+#ifndef UNDOVIEW_UNDO_VIEW_H_
+#define UNDOVIEW_UNDO_VIEW_H_
+
+#include <gtk/gtk.h>
+#include "undo_manager.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_UNDO_VIEW gtk_undo_view_get_type()
+
+#define GTK_UNDO_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_UNDO_VIEW, GtkUndoView))
+
+#define GTK_UNDO_VIEW_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_UNDO_VIEW, GtkUndoViewClass))
+
+#define GTK_IS_UNDO_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_UNDO_VIEW))
+
+#define GTK_IS_UNDO_VIEW_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_UNDO_VIEW))
+
+#define GTK_UNDO_VIEW_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_UNDO_VIEW, GtkUndoViewClass))
+
+typedef struct {
+ GtkTextView parent;
+ GtkSourceUndoManager *undo_manager_;
+} GtkUndoView;
+
+typedef struct {
+ GtkTextViewClass parent_class;
+
+ void (*undo)(GtkUndoView *);
+ void (*redo)(GtkUndoView *);
+} GtkUndoViewClass;
+
+GType gtk_undo_view_get_type(void);
+
+GtkWidget* gtk_undo_view_new(GtkTextBuffer *buffer);
+
+G_END_DECLS
+
+#endif // UNDOVIEW_UNDO_VIEW_H_
Property changes on: third_party/undoview/undo_view.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/undoview/undo_manager.c ('k') | third_party/undoview/undo_view.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698