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

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

Issue 113539: linux: unify all the dialog layout code for visual consistency. (Closed)
Patch Set: last second Created 11 years, 7 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
« no previous file with comments | « chrome/browser/gtk/about_chrome_dialog.cc ('k') | chrome/browser/gtk/bookmark_editor_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 #ifndef CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_
6 #define CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_ 6 #define CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "chrome/browser/bookmarks/bookmark_editor.h" 10 #include "chrome/browser/bookmarks/bookmark_editor.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 static void OnNewFolderClicked(GtkWidget* button, BookmarkEditorGtk* dialog); 97 static void OnNewFolderClicked(GtkWidget* button, BookmarkEditorGtk* dialog);
98 98
99 // Profile the entry is from. 99 // Profile the entry is from.
100 Profile* profile_; 100 Profile* profile_;
101 101
102 // The dialog to display on screen. 102 // The dialog to display on screen.
103 GtkWidget* dialog_; 103 GtkWidget* dialog_;
104 GtkWidget* name_entry_; 104 GtkWidget* name_entry_;
105 GtkWidget* url_entry_; 105 GtkWidget* url_entry_;
106 GtkWidget* close_button_;
107 GtkWidget* ok_button_;
108 GtkWidget* new_folder_button_;
109 GtkWidget* tree_view_; 106 GtkWidget* tree_view_;
110 107
111 // Helper object that manages the currently selected item in |tree_view_|. 108 // Helper object that manages the currently selected item in |tree_view_|.
112 GtkTreeSelection* tree_selection_; 109 GtkTreeSelection* tree_selection_;
113 110
114 // Our local copy of the bookmark data that we make from the BookmarkModel 111 // Our local copy of the bookmark data that we make from the BookmarkModel
115 // that we can modify as much as we want and still discard when the user 112 // that we can modify as much as we want and still discard when the user
116 // clicks Cancel. 113 // clicks Cancel.
117 GtkTreeStore* tree_store_; 114 GtkTreeStore* tree_store_;
118 115
(...skipping 15 matching lines...) Expand all
134 131
135 // Is the tree shown? 132 // Is the tree shown?
136 bool show_tree_; 133 bool show_tree_;
137 134
138 scoped_ptr<BookmarkEditor::Handler> handler_; 135 scoped_ptr<BookmarkEditor::Handler> handler_;
139 136
140 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorGtk); 137 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorGtk);
141 }; 138 };
142 139
143 #endif // CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_ 140 #endif // CHROME_BROWSER_GTK_BOOKMARK_EDITOR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/about_chrome_dialog.cc ('k') | chrome/browser/gtk/bookmark_editor_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698