Home
last modified time | relevance | path

Searched refs:new_parent (Results 1 – 25 of 98) sorted by relevance

1234

/external/chromium_org/mojo/services/view_manager/
Dconnection_manager.cc155 const ServerView* new_parent, in ProcessWillChangeViewHierarchy() argument
161 view, new_parent, old_parent, IsChangeSource(i->first)); in ProcessWillChangeViewHierarchy()
167 const ServerView* new_parent, in ProcessViewHierarchyChanged() argument
173 view, new_parent, old_parent, IsChangeSource(i->first)); in ProcessViewHierarchyChanged()
244 const ServerView* new_parent, in OnWillChangeViewHierarchy() argument
247 ProcessWillChangeViewHierarchy(view, new_parent, old_parent); in OnWillChangeViewHierarchy()
251 const ServerView* new_parent, in OnViewHierarchyChanged() argument
254 ProcessViewHierarchyChanged(view, new_parent, old_parent); in OnViewHierarchyChanged()
260 if (new_parent) { in OnViewHierarchyChanged()
261 display_manager_.SchedulePaint(new_parent, in OnViewHierarchyChanged()
[all …]
Ddefault_access_policy.cc83 const ServerView** new_parent, in ShouldNotifyOnHierarchyChange() argument
88 if (*new_parent && !WasCreatedByThisConnection(*new_parent) && in ShouldNotifyOnHierarchyChange()
89 !IsViewInRoots(*new_parent)) { in ShouldNotifyOnHierarchyChange()
90 *new_parent = NULL; in ShouldNotifyOnHierarchyChange()
Dwindow_manager_access_policy.cc79 const ServerView** new_parent, in ShouldNotifyOnHierarchyChange() argument
84 return IsViewKnown(view) || (*new_parent && IsViewKnown(*new_parent)); in ShouldNotifyOnHierarchyChange()
Dconnection_manager.h127 const ServerView* new_parent,
130 const ServerView* new_parent,
166 const ServerView* new_parent,
169 const ServerView* new_parent,
Dserver_view_delegate.h26 const ServerView* new_parent,
30 const ServerView* new_parent,
Dview_manager_service_impl.cc84 const ServerView* new_parent, in ProcessWillChangeViewHierarchy() argument
91 const bool new_drawn = view->visible() && new_parent && in ProcessWillChangeViewHierarchy()
92 new_parent->IsDrawn(connection_manager_->root()); in ProcessWillChangeViewHierarchy()
101 const ServerView* new_parent, in ProcessViewHierarchyChanged() argument
104 if (originated_change && !IsViewKnown(view) && new_parent && in ProcessViewHierarchyChanged()
105 IsViewKnown(new_parent)) { in ProcessViewHierarchyChanged()
115 view, &new_parent, &old_parent)) { in ProcessViewHierarchyChanged()
123 const ViewId new_parent_id(new_parent ? new_parent->id() : ViewId()); in ProcessViewHierarchyChanged()
/external/chromium_org/chrome/browser/undo/
Dbookmark_undo_service.cc250 const BookmarkNode* new_parent,
274 const BookmarkNode* new_parent, in BookmarkMoveOperation() argument
278 new_parent_id_(new_parent->id()), in BookmarkMoveOperation()
287 const BookmarkNode* new_parent = in Undo() local
290 DCHECK(new_parent); in Undo()
292 const BookmarkNode* node = new_parent->GetChild(new_index_); in Undo()
298 if (old_parent == new_parent && new_index_ < old_index_) in Undo()
414 const BookmarkNode* new_parent, in BookmarkNodeMoved() argument
419 new_parent, in BookmarkNodeMoved()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_editor.cc147 const BookmarkNode* new_parent, in ApplyEditsWithPossibleFolderChange() argument
153 return CreateNewNode(model, new_parent, details, new_title, new_url); in ApplyEditsWithPossibleFolderChange()
159 if (new_parent != node->parent()) in ApplyEditsWithPossibleFolderChange()
160 model->Move(node, new_parent, new_parent->child_count()); in ApplyEditsWithPossibleFolderChange()
Drecently_used_folders_combo_model.cc146 const BookmarkNode* new_parent, in BookmarkNodeMoved() argument
229 const BookmarkNode* new_parent = GetNodeAt(selected_index); in MaybeChangeParent() local
230 if (new_parent != node->parent()) { in MaybeChangeParent()
233 bookmark_model_->Move(node, new_parent, new_parent->child_count()); in MaybeChangeParent()
/external/chromium_org/ash/wm/
Dwindow_util.cc155 aura::Window* new_parent) { in ReparentChildWithTransientChildren() argument
157 new_parent->AddChild(child); in ReparentChildWithTransientChildren()
158 ReparentTransientChildrenOfChild(child, old_parent, new_parent); in ReparentChildWithTransientChildren()
163 aura::Window* new_parent) { in ReparentTransientChildrenOfChild() argument
170 new_parent); in ReparentTransientChildrenOfChild()
Dwindow_util.h91 aura::Window* new_parent);
98 aura::Window* new_parent);
/external/chromium_org/sync/syncable/
Dsyncable_util.cc38 Entry new_parent(trans, GET_BY_ID, ancestor_id); in IsLegalNewParent() local
39 if (!SyncAssert(new_parent.good(), in IsLegalNewParent()
44 ancestor_id = new_parent.GetParentId(); in IsLegalNewParent()
/external/chromium_org/components/bookmarks/browser/
Dbookmark_model.cc238 const BookmarkNode* new_parent, in Move() argument
240 if (!loaded_ || !node || !IsValidIndex(new_parent, index, true) || in Move()
241 is_root_node(new_parent) || is_permanent_node(node)) { in Move()
246 if (new_parent->HasAncestor(node)) { in Move()
255 if (old_parent == new_parent && in Move()
261 SetDateFolderModified(new_parent, Time::Now()); in Move()
263 if (old_parent == new_parent && index > old_index) in Move()
265 BookmarkNode* mutable_new_parent = AsMutable(new_parent); in Move()
273 new_parent, index)); in Move()
277 const BookmarkNode* new_parent, in Copy() argument
[all …]
/external/chromium_org/ui/v2/src/
Dview.cc81 if (params.new_parent) in NotifyViewTreeChange()
82 NotifyViewTreeChangeUp(params.new_parent, params); in NotifyViewTreeChange()
92 ScopedTreeNotifier(View* target, View* old_parent, View* new_parent) { in ScopedTreeNotifier() argument
95 params_.new_parent = new_parent; in ScopedTreeNotifier()
Dview_unittest.cc118 lhs.new_parent == rhs.new_parent && lhs.receiver == rhs.receiver && in TreeChangeParamsMatch()
171 p1.new_parent = &v1; in TEST_F()
196 p1.new_parent = NULL; in TEST_F()
241 p1.new_parent = &v11; in TEST_F()
292 p1.new_parent = NULL; in TEST_F()
346 p1.new_parent = &v12; in TEST_F()
Dview_observer.cc17 new_parent(NULL), in TreeChangeParams()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host_mac.mm19 // |new_parent|.
20 void ReparentNSView(NSView* native_view, Widget* new_parent) {
33 if (!new_parent) {
40 new_parent->GetNativeView());
/external/chromium_org/mojo/services/public/cpp/view_manager/tests/
Dview_unittest.cc95 lhs.new_parent == rhs.new_parent && lhs.receiver == rhs.receiver; in TreeChangeParamsMatch()
149 p1.new_parent = &v1; in TEST_F()
171 p1.new_parent = NULL; in TEST_F()
210 p1.new_parent = &v11; in TEST_F()
254 p1.new_parent = NULL; in TEST_F()
298 p1.new_parent = &v12; in TEST_F()
/external/chromium_org/ash/shelf/
Dshelf_window_watcher_unittest.cc196 aura::Window* new_parent = Shell::GetContainer( in TEST_F() local
202 new_parent->AddChild(window.get()); in TEST_F()
262 aura::Window* new_parent = Shell::GetContainer( in TEST_F() local
281 new_parent->AddChild(window.get()); in TEST_F()
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dview.cc63 if (params.new_parent) in NotifyViewTreeChange()
64 NotifyViewTreeChangeUp(params.new_parent, params, change_applied); in NotifyViewTreeChange()
69 ScopedTreeNotifier(View* target, View* old_parent, View* new_parent) { in ScopedTreeNotifier() argument
72 params_.new_parent = new_parent; in ScopedTreeNotifier()
Dview_observer.cc17 new_parent(NULL), in TreeChangeParams()
/external/chromium_org/ui/wm/core/
Dfocus_controller.cc200 params.target->Contains(params.receiver) && (!params.new_parent || in OnWindowHierarchyChanging()
201 aura::client::GetFocusClient(params.new_parent) != in OnWindowHierarchyChanging()
210 params.target->Contains(params.receiver) && (!params.new_parent || in OnWindowHierarchyChanged()
211 aura::client::GetFocusClient(params.new_parent) != in OnWindowHierarchyChanged()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
Dhists.c144 GtkTreeIter iter, new_parent; in perf_gtk__add_callchain() local
154 new_parent = *parent; in perf_gtk__add_callchain()
160 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain()
173 new_parent = iter; in perf_gtk__add_callchain()
/external/chromium_org/chrome/browser/extensions/
Dmenu_manager.cc411 MenuItem* new_parent = parent_id ? GetItemById(*parent_id) : NULL; in ChangeParent() local
413 (!new_parent && parent_id != NULL) || in ChangeParent()
414 (new_parent && (DescendantOf(new_parent, child_id) || in ChangeParent()
415 child->incognito() != new_parent->incognito() || in ChangeParent()
416 child->extension_id() != new_parent->extension_id()))) in ChangeParent()
449 if (new_parent) { in ChangeParent()
450 new_parent->AddChild(child); in ChangeParent()
451 SanitizeRadioList(new_parent->children()); in ChangeParent()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_base.cc129 HWND new_parent = CreateWindowEx( in ReparentWindow() local
134 gfx::CheckWindowCreated(new_parent); in ReparentWindow()
135 ::SetParent(window, new_parent); in ReparentWindow()
142 base::Bind(&NotifyPluginProcessHostHelper, window, new_parent, in ReparentWindow()
144 return new_parent; in ReparentWindow()

1234