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

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

Issue 9447096: gtk: Rename GtkThemeService to ThemeServiceGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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.
11 11
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // The URL of the bookmark. 81 // The URL of the bookmark.
82 GURL url_; 82 GURL url_;
83 83
84 // Our current profile (used to access the bookmark system). 84 // Our current profile (used to access the bookmark system).
85 Profile* profile_; 85 Profile* profile_;
86 86
87 // This is owned by the Profile. 87 // This is owned by the Profile.
88 BookmarkModel* model_; 88 BookmarkModel* model_;
89 89
90 // Provides colors and stuff. 90 // Provides colors and stuff.
91 GtkThemeService* theme_service_; 91 ThemeServiceGtk* theme_service_;
92 92
93 // The widget relative to which we are positioned. 93 // The widget relative to which we are positioned.
94 GtkWidget* anchor_; 94 GtkWidget* anchor_;
95 95
96 // We let the BubbleGtk own our content, and then we delete ourself 96 // We let the BubbleGtk own our content, and then we delete ourself
97 // when the widget is destroyed (when the BubbleGtk is destroyed). 97 // when the widget is destroyed (when the BubbleGtk is destroyed).
98 GtkWidget* content_; 98 GtkWidget* content_;
99 99
100 // The button that removes the bookmark. 100 // The button that removes the bookmark.
101 GtkWidget* remove_button_; 101 GtkWidget* remove_button_;
(...skipping 20 matching lines...) Expand all
122 // When closing the window, whether we should update or remove the bookmark. 122 // When closing the window, whether we should update or remove the bookmark.
123 bool apply_edits_; 123 bool apply_edits_;
124 bool remove_bookmark_; 124 bool remove_bookmark_;
125 125
126 content::NotificationRegistrar registrar_; 126 content::NotificationRegistrar registrar_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk); 128 DISALLOW_COPY_AND_ASSIGN(BookmarkBubbleGtk);
129 }; 129 };
130 130
131 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BUBBLE_GTK_H_ 131 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BUBBLE_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698