Home
last modified time | relevance | path

Searched refs:item_ (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/ash/launcher/
Dlauncher_context_menu.cc43 item_(*item), in LauncherContextMenu()
58 item_(*item), in LauncherContextMenu()
71 item_(ash::ShelfItem()), in LauncherContextMenu()
89 if (item_.type == ash::TYPE_APP_SHORTCUT || in Init()
90 item_.type == ash::TYPE_WINDOWED_APP) { in Init()
92 if (!controller_->IsPlatformApp(item_.id)) { in Init()
98 l10n_util::GetStringUTF16(controller_->IsPinned(item_.id) ? in Init()
101 if (controller_->IsOpen(item_.id)) { in Init()
105 if (!controller_->IsPlatformApp(item_.id) && in Init()
106 item_.type != ash::TYPE_WINDOWED_APP) { in Init()
[all …]
Dlauncher_context_menu.h53 ash::ShelfID id() const { return item_.id; } in id()
97 bool is_valid_item() const { return item_.id != 0; } in is_valid_item()
101 ash::ShelfItem item_; variable
/external/chromium_org/ui/app_list/views/
Dtile_item_view.cc33 item_(NULL), in TileItemView()
61 if (item_) in ~TileItemView()
62 item_->RemoveObserver(this); in ~TileItemView()
68 SearchResult* old_item = item_; in SetSearchResult()
72 item_ = item; in SetSearchResult()
77 item_->AddObserver(this); in SetSearchResult()
79 title_->SetText(item_->title()); in SetSearchResult()
95 item_->Open(event.flags()); in ButtonPressed()
99 icon_->SetImage(item_->icon()); in OnIconChanged()
103 if (item_) in OnResultDestroying()
[all …]
Dapp_list_main_view.cc82 item_(item) { in IconLoader()
83 item_->AddObserver(this); in IconLoader()
86 item_->icon().GetRepresentation(scale); in IconLoader()
90 item_->RemoveObserver(this); in ~IconLoader()
101 AppListItem* item_; member in app_list::AppListMainView::IconLoader
Dtile_item_view.h45 SearchResult* item_; variable
/external/chromium_org/ui/file_manager/file_manager/background/js/
Ddrive_sync_handler.js33 this.item_ = new ProgressCenterItem();
34 this.item_.id = 'drive-sync';
113 this.item_.state = ProgressItemState.PROGRESSING;
114 this.item_.type = ProgressItemType.SYNC;
115 this.item_.quiet = true;
118 this.item_.message = strf('SYNC_FILE_NUMBER', status.num_total_jobs);
120 this.item_.message = strf('SYNC_FILE_NAME', entry.name);
121 this.item_.cancelCallback = this.requestCancel_.bind(this, entry);
122 this.item_.progressValue = status.processed;
123 this.item_.progressMax = status.total;
[all …]
/external/chromium_org/chrome/browser/download/
Ddownload_item_model_unittest.cc59 : model_(&item_) {} in DownloadItemModelTest()
68 ON_CALL(item_, GetReceivedBytes()).WillByDefault(Return(1)); in SetupDownloadItemDefaults()
69 ON_CALL(item_, GetTotalBytes()).WillByDefault(Return(2)); in SetupDownloadItemDefaults()
70 ON_CALL(item_, TimeRemaining(_)).WillByDefault(Return(false)); in SetupDownloadItemDefaults()
71 ON_CALL(item_, GetMimeType()).WillByDefault(Return("text/html")); in SetupDownloadItemDefaults()
72 ON_CALL(item_, AllDataSaved()).WillByDefault(Return(false)); in SetupDownloadItemDefaults()
73 ON_CALL(item_, GetOpenWhenComplete()).WillByDefault(Return(false)); in SetupDownloadItemDefaults()
74 ON_CALL(item_, GetFileExternallyRemoved()).WillByDefault(Return(false)); in SetupDownloadItemDefaults()
75 ON_CALL(item_, GetState()) in SetupDownloadItemDefaults()
77 ON_CALL(item_, GetURL()) in SetupDownloadItemDefaults()
[all …]
Dall_download_item_notifier_unittest.cc49 content::MockDownloadItem& item() { return item_; } in item()
72 NiceMock<content::MockDownloadItem> item_; member in __anon90c77d790111::AllDownloadItemNotifierTest
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_protection_service.cc283 : item_(item), in CheckClientDownloadRequest()
299 item_->AddObserver(this); in CheckClientDownloadRequest()
304 << item_->DebugString(true); in Start()
311 *item_, item_->GetTargetFilePath(), &reason, &type_)) { in Start()
319 RecordFileExtensionType(item_->GetTargetFilePath()); in Start()
328 RecordFileExtensionType(item_->GetTargetFilePath()); in Start()
333 if (item_->GetTargetFilePath().MatchesExtension( in Start()
338 item_->GetTargetFilePath())); in Start()
383 DCHECK(item_ == NULL); in OnDownloadDestroyed()
391 << item_->GetUrlChain().back() << ": success=" in OnURLFetchComplete()
[all …]
/external/chromium_org/content/renderer/
Dhistory_entry.cc75 const WebHistoryItem& item_for_create = is_target_frame ? new_item : item_; in CloneAndReplace()
79 if (is_target_frame && clone_children_of_target && !item_.isNull()) { in CloneAndReplace()
81 item_.documentSequenceNumber()); in CloneAndReplace()
110 item_ = item; in set_item()
116 : entry_(entry), item_(item) { in HistoryNode()
123 GetFrameMap()[frame_id] = item_.frameSequenceNumber(); in HistoryNode()
124 else if (!item_.isNull()) in HistoryNode()
125 item_.setFrameSequenceNumber(GetFrameMap()[frame_id]); in HistoryNode()
129 if (!item_.isNull()) in HistoryNode()
130 entry_->unique_names_to_items_[item_.target().utf8()] = this; in HistoryNode()
Dhistory_entry.h71 blink::WebHistoryItem& item() { return item_; } in item()
79 blink::WebHistoryItem item_; variable
/external/chromium_org/chrome/browser/ui/cocoa/status_icons/
Dstatus_icon_mac.mm43 : item_(NULL) { function
49 if (item_)
50 [[NSStatusBar systemStatusBar] removeStatusItem:item_];
54 if (!item_.get()) {
56 item_.reset([[[NSStatusBar systemStatusBar]
58 [item_ setEnabled:YES];
59 [item_ setTarget:controller_];
60 [item_ setAction:@selector(handleClick:)];
61 [item_ setHighlightMode:YES];
63 return item_.get();
/external/chromium_org/tools/gn/
Dtrace.cc127 : item_(NULL), in ScopedTrace()
130 item_ = new TraceItem(t, name, base::PlatformThread::CurrentId()); in ScopedTrace()
131 item_->set_begin(base::TimeTicks::HighResNow()); in ScopedTrace()
136 : item_(NULL), in ScopedTrace()
139 item_ = new TraceItem(t, label.GetUserVisibleName(false), in ScopedTrace()
141 item_->set_begin(base::TimeTicks::HighResNow()); in ScopedTrace()
150 if (item_) in SetToolchain()
151 item_->set_toolchain(label.GetUserVisibleName(false)); in SetToolchain()
155 if (item_) in SetCommandLine()
156 item_->set_cmdline(FilePathToUTF8(cmdline.GetArgumentsString())); in SetCommandLine()
[all …]
Dbuilder_record.h56 Item* item() { return item_.get(); } in item()
57 const Item* item() const { return item_.get(); } in item()
58 void set_item(scoped_ptr<Item> item) { item_ = item.Pass(); } in set_item()
77 return item_ && unresolved_deps_.empty(); in can_resolve()
100 scoped_ptr<Item> item_; variable
/external/qemu/android/utils/
Dreflist.h170 #define AREFLIST_FOREACH(list_,item_,statement_) \ argument
177 void* item_ = *__reflist_at; \
178 if (item_ != NULL) { \
187 #define AREFLIST_FOREACH_CONST(list_,item_,statement_) \ argument
193 void* item_ = *__reflist_at; \
194 if (item_ != NULL) { \
/external/chromium_org/content/public/test/
Ddownload_test_observer.cc23 : item_(item), in DownloadUpdatedObserver()
31 if (item_) in ~DownloadUpdatedObserver()
32 item_->RemoveObserver(this); in ~DownloadUpdatedObserver()
36 if (item_ && filter_.Run(item_)) in WaitForEvent()
48 DCHECK_EQ(item_, item); in OnDownloadUpdated()
49 if (filter_.Run(item_)) in OnDownloadUpdated()
56 DCHECK_EQ(item_, item); in OnDownloadDestroyed()
57 item_->RemoveObserver(this); in OnDownloadDestroyed()
58 item_ = NULL; in OnDownloadDestroyed()
/external/chromium-trace/trace-viewer/src/ui/
Dlist_and_associated_view_test.js17 this.item_ = undefined;
21 this.item_ = item;
24 return this.item_;
/external/chromium_org/chrome/browser/ui/views/profiles/
Davatar_menu_bubble_view.cc220 const AvatarMenu::Item& item() const { return item_; } in item()
228 AvatarMenu::Item item_; member in ProfileItemView
243 item_(item), in ProfileItemView()
254 const gfx::ImageSkia profile_icon = *profiles::GetSizedAvatarIcon(item_.icon, in ProfileItemView()
256 if (item_.active || item_.signin_required) in ProfileItemView()
264 name_label_ = new views::Label(item_.name, in ProfileItemView()
265 rb->GetFontList(item_.active ? in ProfileItemView()
272 sync_state_label_ = new views::Label(item_.sync_state); in ProfileItemView()
273 if (item_.signed_in) in ProfileItemView()
303 if (item_.active) { in Layout()
[all …]
/external/webrtc/src/system_wrappers/source/
Dlist_stl.cc19 item_(0) in ListItem()
26 item_(item) in ListItem()
41 return item_; in GetUnsignedItem()
Dlist_no_stl.cc21 item_(0) in ListItem()
29 item_(item) in ListItem()
44 return item_; in GetUnsignedItem()
Dlist_stl.h33 const unsigned int item_; variable
Dlist_no_stl.h36 const unsigned int item_; variable
/external/chromium_org/base/containers/
Dsmall_map_unittest.cc431 : item_(item_to_add) {} in hash_map_add_item_initializer()
433 : item_(0) {} in hash_map_add_item_initializer()
435 map_ctor->Init(std::make_pair(item_, item_)); in operator ()()
438 int item_; member in base::__anon1e2097ba0111::hash_map_add_item_initializer
/external/chromium_org/chrome/browser/ui/cocoa/profiles/
Dprofile_menu_controller_unittest.mm26 item_.reset([[NSMenuItem alloc] initWithTitle:@"Users"
30 [[ProfileMenuController alloc] initWithMainMenuItem:item_]);
74 NSMenuItem* menu_item() { return item_.get(); }
77 base::scoped_nsobject<NSMenuItem> item_;
/external/webrtc/src/system_wrappers/interface/
Dlist_wrapper.h36 const unsigned int item_; variable

12