Home
last modified time | relevance | path

Searched refs:ChangeParent (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_menu_manager_unittest.cc230 TEST_F(ExtensionMenuManagerTest, ChangeParent) { in TEST_F() argument
254 ASSERT_TRUE(manager_.ChangeParent(item3->id(), &item2->id())); in TEST_F()
260 ASSERT_TRUE(manager_.ChangeParent(item2->id(), &item1->id())); in TEST_F()
273 ASSERT_TRUE(manager_.ChangeParent(item3->id(), &item1->id())); in TEST_F()
279 ASSERT_FALSE(manager_.ChangeParent(item1->id(), &item3->id())); in TEST_F()
289 ASSERT_TRUE(manager_.ChangeParent(item2->id(), NULL)); in TEST_F()
301 ASSERT_FALSE(manager_.ChangeParent(item4->id(), &item1->id())); in TEST_F()
302 ASSERT_FALSE(manager_.ChangeParent(item1->id(), &item4->id())); in TEST_F()
305 ASSERT_FALSE(manager_.ChangeParent(item1->id(), &item1->id())); in TEST_F()
Dextension_menu_manager.h228 bool ChangeParent(const ExtensionMenuItem::Id& child_id,
Dextension_context_menu_api.cc330 if (parent && !menu_manager->ChangeParent(item->id(), &parent->id())) in RunImpl()
Dextension_menu_manager.cc182 bool ExtensionMenuManager::ChangeParent( in ChangeParent() function in ExtensionMenuManager
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_editor_gtk.h46 FRIEND_TEST_ALL_PREFIXES(BookmarkEditorGtkTest, ChangeParent);
Dbookmark_editor_gtk_unittest.cc177 TEST_F(BookmarkEditorGtkTest, ChangeParent) { in TEST_F() argument
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc190 TEST_F(BookmarkEditorViewTest, ChangeParent) { in TEST_F() argument