HomeSort by relevance Sort by last modified time
    Searched refs:drag_data_ (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/chrome/browser/ui/gtk/tabs/
drag_data.cc 45 : drag_data_(drag_data),
49 GetNumberOfMiniNonMiniTabs(0, drag_data_.size(),
58 for (size_t i = 0; i < drag_data_.size(); ++i) {
59 if (drag_data_[i].tab_)
60 tabs.push_back(drag_data_[i].tab_);
67 for (size_t i = 0; i < drag_data_.size(); ++i) {
68 if (drag_data_[i].contents_)
69 web_contentses.push_back(drag_data_[i].contents_);
76 DCHECK(to <= static_cast<int>(drag_data_.size()));
81 if (drag_data_[i].mini_
    [all...]
dragged_tab_controller_gtk.cc 74 drag_data_.reset(new DragData(drag_data, source_tab_index));
85 drag_data_.reset();
94 if (!drag_data_->GetSourceTabData()->tab_ ||
95 !drag_data_->GetSourceWebContents()) {
105 if (drag_data_->GetSourceTabData()->tab_->IsVisible()) {
109 if (!drag_data_->GetSourceTabData()->tab_->IsVisible()) {
122 for (size_t i = 0; i < drag_data_->size(); i++) {
123 if (contents == drag_data_->get(i)->contents_)
124 return drag_data_->get(i)->tab_;
131 for (size_t i = 0; i < drag_data_->size(); i++)
    [all...]
dragged_view_gtk.cc 57 : drag_data_(drag_data),
66 std::vector<WebContents*> data_sources(drag_data_->GetDraggedTabsContents());
72 for (size_t i = 0; i < drag_data_->size(); i++) {
73 WebContents* web_contents = drag_data_->get(i)->contents_;
79 static_cast<int>(i) == drag_data_->source_tab_index());
138 drag_data_->GetSourceTabData()->mini_ ? mini_width : normal_width;
168 DCHECK(from <= static_cast<int>(drag_data_->size()));
169 DCHECK(to <= static_cast<int>(drag_data_->size()));
173 drag_data_->GetNumberOfMiniNonMiniTabs(from, to,
181 return GetWidthInTabStripFromTo(0, drag_data_->size())
    [all...]
drag_data.h 62 // Returns all the |tab_| fields of the tabs in |drag_data_|.
65 // Returns all the |contents_| fields of the tabs in |drag_data_|.
68 // Returns the correct add type for the tab in |drag_data_[i]|. See
73 // (included) up to position |to| (excluded) within |drag_data_| and
79 size_t size() const { return drag_data_.size(); }
82 // within |drag_data_|.
83 DraggedTabData* get(size_t index) { return &drag_data_[index]; }
97 std::vector<DraggedTabData> drag_data_; member in class:DragData
99 // Index of the source tab in |drag_data_|.
101 // Number of non mini tabs within |drag_data_|
    [all...]
dragged_view_gtk.h 76 // index |to| excluded. The indices are with respect to |drag_data_|.
147 DragData* drag_data_; member in class:DraggedViewGtk
dragged_tab_controller_gtk.h 227 scoped_ptr<DragData> drag_data_; member in class:DraggedTabControllerGtk
  /external/chromium_org/chrome/browser/ui/gtk/download/
download_item_drag.h 40 scoped_ptr<DragData> drag_data_; member in class:DownloadItemDrag
download_item_drag.cc 114 drag_data_(new DragData(item)) {}
123 drag_data_->OnDragDataGet(widget, context, selection_data, target_type, time);
  /external/chromium/chrome/browser/ui/views/tabs/
dragged_tab_controller.cc 363 drag_data_.resize(tabs.size());
365 InitTabDragData(tabs[i], &(drag_data_[i]));
511 for (size_t i = 0; i < drag_data_.size(); ++i) {
512 if (drag_data_[i].contents->tab_contents() == destroyed_contents) {
516 drag_data_[i].contents = NULL;
517 drag_data_[i].original_delegate = NULL;
719 std::vector<BaseTab*> tabs(drag_data_.size());
720 for (size_t i = 0; i < drag_data_.size(); ++i)
721 tabs[i] = drag_data_[i].attached_tab;
734 drag_data_[drag_data_.size() - 1].contents
    [all...]
dragged_tab_controller.h 242 // Reverts the tab at |drag_index| in |drag_data_|.
280 return &(drag_data_[source_tab_index_]);
369 DragData drag_data_; member in class:DraggedTabController
371 // Index of the source tab in drag_data_.
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_drag_controller.cc 474 drag_data_.resize(tabs.size());
476 InitTabDragData(tabs[i], &(drag_data_[i]));
543 if (detach_into_browser_ && static_cast<int>(drag_data_.size()) ==
633 for (size_t i = 0; i < drag_data_.size(); ++i) {
634 if (drag_data_[i].contents == source) {
639 drag_data_[i].original_delegate->NavigationStateChanged(source,
706 for (size_t i = 0; i < drag_data_.size(); ++i) {
707 if (drag_data_[i].contents == destroyed_web_contents) {
711 drag_data_[i].contents = NULL;
712 drag_data_[i].original_delegate = NULL
    [all...]
tab_drag_controller.h 410 // Reverts the tab at |drag_index| in |drag_data_|.
445 return &(drag_data_[source_tab_index_]);
590 DragData drag_data_; member in class:TabDragController
592 // Index of the source tab in |drag_data_|.
  /external/chromium_org/ash/drag_drop/
drag_drop_controller.cc 139 : drag_data_(NULL),
196 drag_data_ = &data;
266 ui::DropTargetEvent e(*drag_data_,
275 ui::DropTargetEvent e(*drag_data_,
317 *drag_data_, event.location(), event.root_location(), drag_operation_);
559 drag_data_ = NULL;
drag_drop_controller.h 103 const ui::OSExchangeData* drag_data_; member in class:ash::internal::DragDropController
drag_drop_controller_unittest.cc 313 drag_drop_controller_->drag_data_ = data;
376 // drag_data_ to a fake drag data object that we created.
421 // drag_data_ to a fake drag data object that we created.
470 // drag_data_ to a fake drag data object that we created.
535 // drag_data_ to a fake drag data object that we created.
593 // drag_data_ to a fake drag data object that we created.
685 // drag_data_ to a fake drag data object that we created.
729 // drag_data_ to a fake drag data object that we created.
784 // drag_data_ to a fake drag data object that we created.
826 // drag_data_ to a fake drag data object that we created
    [all...]
  /external/chromium/chrome/browser/bookmarks/
bookmark_model.cc 234 BookmarkNodeData drag_data_(node);
235 std::vector<BookmarkNodeData::Element> elements(drag_data_.elements);

Completed in 219 milliseconds