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

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

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.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"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 gtk_entry_set_text(GTK_ENTRY(editor.name_entry_), "new_a"); 318 gtk_entry_set_text(GTK_ENTRY(editor.name_entry_), "new_a");
319 319
320 editor.ApplyEdits(); 320 editor.ApplyEdits();
321 321
322 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); 322 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node();
323 ASSERT_EQ(2, other_node->GetChildCount()); 323 ASSERT_EQ(2, other_node->GetChildCount());
324 324
325 const BookmarkNode* new_node = other_node->GetChild(0); 325 const BookmarkNode* new_node = other_node->GetChild(0);
326 EXPECT_EQ(ASCIIToUTF16("new_a"), new_node->GetTitle()); 326 EXPECT_EQ(ASCIIToUTF16("new_a"), new_node->GetTitle());
327 } 327 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_editor_gtk.cc ('k') | chrome/browser/ui/gtk/bookmark_menu_controller_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698