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

Unified Diff: chrome/browser/gtk/bookmark_manager_gtk.h

Issue 151134: Bookmark manager polish:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove cruft Created 11 years, 6 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 | « no previous file | chrome/browser/gtk/bookmark_manager_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_manager_gtk.h
===================================================================
--- chrome/browser/gtk/bookmark_manager_gtk.h (revision 19623)
+++ chrome/browser/gtk/bookmark_manager_gtk.h (working copy)
@@ -110,6 +110,17 @@
// Stick update the right store to reflect |row| from |right_tree_model_|.
void AddNodeToRightStore(int row);
+ // Set the size of a column based on the user prefs, and also sets the sizing
+ // properties of the column.
+ void SizeColumn(GtkTreeViewColumn* column,
+ const wchar_t* prefname);
+
+ // Calls SizeColumn() on each of the right tree view columns.
+ void SizeColumns();
+
+ // Save the column widths into the pref service.
+ void SaveColumnConfiguration();
+
GtkTreeSelection* left_selection() {
return gtk_tree_view_get_selection(GTK_TREE_VIEW(left_tree_view_));
}
@@ -217,6 +228,8 @@
};
GtkTreeStore* left_store_;
GtkListStore* right_store_;
+ GtkTreeViewColumn* title_column_;
+ GtkTreeViewColumn* url_column_;
GtkTreeViewColumn* path_column_;
scoped_ptr<BookmarkTableModel> right_tree_model_;
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698