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

Side by Side Diff: chrome/browser/gtk/bookmark_bubble_gtk.h

Issue 160491: revert 22226 as it caused some ui test crashes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bubble_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is the GTK implementation of the bookmark bubble, the dialog box 5 // This is the GTK implementation of the bookmark bubble, the dialog box
6 // presented to create or edit a bookmark. There can only ever be a single 6 // presented to create or edit a bookmark. There can only ever be a single
7 // bubble open, so the class presents only static methods, and handles the 7 // bubble open, so the class presents only static methods, and handles the
8 // singleton behavior for you. It also handles the object and widget 8 // singleton behavior for you. It also handles the object and widget
9 // lifetimes, destroying everything and possibly committing any changes when 9 // lifetimes, destroying everything and possibly committing any changes when
10 // the bubble is closed. 10 // the bubble is closed.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // Provides colors and stuff. 119 // Provides colors and stuff.
120 GtkThemeProvider* theme_provider_; 120 GtkThemeProvider* theme_provider_;
121 121
122 // The toplevel window our dialogs should be transient for. 122 // The toplevel window our dialogs should be transient for.
123 GtkWindow* transient_toplevel_; 123 GtkWindow* transient_toplevel_;
124 124
125 // We let the InfoBubble own our content, and then we delete ourself 125 // We let the InfoBubble own our content, and then we delete ourself
126 // when the widget is destroyed (when the InfoBubble is destroyed). 126 // when the widget is destroyed (when the InfoBubble is destroyed).
127 GtkWidget* content_; 127 GtkWidget* content_;
128 128
129 // The button that removes the bookmark.
130 GtkWidget* remove_button_;
131
132 // The various labels in the interface. We keep track of them for theme 129 // The various labels in the interface. We keep track of them for theme
133 // changes. 130 // changes.
134 std::vector<GtkWidget*> labels_; 131 std::vector<GtkWidget*> labels_;
135 132
136 // The GtkEntry for editing the bookmark name / title. 133 // The GtkEntry for editing the bookmark name / title.
137 GtkWidget* name_entry_; 134 GtkWidget* name_entry_;
138 135
139 // The combo box for selecting the bookmark folder. 136 // The combo box for selecting the bookmark folder.
140 GtkWidget* folder_combo_; 137 GtkWidget* folder_combo_;
141 138
(...skipping 11 matching lines...) Expand all
153 // When closing the window, whether we should update or remove the bookmark. 150 // When closing the window, whether we should update or remove the bookmark.
154 bool apply_edits_; 151 bool apply_edits_;
155 bool remove_bookmark_; 152 bool remove_bookmark_;
156 153
157 NotificationRegistrar registrar_; 154 NotificationRegistrar registrar_;
158 155
159 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk); 156 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk);
160 }; 157 };
161 158
162 #endif // CHROME_BROWSER_GTK_BOOKMARK_BUBBLE_GTK_H_ 159 #endif // CHROME_BROWSER_GTK_BOOKMARK_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698