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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/undoview/undo_manager.c ('k') | third_party/undoview/undo_view.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Boilerplate code was generated by http://burtonini.com/cgi/gobject.py
6
7 #ifndef UNDOVIEW_UNDO_VIEW_H_
8 #define UNDOVIEW_UNDO_VIEW_H_
9
10 #include <gtk/gtk.h>
11 #include "undo_manager.h"
12
13 G_BEGIN_DECLS
14
15 #define GTK_TYPE_UNDO_VIEW gtk_undo_view_get_type()
16
17 #define GTK_UNDO_VIEW(obj) \
18 (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_UNDO_VIEW, GtkUndoView))
19
20 #define GTK_UNDO_VIEW_CLASS(klass) \
21 (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_UNDO_VIEW, GtkUndoViewClass))
22
23 #define GTK_IS_UNDO_VIEW(obj) \
24 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_UNDO_VIEW))
25
26 #define GTK_IS_UNDO_VIEW_CLASS(klass) \
27 (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_UNDO_VIEW))
28
29 #define GTK_UNDO_VIEW_GET_CLASS(obj) \
30 (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_UNDO_VIEW, GtkUndoViewClass))
31
32 typedef struct {
33 GtkTextView parent;
34 GtkSourceUndoManager *undo_manager_;
35 } GtkUndoView;
36
37 typedef struct {
38 GtkTextViewClass parent_class;
39
40 void (*undo)(GtkUndoView *);
41 void (*redo)(GtkUndoView *);
42 } GtkUndoViewClass;
43
44 GType gtk_undo_view_get_type(void);
45
46 GtkWidget* gtk_undo_view_new(GtkTextBuffer *buffer);
47
48 G_END_DECLS
49
50 #endif // UNDOVIEW_UNDO_VIEW_H_
OLDNEW
« 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