Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/bookmark_bar_gtk_unittest.cc

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/gtk/bookmark_bar_gtk.h" 5 #include "chrome/browser/gtk/bookmark_bar_gtk.h"
6 6
7 #include "base/task.h" 7 #include "base/task.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/gtk/tabstrip_origin_provider.h" 11 #include "chrome/browser/gtk/tabstrip_origin_provider.h"
(...skipping 77 matching lines...)
89 ASCIIToUTF16("other"), GURL("http://two.com")); 89 ASCIIToUTF16("other"), GURL("http://two.com"));
90 90
91 bookmark_bar_->Loaded(model); 91 bookmark_bar_->Loaded(model);
92 92
93 // We should expect two children to the bookmark bar's toolbar. 93 // We should expect two children to the bookmark bar's toolbar.
94 GList* children = gtk_container_get_children( 94 GList* children = gtk_container_get_children(
95 GTK_CONTAINER(bookmark_bar_->bookmark_toolbar_.get())); 95 GTK_CONTAINER(bookmark_bar_->bookmark_toolbar_.get()));
96 EXPECT_EQ(2U, g_list_length(children)); 96 EXPECT_EQ(2U, g_list_length(children));
97 g_list_free(children); 97 g_list_free(children);
98 } 98 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_bar_gtk_interactive_uitest.cc ('k') | chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine