diff options
author | ian@chromium.org <ian@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 17:27:45 +0000 |
---|---|---|
committer | ian@chromium.org <ian@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 17:27:45 +0000 |
commit | 9f07e60d403013e3f17b5dd55e5031318c34d4cd (patch) | |
tree | 2a77f71eec1bfe99effe284cea5e6b127ec3e3ee /chrome/browser/views/options/cookies_view.cc | |
parent | 5d71030fd14f4481f1e574d28042c9f86731c933 (diff) | |
download | chromium_src-9f07e60d403013e3f17b5dd55e5031318c34d4cd.zip chromium_src-9f07e60d403013e3f17b5dd55e5031318c34d4cd.tar.gz chromium_src-9f07e60d403013e3f17b5dd55e5031318c34d4cd.tar.bz2 |
Add an option to tree_view for whether to show lines from the root node
to children nodes (sets TVS_LINESATROOT). Set this to false by default
(maintaining existing behaviour by default), except for cookies_view where
we set it to true.
BUG=27657
TEST=open cookies dialog, make sure the origins have a + box next to them,
and that expanding these also expands the cookies folder beneath them.
Review URL: http://codereview.chromium.org/399030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/cookies_view.cc')
-rw-r--r-- | chrome/browser/views/options/cookies_view.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/options/cookies_view.cc b/chrome/browser/views/options/cookies_view.cc index 2fe5ac7..b287582 100644 --- a/chrome/browser/views/options/cookies_view.cc +++ b/chrome/browser/views/options/cookies_view.cc @@ -415,8 +415,9 @@ void CookiesView::Init() { layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); layout->StartRow(1, single_column_layout_id); + cookies_tree_->set_lines_at_root(true); + cookies_tree_->set_auto_expand_children(true); layout->AddView(cookies_tree_); - cookies_tree_->ExpandAll(); cookies_tree_->SetController(this); |