item 17 android_webview/browser/aw_download_manager_delegate.cc content::DownloadItem* item, item 30 android_webview/browser/aw_download_manager_delegate.cc content::DownloadItem* item, item 37 android_webview/browser/aw_download_manager_delegate.cc content::DownloadItem* item, item 20 android_webview/browser/aw_download_manager_delegate.h content::DownloadItem* item, item 23 android_webview/browser/aw_download_manager_delegate.h content::DownloadItem* item, item 26 android_webview/browser/aw_download_manager_delegate.h content::DownloadItem* item, item 68 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java private void checkHistoryItem(NavigationEntry item, String url, String originalUrl, item 70 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java assertEquals(url, item.getUrl()); item 71 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java assertEquals(originalUrl, item.getOriginalUrl()); item 72 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java assertEquals(title, item.getTitle()); item 74 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java assertNull(item.getFavicon()); item 76 android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java assertNotNull(item.getFavicon()); item 110 ash/shelf/shelf.cc const ShelfItem& item = shelf_view_->model()->items()[index]; item 113 ash/shelf/shelf.cc item.id); item 1925 ash/shelf/shelf_layout_manager_unittest.cc TestItem *item = new TestItem; item 1926 ash/shelf/shelf_layout_manager_unittest.cc tray->AddTrayItem(item); item 1927 ash/shelf/shelf_layout_manager_unittest.cc tray->ShowNotificationView(item); item 73 ash/shelf/shelf_model.cc int ShelfModel::Add(const ShelfItem& item) { item 74 ash/shelf/shelf_model.cc return AddAt(items_.size(), item); item 77 ash/shelf/shelf_model.cc int ShelfModel::AddAt(int index, const ShelfItem& item) { item 78 ash/shelf/shelf_model.cc index = ValidateInsertionIndex(item.type, index); item 79 ash/shelf/shelf_model.cc items_.insert(items_.begin() + index, item); item 100 ash/shelf/shelf_model.cc ShelfItem item(items_[index]); item 102 ash/shelf/shelf_model.cc items_.insert(items_.begin() + target_index, item); item 107 ash/shelf/shelf_model.cc void ShelfModel::Set(int index, const ShelfItem& item) { item 109 ash/shelf/shelf_model.cc int new_index = item.type == items_[index].type ? item 110 ash/shelf/shelf_model.cc index : ValidateInsertionIndex(item.type, index); item 113 ash/shelf/shelf_model.cc items_[index] = item; item 30 ash/shelf/shelf_model.h int Add(const ShelfItem& item); item 34 ash/shelf/shelf_model.h int AddAt(int index, const ShelfItem& item); item 45 ash/shelf/shelf_model.h void Set(int index, const ShelfItem& item); item 88 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 89 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_LIST; item 90 ash/shelf/shelf_model_unittest.cc model_->Add(item); item 110 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 111 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 112 ash/shelf/shelf_model_unittest.cc int index = model_->Add(item); item 118 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 119 ash/shelf/shelf_model_unittest.cc model_->Set(index, item); item 130 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 131 ash/shelf/shelf_model_unittest.cc index = model_->Add(item); item 135 ash/shelf/shelf_model_unittest.cc model_->Set(index, item); item 140 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 141 ash/shelf/shelf_model_unittest.cc model_->Add(item); item 168 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 169 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 170 ash/shelf/shelf_model_unittest.cc int platform_app_index1 = model_->Add(item); item 174 ash/shelf/shelf_model_unittest.cc int platform_app_index2 = model_->Add(item); item 179 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 180 ash/shelf/shelf_model_unittest.cc int app_shortcut_index1 = model_->Add(item); item 183 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 184 ash/shelf/shelf_model_unittest.cc int app_shortcut_index2 = model_->Add(item); item 191 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 192 ash/shelf/shelf_model_unittest.cc int app_shortcut_index3 = model_->AddAt(1, item); item 195 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 196 ash/shelf/shelf_model_unittest.cc int app_shortcut_index4 = model_->AddAt(6, item); item 199 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 200 ash/shelf/shelf_model_unittest.cc int app_shortcut_index5 = model_->AddAt(3, item); item 208 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 209 ash/shelf/shelf_model_unittest.cc int platform_app_index3 = model_->AddAt(3, item); item 212 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 213 ash/shelf/shelf_model_unittest.cc int app_panel_index1 = model_->AddAt(2, item); item 216 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 217 ash/shelf/shelf_model_unittest.cc int platform_app_index4 = model_->AddAt(11, item); item 220 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 221 ash/shelf/shelf_model_unittest.cc int app_panel_index2 = model_->AddAt(12, item); item 224 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 225 ash/shelf/shelf_model_unittest.cc int platform_app_index5 = model_->AddAt(7, item); item 228 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 229 ash/shelf/shelf_model_unittest.cc int app_panel_index3 = model_->AddAt(13, item); item 244 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 245 ash/shelf/shelf_model_unittest.cc item.type = TYPE_BROWSER_SHORTCUT; item 246 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->Add(item)); item 251 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 252 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); item 257 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 258 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); item 263 ash/shelf/shelf_model_unittest.cc item.type = TYPE_WINDOWED_APP; item 264 ash/shelf/shelf_model_unittest.cc int running_app_index = model_->Add(item); item 267 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 268 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index + 1, model_->Add(item)); item 277 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 278 ash/shelf/shelf_model_unittest.cc item.type = TYPE_BROWSER_SHORTCUT; item 279 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->Add(item)); item 284 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 285 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); item 290 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 291 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); item 296 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 297 ash/shelf/shelf_model_unittest.cc int running_app_index = model_->Add(item); item 300 ash/shelf/shelf_model_unittest.cc item.type = TYPE_WINDOWED_APP; item 301 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index + 1, model_->Add(item)); item 317 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 318 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 319 ash/shelf/shelf_model_unittest.cc int platform_app_index1 = model_->Add(item); item 323 ash/shelf/shelf_model_unittest.cc int platform_app_index2 = model_->Add(item); item 328 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 329 ash/shelf/shelf_model_unittest.cc int app_shortcut_index1 = model_->Add(item); item 332 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 333 ash/shelf/shelf_model_unittest.cc int app_shortcut_index2 = model_->Add(item); item 340 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 341 ash/shelf/shelf_model_unittest.cc int app_shortcut_index3 = model_->AddAt(0, item); item 344 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 345 ash/shelf/shelf_model_unittest.cc int app_shortcut_index4 = model_->AddAt(5, item); item 348 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 349 ash/shelf/shelf_model_unittest.cc int app_shortcut_index5 = model_->AddAt(2, item); item 357 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 358 ash/shelf/shelf_model_unittest.cc int platform_app_index3 = model_->AddAt(2, item); item 361 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 362 ash/shelf/shelf_model_unittest.cc int app_panel_index1 = model_->AddAt(2, item); item 365 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 366 ash/shelf/shelf_model_unittest.cc int platform_app_index4 = model_->AddAt(11, item); item 369 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 370 ash/shelf/shelf_model_unittest.cc int app_panel_index2 = model_->AddAt(12, item); item 373 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 374 ash/shelf/shelf_model_unittest.cc int platform_app_index5 = model_->AddAt(7, item); item 377 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_PANEL; item 378 ash/shelf/shelf_model_unittest.cc int app_panel_index3 = model_->AddAt(13, item); item 405 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 406 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 407 ash/shelf/shelf_model_unittest.cc model_->Add(item); item 423 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 424 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 425 ash/shelf/shelf_model_unittest.cc int app1_index = model_->Add(item); item 427 ash/shelf/shelf_model_unittest.cc int app2_index = model_->Add(item); item 429 ash/shelf/shelf_model_unittest.cc int app3_index = model_->Add(item); item 434 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 435 ash/shelf/shelf_model_unittest.cc model_->Set(app2_index, item); item 453 ash/shelf/shelf_model_unittest.cc ShelfItem item; item 454 ash/shelf/shelf_model_unittest.cc item.type = TYPE_APP_SHORTCUT; item 455 ash/shelf/shelf_model_unittest.cc int app1_index = model_->Add(item); item 457 ash/shelf/shelf_model_unittest.cc int app2_index = model_->Add(item); item 459 ash/shelf/shelf_model_unittest.cc int app3_index = model_->Add(item); item 464 ash/shelf/shelf_model_unittest.cc item.type = TYPE_PLATFORM_APP; item 465 ash/shelf/shelf_model_unittest.cc model_->Set(app2_index, item); item 32 ash/shelf/shelf_navigator.cc const ShelfItem& item = items[i]; item 33 ash/shelf/shelf_navigator.cc if (ShouldSkip(item.type)) item 36 ash/shelf/shelf_navigator.cc if (item.status == STATUS_RUNNING && first_running < 0) item 39 ash/shelf/shelf_navigator.cc if (item.status == STATUS_ACTIVE) { item 58 ash/shelf/shelf_navigator.cc const ShelfItem& item = items[i]; item 59 ash/shelf/shelf_navigator.cc if (ShouldSkip(item.type)) item 63 ash/shelf/shelf_navigator.cc if (item.status == STATUS_ACTIVE) item 97 ash/shelf/shelf_unittest.cc ShelfItem item; item 98 ash/shelf/shelf_unittest.cc item.type = TYPE_PLATFORM_APP; item 99 ash/shelf/shelf_unittest.cc item.status = STATUS_RUNNING; item 100 ash/shelf/shelf_unittest.cc int index = shelf_model()->Add(item); item 117 ash/shelf/shelf_unittest.cc ShelfItem item; item 118 ash/shelf/shelf_unittest.cc item.type = TYPE_PLATFORM_APP; item 119 ash/shelf/shelf_unittest.cc item.status = STATUS_RUNNING; item 120 ash/shelf/shelf_unittest.cc int index = shelf_model()->Add(item); item 143 ash/shelf/shelf_unittest.cc ShelfItem item; item 144 ash/shelf/shelf_unittest.cc item.type = TYPE_PLATFORM_APP; item 145 ash/shelf/shelf_unittest.cc item.status = STATUS_RUNNING; item 146 ash/shelf/shelf_unittest.cc shelf_model()->Add(item); item 296 ash/shelf/shelf_view.cc void ReflectItemStatus(const ShelfItem& item, ShelfButton* button) { item 297 ash/shelf/shelf_view.cc switch (item.status) { item 940 ash/shelf/shelf_view.cc views::View* ShelfView::CreateViewForItem(const ShelfItem& item) { item 942 ash/shelf/shelf_view.cc switch (item.type) { item 950 ash/shelf/shelf_view.cc button->SetImage(item.image); item 951 ash/shelf/shelf_view.cc ReflectItemStatus(item, button); item 1622 ash/shelf/shelf_view.cc const ShelfItem& item(model_->items()[model_index]); item 1623 ash/shelf/shelf_view.cc if (old_item.type != item.type) { item 1633 ash/shelf/shelf_view.cc views::View* new_view = CreateViewForItem(item); item 1642 ash/shelf/shelf_view.cc switch (item.type) { item 1652 ash/shelf/shelf_view.cc ReflectItemStatus(item, button); item 1655 ash/shelf/shelf_view.cc if (item.type != TYPE_BROWSER_SHORTCUT) item 1656 ash/shelf/shelf_view.cc button->SetImage(item.image); item 1839 ash/shelf/shelf_view.cc bool ShelfView::ShowListMenuForView(const ShelfItem& item, item 1844 ash/shelf/shelf_view.cc item_manager_->GetShelfItemDelegate(item.id); item 2028 ash/shelf/shelf_view.cc const ShelfItem* item = ShelfItemForView(view); item 2029 ash/shelf/shelf_view.cc if (!item) item 2032 ash/shelf/shelf_view.cc item_manager_->GetShelfItemDelegate(item->id); item 186 ash/shelf/shelf_view.h views::View* CreateViewForItem(const ShelfItem& item); item 295 ash/shelf/shelf_view.h bool ShowListMenuForView(const ShelfItem& item, item 309 ash/shelf/shelf_view_unittest.cc ShelfItem item; item 310 ash/shelf/shelf_view_unittest.cc item.type = TYPE_APP_SHORTCUT; item 311 ash/shelf/shelf_view_unittest.cc item.status = STATUS_CLOSED; item 314 ash/shelf/shelf_view_unittest.cc model_->Add(item); item 327 ash/shelf/shelf_view_unittest.cc ShelfItem item; item 328 ash/shelf/shelf_view_unittest.cc item.type = TYPE_PLATFORM_APP; item 329 ash/shelf/shelf_view_unittest.cc item.status = STATUS_RUNNING; item 332 ash/shelf/shelf_view_unittest.cc model_->Add(item); item 338 ash/shelf/shelf_view_unittest.cc ShelfItem item; item 339 ash/shelf/shelf_view_unittest.cc item.type = TYPE_APP_PANEL; item 340 ash/shelf/shelf_view_unittest.cc item.status = STATUS_RUNNING; item 343 ash/shelf/shelf_view_unittest.cc model_->Add(item); item 375 ash/shelf/shelf_view_unittest.cc ShelfItem item = model_->items()[model_index]; item 376 ash/shelf/shelf_view_unittest.cc ShelfID id = item.id; item 1150 ash/shelf/shelf_view_unittest.cc ShelfItem item = GetItemByID(last_added); item 1154 ash/shelf/shelf_view_unittest.cc item.status = STATUS_ACTIVE; item 1155 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); item 1157 ash/shelf/shelf_view_unittest.cc item.status = STATUS_ATTENTION; item 1158 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); item 1201 ash/shelf/shelf_view_unittest.cc ShelfItem item = GetItemByID(last_added); item 1205 ash/shelf/shelf_view_unittest.cc item.status = STATUS_ACTIVE; item 1206 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); item 1208 ash/shelf/shelf_view_unittest.cc item.status = STATUS_ATTENTION; item 1209 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); item 28 ash/shelf/shelf_window_watcher.cc void SetShelfItemDetailsForShelfItem(ash::ShelfItem* item, item 30 ash/shelf/shelf_window_watcher.cc item->type = details.type; item 33 ash/shelf/shelf_window_watcher.cc item->image = *rb.GetImageSkiaNamed(details.image_resource_id); item 134 ash/shelf/shelf_window_watcher.cc ShelfItem item; item 136 ash/shelf/shelf_window_watcher.cc item.status = wm::IsActiveWindow(window) ? STATUS_ACTIVE: STATUS_RUNNING; item 137 ash/shelf/shelf_window_watcher.cc SetShelfItemDetailsForShelfItem(&item, *item_details); item 143 ash/shelf/shelf_window_watcher.cc model_->Add(item); item 177 ash/shelf/shelf_window_watcher.cc ShelfItem item = model_->items()[index]; item 178 ash/shelf/shelf_window_watcher.cc item.status = is_active ? STATUS_ACTIVE : STATUS_RUNNING; item 179 ash/shelf/shelf_window_watcher.cc model_->Set(index, item); item 258 ash/shelf/shelf_window_watcher.cc ShelfItem item = model_->items()[index]; item 261 ash/shelf/shelf_window_watcher.cc SetShelfItemDetailsForShelfItem(&item, *details); item 262 ash/shelf/shelf_window_watcher.cc model_->Set(index, item); item 52 ash/shelf/shelf_window_watcher_item_delegate.cc ash::ShelfItem item = *(model_->ItemByID(GetShelfIDForWindow(window_))); item 55 ash/shelf/shelf_window_watcher_item_delegate.cc &item); item 167 ash/shell/shell_delegate_impl.cc ash::ShelfItem* item) { item 63 ash/shell/shell_delegate_impl.h ash::ShelfItem* item) OVERRIDE; item 100 ash/shell/window_watcher.cc ShelfItem item; item 101 ash/shell/window_watcher.cc item.type = new_window->type() == ui::wm::WINDOW_TYPE_PANEL item 115 ash/shell/window_watcher.cc item.image = gfx::ImageSkia(gfx::ImageSkiaRep(icon_bitmap, 1.0f)); item 117 ash/shell/window_watcher.cc model->Add(item); item 144 ash/shell_delegate.h ash::ShelfItem* item) = 0; item 217 ash/system/tray/system_tray.cc void SystemTray::AddTrayItem(SystemTrayItem* item) { item 218 ash/system/tray/system_tray.cc items_.push_back(item); item 221 ash/system/tray/system_tray.cc views::View* tray_item = item->CreateTrayView(delegate->GetUserLoginStatus()); item 222 ash/system/tray/system_tray.cc item->UpdateAfterShelfAlignmentChange(shelf_alignment()); item 227 ash/system/tray/system_tray.cc tray_item_map_[item] = tray_item; item 231 ash/system/tray/system_tray.cc void SystemTray::RemoveTrayItem(SystemTrayItem* item) { item 255 ash/system/tray/system_tray.cc void SystemTray::ShowDetailedView(SystemTrayItem* item, item 260 ash/system/tray/system_tray.cc items.push_back(item); item 261 ash/system/tray/system_tray.cc ShowItems(items, true, activate, creation_type, GetTrayXOffset(item), false); item 271 ash/system/tray/system_tray.cc void SystemTray::HideDetailedView(SystemTrayItem* item) { item 272 ash/system/tray/system_tray.cc if (item != detailed_item_) item 278 ash/system/tray/system_tray.cc void SystemTray::ShowNotificationView(SystemTrayItem* item) { item 279 ash/system/tray/system_tray.cc if (std::find(notification_items_.begin(), notification_items_.end(), item) item 282 ash/system/tray/system_tray.cc notification_items_.push_back(item); item 286 ash/system/tray/system_tray.cc void SystemTray::HideNotificationView(SystemTrayItem* item) { item 288 ash/system/tray/system_tray.cc std::find(notification_items_.begin(), notification_items_.end(), item); item 400 ash/system/tray/system_tray.cc int SystemTray::GetTrayXOffset(SystemTrayItem* item) const { item 407 ash/system/tray/system_tray.cc tray_item_map_.find(item); item 673 ash/system/tray/system_tray.cc views::View* SystemTray::GetTrayItemViewForTest(SystemTrayItem* item) { item 675 ash/system/tray/system_tray.cc tray_item_map_.find(item); item 47 ash/system/tray/system_tray.h void AddTrayItem(SystemTrayItem* item); item 50 ash/system/tray/system_tray.h void RemoveTrayItem(SystemTrayItem* item); item 63 ash/system/tray/system_tray.h void ShowDetailedView(SystemTrayItem* item, item 73 ash/system/tray/system_tray.h void HideDetailedView(SystemTrayItem* item); item 76 ash/system/tray/system_tray.h void ShowNotificationView(SystemTrayItem* item); item 79 ash/system/tray/system_tray.h void HideNotificationView(SystemTrayItem* item); item 165 ash/system/tray/system_tray.h int GetTrayXOffset(SystemTrayItem* item) const; item 38 ash/test/test_shelf_delegate.cc ShelfItem item; item 40 ash/test/test_shelf_delegate.cc item.type = TYPE_APP_PANEL; item 42 ash/test/test_shelf_delegate.cc item.type = TYPE_PLATFORM_APP; item 44 ash/test/test_shelf_delegate.cc item.status = status; item 45 ash/test/test_shelf_delegate.cc model_->Add(item); item 148 ash/test/test_shell_delegate.cc ash::ShelfItem* item) { item 59 ash/test/test_shell_delegate.h ash::ShelfItem* item) OVERRIDE; item 70 ash/wm/overview/window_selector.cc bool operator()(WindowSelectorItem* item) const { item 71 ash/wm/overview/window_selector.cc return item->GetRootWindow() == root_window; item 238 ash/wm/overview/window_selector.cc WindowSelectorItem* item = NULL; item 259 ash/wm/overview/window_selector.cc item = panels_item; item 261 ash/wm/overview/window_selector.cc item = new WindowSelectorWindow(windows[i]); item 262 ash/wm/overview/window_selector.cc windows_.push_back(item); item 265 ash/wm/overview/window_selector.cc CHECK(item->TargetedWindow(windows[i])); item 97 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean onMenuItemSelected(int featureId, MenuItem item) { item 98 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.onMenuItemSelected(featureId, item); item 86 base/android/jni_array.cc ScopedJavaLocalRef<jstring> item = ConvertUTF8ToJavaString(env, v[i]); item 87 base/android/jni_array.cc env->SetObjectArrayElement(joa, i, item.obj()); item 99 base/android/jni_array.cc ScopedJavaLocalRef<jstring> item = ConvertUTF16ToJavaString(env, v[i]); item 100 base/android/jni_array.cc env->SetObjectArrayElement(joa, i, item.obj()); item 418 base/containers/small_map_unittest.cc explicit hash_map_add_item(const std::pair<int, int>& item) item 420 base/containers/small_map_unittest.cc insert(item); item 185 base/debug/trace_event_unittest.cc scoped_ptr<Value> item; item 186 base/debug/trace_event_unittest.cc root_list->Remove(0, &item); item 187 base/debug/trace_event_unittest.cc trace_parsed_.Append(item.release()); item 466 base/debug/trace_event_unittest.cc const DictionaryValue* item = NULL; item 469 base/debug/trace_event_unittest.cc EXPECT_TRUE((item = FindTraceEntry(trace_parsed, string))); item 471 base/debug/trace_event_unittest.cc EXPECT_FALSE((item = FindTraceEntry(trace_parsed, string))); item 473 base/debug/trace_event_unittest.cc if (item) EXPECT_TRUE((IsStringInDict(string, item))); item 480 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("args.id", &str_val)); item 490 base/debug/trace_event_unittest.cc EXPECT_TRUE((item = FindTraceEntry(trace_parsed, "TRACE_EVENT0 call"))); item 491 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &ph))); item 493 base/debug/trace_event_unittest.cc EXPECT_FALSE((item = FindTraceEntry(trace_parsed, "TRACE_EVENT0 call", item 494 base/debug/trace_event_unittest.cc item))); item 508 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("s", &scope))); item 514 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("s", &scope))); item 522 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("s", &scope))); item 627 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &ph))); item 631 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.value", &value))); item 638 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &ph))); item 642 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.a", &value))); item 645 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.b", &value))); item 652 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 656 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &ph))); item 660 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.value", &value))); item 667 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 671 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &ph))); item 675 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.a", &value))); item 678 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("args.b", &value))); item 685 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("ts", &val))); item 687 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("tid", &val))); item 690 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 697 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("ts", &val))); item 699 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("tid", &val))); item 702 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 709 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("ts", &val))); item 711 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("tid", &val))); item 714 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 734 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("ts", &val))); item 736 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetInteger("tid", &val))); item 739 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 749 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("ph", &phase))); item 751 base/debug/trace_event_unittest.cc EXPECT_TRUE((item && item->GetString("id", &id))); item 754 base/debug/trace_event_unittest.cc item = FindTraceEntry(trace_parsed, "tracked object 1", item); item 755 base/debug/trace_event_unittest.cc EXPECT_TRUE(item); item 756 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("ph", &phase)); item 758 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("id", &id)); item 760 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("args.snapshot", &snapshot)); item 763 base/debug/trace_event_unittest.cc item = FindTraceEntry(trace_parsed, "tracked object 1", item); item 764 base/debug/trace_event_unittest.cc EXPECT_TRUE(item); item 765 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("ph", &phase)); item 767 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("id", &id)); item 777 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("ph", &phase)); item 779 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("id", &id)); item 782 base/debug/trace_event_unittest.cc item = FindTraceEntry(trace_parsed, "tracked object 2", item); item 783 base/debug/trace_event_unittest.cc EXPECT_TRUE(item); item 784 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("ph", &phase)); item 786 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("id", &id)); item 788 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("args.snapshot", &snapshot)); item 791 base/debug/trace_event_unittest.cc item = FindTraceEntry(trace_parsed, "tracked object 2", item); item 792 base/debug/trace_event_unittest.cc EXPECT_TRUE(item); item 793 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("ph", &phase)); item 795 base/debug/trace_event_unittest.cc EXPECT_TRUE(item && item->GetString("id", &id)); item 1486 base/debug/trace_event_unittest.cc const DictionaryValue* item; item 1494 base/debug/trace_event_unittest.cc item = items[i]; item 1495 base/debug/trace_event_unittest.cc ASSERT_TRUE(item); item 1496 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetInteger("tid", &tmp_int)); item 1504 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetString("ph", &tmp) && tmp == "M"); item 1505 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetInteger("pid", &tmp_int) && item 1509 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetString("args.name", &tmp) && item 1540 base/debug/trace_event_unittest.cc const DictionaryValue* item = items[0]; item 1541 base/debug/trace_event_unittest.cc ASSERT_TRUE(item); item 1543 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetInteger("tid", &tid)); item 1548 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetString("args.name", &tmp)); item 1561 base/debug/trace_event_unittest.cc const DictionaryValue* item = NULL; item 1575 base/debug/trace_event_unittest.cc const DictionaryValue* item = NULL; item 2795 base/debug/trace_event_unittest.cc const DictionaryValue* item; item 2796 base/debug/trace_event_unittest.cc EXPECT_TRUE(trace_parsed_.GetDictionary(i, &item)); item 2798 base/debug/trace_event_unittest.cc EXPECT_TRUE(item->GetDouble("ts", ×tamp)); item 561 base/json/json_parser.cc Value* item = ParseToken(token); item 562 base/json/json_parser.cc if (!item) { item 567 base/json/json_parser.cc list->Append(item); item 421 base/message_loop/message_loop_test.cc std::ostream& operator <<(std::ostream& os, const TaskItem& item) { item 422 base/message_loop/message_loop_test.cc if (item.start) item 423 base/message_loop/message_loop_test.cc return os << item.type << " " << item.cookie << " starts"; item 425 base/message_loop/message_loop_test.cc return os << item.type << " " << item.cookie << " ends"; item 431 base/message_loop/message_loop_test.cc TaskItem item(type, cookie, true); item 432 base/message_loop/message_loop_test.cc DVLOG(1) << item; item 433 base/message_loop/message_loop_test.cc task_list_.push_back(item); item 437 base/message_loop/message_loop_test.cc TaskItem item(type, cookie, false); item 438 base/message_loop/message_loop_test.cc DVLOG(1) << item; item 439 base/message_loop/message_loop_test.cc task_list_.push_back(item); item 195 base/message_loop/message_loop_unittest.cc std::ostream& operator <<(std::ostream& os, const TaskItem& item) { item 196 base/message_loop/message_loop_unittest.cc if (item.start) item 197 base/message_loop/message_loop_unittest.cc return os << item.type << " " << item.cookie << " starts"; item 199 base/message_loop/message_loop_unittest.cc return os << item.type << " " << item.cookie << " ends"; item 205 base/message_loop/message_loop_unittest.cc TaskItem item(type, cookie, true); item 206 base/message_loop/message_loop_unittest.cc DVLOG(1) << item; item 207 base/message_loop/message_loop_unittest.cc task_list_.push_back(item); item 211 base/message_loop/message_loop_unittest.cc TaskItem item(type, cookie, false); item 212 base/message_loop/message_loop_unittest.cc DVLOG(1) << item; item 213 base/message_loop/message_loop_unittest.cc task_list_.push_back(item); item 540 base/message_loop/message_pump_win.cc IOItem item; item 541 base/message_loop/message_pump_win.cc if (completed_io_.empty() || !MatchCompletedIOItem(filter, &item)) { item 543 base/message_loop/message_pump_win.cc if (!GetIOItem(timeout, &item)) item 546 base/message_loop/message_pump_win.cc if (ProcessInternalIOItem(item)) item 553 base/message_loop/message_pump_win.cc if (!item.has_valid_io_context || item.context->handler) { item 554 base/message_loop/message_pump_win.cc if (filter && item.handler != filter) { item 556 base/message_loop/message_pump_win.cc completed_io_.push_back(item); item 558 base/message_loop/message_pump_win.cc DCHECK(!item.has_valid_io_context || item 559 base/message_loop/message_pump_win.cc (item.context->handler == item.handler)); item 561 base/message_loop/message_pump_win.cc item.handler->OnIOCompleted(item.context, item.bytes_transfered, item 562 base/message_loop/message_pump_win.cc item.error); item 567 base/message_loop/message_pump_win.cc delete item.context; item 573 base/message_loop/message_pump_win.cc bool MessagePumpForIO::GetIOItem(DWORD timeout, IOItem* item) { item 574 base/message_loop/message_pump_win.cc memset(item, 0, sizeof(*item)); item 577 base/message_loop/message_pump_win.cc if (!GetQueuedCompletionStatus(port_.Get(), &item->bytes_transfered, &key, item 581 base/message_loop/message_pump_win.cc item->error = GetLastError(); item 582 base/message_loop/message_pump_win.cc item->bytes_transfered = 0; item 585 base/message_loop/message_pump_win.cc item->handler = KeyToHandler(key, &item->has_valid_io_context); item 586 base/message_loop/message_pump_win.cc item->context = reinterpret_cast<IOContext*>(overlapped); item 590 base/message_loop/message_pump_win.cc bool MessagePumpForIO::ProcessInternalIOItem(const IOItem& item) { item 591 base/message_loop/message_pump_win.cc if (this == reinterpret_cast<MessagePumpForIO*>(item.context) && item 592 base/message_loop/message_pump_win.cc this == reinterpret_cast<MessagePumpForIO*>(item.handler)) { item 594 base/message_loop/message_pump_win.cc DCHECK(!item.bytes_transfered); item 602 base/message_loop/message_pump_win.cc bool MessagePumpForIO::MatchCompletedIOItem(IOHandler* filter, IOItem* item) { item 607 base/message_loop/message_pump_win.cc *item = *it; item 331 base/message_loop/message_pump_win.h bool MatchCompletedIOItem(IOHandler* filter, IOItem* item); item 332 base/message_loop/message_pump_win.h bool GetIOItem(DWORD timeout, IOItem* item); item 333 base/message_loop/message_pump_win.h bool ProcessInternalIOItem(const IOItem& item); item 655 base/test/trace_event_analyzer.cc base::Value* item = NULL; item 656 base/test/trace_event_analyzer.cc if (root_list->Get(i, &item)) { item 658 base/test/trace_event_analyzer.cc if (event.SetFromJSON(item)) item 41 base/win/scoped_handle.cc std::pair<HANDLE, Info> item(handle, handle_info); item 42 base/win/scoped_handle.cc std::pair<HandleMap::iterator, bool> result = g_handle_map.Get().insert(item); item 89 cc/base/scoped_ptr_deque.h void push_front(scoped_ptr<T> item) { item 90 cc/base/scoped_ptr_deque.h data_.push_front(item.release()); item 93 cc/base/scoped_ptr_deque.h void push_back(scoped_ptr<T> item) { item 94 cc/base/scoped_ptr_deque.h data_.push_back(item.release()); item 97 cc/base/scoped_ptr_deque.h void insert(iterator position, scoped_ptr<T> item) { item 99 cc/base/scoped_ptr_deque.h data_.insert(position, item.release()); item 118 cc/base/scoped_ptr_vector.h void push_back(scoped_ptr<T> item) { item 119 cc/base/scoped_ptr_vector.h data_.push_back(item.release()); item 127 cc/base/scoped_ptr_vector.h void insert(iterator position, scoped_ptr<T> item) { item 129 cc/base/scoped_ptr_vector.h data_.insert(position, item.release()); item 63 cc/resources/image_raster_worker_pool.cc const RasterTaskQueue::Item& item = *it; item 64 cc/resources/image_raster_worker_pool.cc internal::RasterWorkerPoolTask* task = item.task; item 67 cc/resources/image_raster_worker_pool.cc if (item.required_for_activation) { item 113 cc/resources/pixel_buffer_raster_worker_pool.cc const RasterTaskQueue::Item& item = *it; item 114 cc/resources/pixel_buffer_raster_worker_pool.cc internal::WorkerPoolTask* task = item.task; item 135 cc/resources/pixel_buffer_raster_worker_pool.cc state.required_for_activation = item.required_for_activation; item 141 cc/resources/pixel_buffer_raster_worker_pool.cc item.required_for_activation; item 148 cc/resources/pixel_buffer_raster_worker_pool.cc RasterTaskState(task, item.required_for_activation)); item 149 cc/resources/pixel_buffer_raster_worker_pool.cc raster_tasks_required_for_activation_count_ += item.required_for_activation; item 157 cc/resources/pixel_buffer_raster_worker_pool.cc const RasterTaskQueue::Item& item = *it; item 158 cc/resources/pixel_buffer_raster_worker_pool.cc internal::WorkerPoolTask* task = item.task; item 528 cc/resources/pixel_buffer_raster_worker_pool.cc const RasterTaskQueue::Item& item = *it; item 529 cc/resources/pixel_buffer_raster_worker_pool.cc internal::RasterWorkerPoolTask* task = item.task; item 555 cc/resources/pixel_buffer_raster_worker_pool.cc if (item.required_for_activation) item 570 cc/resources/pixel_buffer_raster_worker_pool.cc if (item.required_for_activation) item 586 cc/resources/pixel_buffer_raster_worker_pool.cc if (item.required_for_activation) item 100 cc/resources/raster_worker_pool.h bool operator()(const Item& item) const { return item.task == task_; } item 111 cc/resources/raster_worker_pool.h static bool IsRequiredForActivation(const Item& item) { item 112 cc/resources/raster_worker_pool.h return item.required_for_activation; item 418 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java BookmarkId item = (BookmarkId) o; item 419 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java return (item.mId == mId && item.mType == mType); item 106 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java MenuItem item = mMenu.getItem(i); item 107 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java if (item.isVisible()) { item 108 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java menuItems.add(item); item 92 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java final MenuItem item = getItem(position); item 109 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java mAppMenu.onItemClick(item); item 113 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java Drawable icon = item.getIcon(); item 116 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java holder.image.setChecked(item.isChecked()); item 118 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java holder.text.setText(item.getTitle()); item 119 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java boolean isEnabled = item.isEnabled(); item 138 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java setupImageButton(holder.buttonOne, item.getSubMenu().getItem(0)); item 139 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java setupImageButton(holder.buttonTwo, item.getSubMenu().getItem(1)); item 140 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java setupImageButton(holder.buttonThree, item.getSubMenu().getItem(2)); item 157 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java final MenuItem titleItem = item.getSubMenu().getItem(0); item 167 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java if (item.getSubMenu().getItem(1).getIcon() != null) { item 170 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java setupImageButton(holder.button, item.getSubMenu().getItem(1)); item 185 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java private void setupImageButton(ImageButton button, final MenuItem item) { item 186 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java button.setImageDrawable(item.getIcon()); item 187 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java button.setContentDescription(item.getTitle()); item 188 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java button.setEnabled(item.isEnabled()); item 189 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java button.setFocusable(item.isEnabled()); item 193 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java mAppMenu.onItemClick(item); item 143 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java void onOptionsItemSelected(MenuItem item) { item 144 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java mActivity.onOptionsItemSelected(item); item 105 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java public boolean onMenuItemClick(MenuItem item) { item 108 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java final int action = mCurrentContextMenuParams.getCustomActionAt(item.getItemId()); item 113 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java return mPopulator.onItemSelected(this, mCurrentContextMenuParams, item.getItemId()); item 130 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java public static void configureDirectShareMenuItem(Activity activity, MenuItem item) { item 146 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java item.setIcon(directShareIcon); item 148 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java item.setTitle(activity.getString(R.string.accessibility_menu_share_via, item 47 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java void onOptionsItemSelected(MenuItem item) { item 48 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java mLastSelectedItemId = item.getItemId(); item 283 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public boolean onOptionsItemSelected(MenuItem item) { item 285 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java switch (item.getItemId()) { item 320 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java ShareHelper.share(item.getItemId() == R.id.direct_share_menu_id, this, item 324 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java return super.onOptionsItemSelected(item); item 1639 chrome/browser/apps/web_view_browsertest.cc MenuItem* item = items.at(0); item 1640 chrome/browser/apps/web_view_browsertest.cc EXPECT_EQ("new_title", item->title()); item 84 chrome/browser/browser_encoding_browsertest.cc content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE { item 385 chrome/browser/chromeos/input_method/input_method_engine.cc for (std::vector<MenuItem>::const_iterator item = items.begin(); item 386 chrome/browser/chromeos/input_method/input_method_engine.cc item != items.end(); ++item) { item 388 chrome/browser/chromeos/input_method/input_method_engine.cc MenuItemToProperty(*item, &property); item 604 chrome/browser/chromeos/input_method/input_method_engine.cc const MenuItem& item, item 606 chrome/browser/chromeos/input_method/input_method_engine.cc property->key = item.id; item 608 chrome/browser/chromeos/input_method/input_method_engine.cc if (item.modified & MENU_ITEM_MODIFIED_LABEL) { item 609 chrome/browser/chromeos/input_method/input_method_engine.cc property->label = item.label; item 611 chrome/browser/chromeos/input_method/input_method_engine.cc if (item.modified & MENU_ITEM_MODIFIED_VISIBLE) { item 614 chrome/browser/chromeos/input_method/input_method_engine.cc if (item.modified & MENU_ITEM_MODIFIED_CHECKED) { item 615 chrome/browser/chromeos/input_method/input_method_engine.cc property->is_selection_item_checked = item.checked; item 617 chrome/browser/chromeos/input_method/input_method_engine.cc if (item.modified & MENU_ITEM_MODIFIED_ENABLED) { item 620 chrome/browser/chromeos/input_method/input_method_engine.cc if (item.modified & MENU_ITEM_MODIFIED_STYLE) { item 621 chrome/browser/chromeos/input_method/input_method_engine.cc if (!item.children.empty()) { item 624 chrome/browser/chromeos/input_method/input_method_engine.cc switch (item.style) { item 103 chrome/browser/chromeos/input_method/input_method_engine.h void MenuItemToProperty(const MenuItem& item, item 60 chrome/browser/chromeos/profiles/profile_list_chromeos.cc AvatarMenu::Item* item = new AvatarMenu::Item(i, i, icon); item 61 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->name = (*it)->GetDisplayName(); item 62 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->sync_state = profile_info_->GetUserNameOfProfileAtIndex(i); item 63 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->profile_path = profile_info_->GetPathOfProfileAtIndex(i); item 64 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->managed = false; item 65 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->signed_in = true; item 66 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->active = profile_info_->GetPathOfProfileAtIndex(i) == item 68 chrome/browser/chromeos/profiles/profile_list_chromeos.cc item->signin_required = profile_info_->ProfileIsSigninRequiredAtIndex(i); item 69 chrome/browser/chromeos/profiles/profile_list_chromeos.cc items_.push_back(item); item 48 chrome/browser/common/cancelable_request.cc const CancelableRequestMap::iterator& item) { item 50 chrome/browser/common/cancelable_request.cc if (item == pending_requests_.end()) { item 55 chrome/browser/common/cancelable_request.cc item->second->consumer()->OnRequestRemoved(this, item->first); item 56 chrome/browser/common/cancelable_request.cc item->second->set_canceled(); item 57 chrome/browser/common/cancelable_request.cc pending_requests_.erase(item); item 150 chrome/browser/common/cancelable_request.h void CancelRequestLocked(const CancelableRequestMap::iterator& item); item 41 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxUpdateItem* item); item 48 chrome/browser/component_updater/component_updater_ping_manager.cc static std::string BuildPing(const CrxUpdateItem* item); item 50 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxUpdateItem* item); item 51 chrome/browser/component_updater/component_updater_ping_manager.cc static std::string BuildUpdateCompleteEventElement(const CrxUpdateItem* item); item 69 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxUpdateItem* item) { item 70 chrome/browser/component_updater/component_updater_ping_manager.cc DCHECK(item); item 76 chrome/browser/component_updater/component_updater_ping_manager.cc BuildPing(item), item 82 chrome/browser/component_updater/component_updater_ping_manager.cc std::string PingSender::BuildPing(const CrxUpdateItem* item) { item 90 chrome/browser/component_updater/component_updater_ping_manager.cc item->id.c_str(), // "appid" item 91 chrome/browser/component_updater/component_updater_ping_manager.cc item->previous_version.GetString().c_str(), // "version" item 92 chrome/browser/component_updater/component_updater_ping_manager.cc item->next_version.GetString().c_str(), // "nextversion" item 93 chrome/browser/component_updater/component_updater_ping_manager.cc BuildUpdateCompleteEventElement(item).c_str(), // update event item 94 chrome/browser/component_updater/component_updater_ping_manager.cc BuildDownloadCompleteEventElements(item).c_str())); // download events item 102 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxUpdateItem* item) { item 105 chrome/browser/component_updater/component_updater_ping_manager.cc for (size_t i = 0; i != item->download_metrics.size(); ++i) { item 106 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxDownloader::DownloadMetrics& metrics = item->download_metrics[i]; item 138 chrome/browser/component_updater/component_updater_ping_manager.cc const CrxUpdateItem* item) { item 139 chrome/browser/component_updater/component_updater_ping_manager.cc DCHECK(item->status == CrxUpdateItem::kNoUpdate || item 140 chrome/browser/component_updater/component_updater_ping_manager.cc item->status == CrxUpdateItem::kUpdated); item 145 chrome/browser/component_updater/component_updater_ping_manager.cc const int event_result = item->status == CrxUpdateItem::kUpdated; item 147 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->error_category) item 148 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " errorcat=\"%d\"", item->error_category); item 149 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->error_code) item 150 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " errorcode=\"%d\"", item->error_code); item 151 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->extra_code1) item 152 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " extracode1=\"%d\"", item->extra_code1); item 153 chrome/browser/component_updater/component_updater_ping_manager.cc if (HasDiffUpdate(item)) item 154 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " diffresult=\"%d\"", !item->diff_update_failed); item 155 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->diff_error_category) item 158 chrome/browser/component_updater/component_updater_ping_manager.cc item->diff_error_category); item 159 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->diff_error_code) item 160 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " differrorcode=\"%d\"", item->diff_error_code); item 161 chrome/browser/component_updater/component_updater_ping_manager.cc if (item->diff_extra_code1) { item 164 chrome/browser/component_updater/component_updater_ping_manager.cc item->diff_extra_code1); item 166 chrome/browser/component_updater/component_updater_ping_manager.cc if (!item->previous_fp.empty()) item 167 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " previousfp=\"%s\"", item->previous_fp.c_str()); item 168 chrome/browser/component_updater/component_updater_ping_manager.cc if (!item->next_fp.empty()) item 169 chrome/browser/component_updater/component_updater_ping_manager.cc StringAppendF(&ping_event, " nextfp=\"%s\"", item->next_fp.c_str()); item 186 chrome/browser/component_updater/component_updater_ping_manager.cc void PingManager::OnUpdateComplete(const CrxUpdateItem* item) { item 188 chrome/browser/component_updater/component_updater_ping_manager.cc ping_sender->SendPing(ping_url_, url_request_context_getter_, item); item 27 chrome/browser/component_updater/component_updater_ping_manager.h void OnUpdateComplete(const CrxUpdateItem* item); item 208 chrome/browser/component_updater/component_updater_service.cc Status OnDemandUpdateInternal(CrxUpdateItem* item); item 237 chrome/browser/component_updater/component_updater_service.cc void ChangeItemState(CrxUpdateItem* item, CrxUpdateItem::Status to); item 325 chrome/browser/component_updater/component_updater_service.cc static bool IsOnDemand(CrxUpdateItem* item) { item 326 chrome/browser/component_updater/component_updater_service.cc return item->on_demand; item 397 chrome/browser/component_updater/component_updater_service.cc void CrxUpdateService::ChangeItemState(CrxUpdateItem* item, item 403 chrome/browser/component_updater/component_updater_service.cc item->on_demand = false; item 406 chrome/browser/component_updater/component_updater_service.cc item->status = to; item 408 chrome/browser/component_updater/component_updater_service.cc ComponentObserver* observer = item->component.observer; item 439 chrome/browser/component_updater/component_updater_service.cc UnblockandReapAllThrottles(&item->throttles); item 451 chrome/browser/component_updater/component_updater_service.cc CrxUpdateItem* item = *it; item 452 chrome/browser/component_updater/component_updater_service.cc if (item->status == from) { item 453 chrome/browser/component_updater/component_updater_service.cc ChangeItemState(item, to); item 547 chrome/browser/component_updater/component_updater_service.cc const CrxUpdateItem* item = *it; item 549 chrome/browser/component_updater/component_updater_service.cc info.id = GetCrxComponentID(item->component); item 550 chrome/browser/component_updater/component_updater_service.cc info.version = item->component.version.GetString(); item 551 chrome/browser/component_updater/component_updater_service.cc info.name = item->component.name; item 575 chrome/browser/component_updater/component_updater_service.cc static bool IsReadyOnDemand(CrxUpdateItem* item) { item 576 chrome/browser/component_updater/component_updater_service.cc return item->on_demand && IsReady(item); item 578 chrome/browser/component_updater/component_updater_service.cc static bool IsReady(CrxUpdateItem* item) { item 579 chrome/browser/component_updater/component_updater_service.cc return item->status == CrxUpdateItem::kCanUpdate; item 603 chrome/browser/component_updater/component_updater_service.cc CrxUpdateItem* item = work_items_[i]; item 604 chrome/browser/component_updater/component_updater_service.cc DCHECK(item->status == CrxUpdateItem::kNew || item 605 chrome/browser/component_updater/component_updater_service.cc item->status == CrxUpdateItem::kNoUpdate || item 606 chrome/browser/component_updater/component_updater_service.cc item->status == CrxUpdateItem::kUpToDate || item 607 chrome/browser/component_updater/component_updater_service.cc item->status == CrxUpdateItem::kUpdated); item 609 chrome/browser/component_updater/component_updater_service.cc const base::TimeDelta time_since_last_checked(now - item->last_check); item 611 chrome/browser/component_updater/component_updater_service.cc if (!item->on_demand && item 616 chrome/browser/component_updater/component_updater_service.cc ChangeItemState(item, CrxUpdateItem::kChecking); item 618 chrome/browser/component_updater/component_updater_service.cc item->last_check = now; item 619 chrome/browser/component_updater/component_updater_service.cc item->crx_urls.clear(); item 620 chrome/browser/component_updater/component_updater_service.cc item->crx_diffurls.clear(); item 621 chrome/browser/component_updater/component_updater_service.cc item->previous_version = item->component.version; item 622 chrome/browser/component_updater/component_updater_service.cc item->next_version = Version(); item 623 chrome/browser/component_updater/component_updater_service.cc item->previous_fp = item->component.fingerprint; item 624 chrome/browser/component_updater/component_updater_service.cc item->next_fp.clear(); item 625 chrome/browser/component_updater/component_updater_service.cc item->diff_update_failed = false; item 626 chrome/browser/component_updater/component_updater_service.cc item->error_category = 0; item 627 chrome/browser/component_updater/component_updater_service.cc item->error_code = 0; item 628 chrome/browser/component_updater/component_updater_service.cc item->extra_code1 = 0; item 629 chrome/browser/component_updater/component_updater_service.cc item->diff_error_category = 0; item 630 chrome/browser/component_updater/component_updater_service.cc item->diff_error_code = 0; item 631 chrome/browser/component_updater/component_updater_service.cc item->diff_extra_code1 = 0; item 632 chrome/browser/component_updater/component_updater_service.cc item->download_metrics.clear(); item 634 chrome/browser/component_updater/component_updater_service.cc items_to_check.push_back(item); item 905 chrome/browser/component_updater/component_updater_service.cc CrxUpdateItem* item = FindUpdateItemById(component_id); item 906 chrome/browser/component_updater/component_updater_service.cc if (item->status == CrxUpdateItem::kUpdatingDiff && !is_success) { item 907 chrome/browser/component_updater/component_updater_service.cc item->diff_error_category = error_category; item 908 chrome/browser/component_updater/component_updater_service.cc item->diff_error_code = error; item 909 chrome/browser/component_updater/component_updater_service.cc item->diff_extra_code1 = extra_code; item 910 chrome/browser/component_updater/component_updater_service.cc item->diff_update_failed = true; item 919 chrome/browser/component_updater/component_updater_service.cc ChangeItemState(item, CrxUpdateItem::kUpdated); item 920 chrome/browser/component_updater/component_updater_service.cc item->component.version = item->next_version; item 921 chrome/browser/component_updater/component_updater_service.cc item->component.fingerprint = item->next_fp; item 923 chrome/browser/component_updater/component_updater_service.cc ChangeItemState(item, CrxUpdateItem::kNoUpdate); item 924 chrome/browser/component_updater/component_updater_service.cc item->error_category = error_category; item 925 chrome/browser/component_updater/component_updater_service.cc item->error_code = error; item 926 chrome/browser/component_updater/component_updater_service.cc item->extra_code1 = extra_code; item 929 chrome/browser/component_updater/component_updater_service.cc ping_manager_->OnUpdateComplete(item); item 965 chrome/browser/component_updater/component_updater_service.cc CrxUpdateItem* item = FindUpdateItemById(crx_id); item 966 chrome/browser/component_updater/component_updater_service.cc Status status = OnDemandUpdateInternal(item); item 968 chrome/browser/component_updater/component_updater_service.cc item->throttles.push_back(rt); item 123 chrome/browser/component_updater/crx_update_item.h bool operator() (CrxUpdateItem* item) const { item 124 chrome/browser/component_updater/crx_update_item.h return (item->id == id_); item 72 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc CrxUpdateItem item; item 73 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.id = "abc"; item 74 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.status = CrxUpdateItem::kUpdated; item 75 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); item 76 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); item 78 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc ping_manager_->OnUpdateComplete(&item); item 89 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item = CrxUpdateItem(); item 90 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.id = "abc"; item 91 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.status = CrxUpdateItem::kNoUpdate; item 92 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); item 93 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); item 95 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc ping_manager_->OnUpdateComplete(&item); item 106 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item = CrxUpdateItem(); item 107 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.id = "abc"; item 108 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.status = CrxUpdateItem::kNoUpdate; item 109 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); item 110 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); item 111 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_fp = "prev fp"; item 112 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_fp = "next fp"; item 113 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.error_category = 1; item 114 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.error_code = 2; item 115 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.extra_code1 = -1; item 116 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.diff_error_category = 10; item 117 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.diff_error_code = 20; item 118 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.diff_extra_code1 = -10; item 119 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.diff_update_failed = true; item 120 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.crx_diffurls.push_back(GURL("http://host/path")); item 122 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc ping_manager_->OnUpdateComplete(&item); item 136 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item = CrxUpdateItem(); item 137 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.id = "abc"; item 138 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.status = CrxUpdateItem::kUpdated; item 139 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.previous_version = base::Version("1.0"); item 140 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.next_version = base::Version("2.0"); item 149 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.download_metrics.push_back(download_metrics); item 158 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc item.download_metrics.push_back(download_metrics); item 160 chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc ping_manager_->OnUpdateComplete(&item); item 174 chrome/browser/component_updater/test/update_checker_unittest.cc CrxUpdateItem item(BuildCrxUpdateItem()); item 176 chrome/browser/component_updater/test/update_checker_unittest.cc items_to_check.push_back(&item); item 217 chrome/browser/component_updater/test/update_checker_unittest.cc CrxUpdateItem item(BuildCrxUpdateItem()); item 219 chrome/browser/component_updater/test/update_checker_unittest.cc items_to_check.push_back(&item); item 38 chrome/browser/component_updater/update_checker.cc const CrxUpdateItem* item = items[i]; item 42 chrome/browser/component_updater/update_checker.cc item->id.c_str(), item 43 chrome/browser/component_updater/update_checker.cc item->component.version.GetString().c_str()); item 44 chrome/browser/component_updater/update_checker.cc if (item->on_demand) item 48 chrome/browser/component_updater/update_checker.cc if (!item->component.fingerprint.empty()) { item 53 chrome/browser/component_updater/update_checker.cc item->component.fingerprint.c_str()); item 965 chrome/browser/devtools/devtools_adb_bridge.cc base::Value* item; item 966 chrome/browser/devtools/devtools_adb_bridge.cc page_descriptors_->Get(i, &item); item 967 chrome/browser/devtools/devtools_adb_bridge.cc if (!item) item 970 chrome/browser/devtools/devtools_adb_bridge.cc if (!item->GetAsDictionary(&dict)) item 44 chrome/browser/download/all_download_item_notifier.cc content::DownloadItem* item) { item 45 chrome/browser/download/all_download_item_notifier.cc item->AddObserver(this); item 46 chrome/browser/download/all_download_item_notifier.cc observing_.insert(item); item 47 chrome/browser/download/all_download_item_notifier.cc observer_->OnDownloadCreated(manager, item); item 51 chrome/browser/download/all_download_item_notifier.cc content::DownloadItem* item) { item 52 chrome/browser/download/all_download_item_notifier.cc observer_->OnDownloadUpdated(manager_, item); item 56 chrome/browser/download/all_download_item_notifier.cc content::DownloadItem* item) { item 57 chrome/browser/download/all_download_item_notifier.cc observer_->OnDownloadOpened(manager_, item); item 61 chrome/browser/download/all_download_item_notifier.cc content::DownloadItem* item) { item 62 chrome/browser/download/all_download_item_notifier.cc observer_->OnDownloadRemoved(manager_, item); item 66 chrome/browser/download/all_download_item_notifier.cc content::DownloadItem* item) { item 67 chrome/browser/download/all_download_item_notifier.cc item->RemoveObserver(this); item 68 chrome/browser/download/all_download_item_notifier.cc observing_.erase(item); item 47 chrome/browser/download/all_download_item_notifier.h content::DownloadManager* manager, content::DownloadItem* item) {} item 49 chrome/browser/download/all_download_item_notifier.h content::DownloadManager* manager, content::DownloadItem* item) {} item 51 chrome/browser/download/all_download_item_notifier.h content::DownloadManager* manager, content::DownloadItem* item) {} item 53 chrome/browser/download/all_download_item_notifier.h content::DownloadManager* manager, content::DownloadItem* item) {} item 71 chrome/browser/download/all_download_item_notifier.h content::DownloadItem* item) OVERRIDE; item 74 chrome/browser/download/all_download_item_notifier.h virtual void OnDownloadUpdated(content::DownloadItem* item) OVERRIDE; item 75 chrome/browser/download/all_download_item_notifier.h virtual void OnDownloadOpened(content::DownloadItem* item) OVERRIDE; item 76 chrome/browser/download/all_download_item_notifier.h virtual void OnDownloadRemoved(content::DownloadItem* item) OVERRIDE; item 77 chrome/browser/download/all_download_item_notifier.h virtual void OnDownloadDestroyed(content::DownloadItem* item) OVERRIDE; item 25 chrome/browser/download/all_download_item_notifier_unittest.cc content::DownloadManager* manager, content::DownloadItem* item)); item 27 chrome/browser/download/all_download_item_notifier_unittest.cc content::DownloadManager* manager, content::DownloadItem* item)); item 29 chrome/browser/download/all_download_item_notifier_unittest.cc content::DownloadManager* manager, content::DownloadItem* item)); item 31 chrome/browser/download/all_download_item_notifier_unittest.cc content::DownloadManager* manager, content::DownloadItem* item)); item 85 chrome/browser/download/all_download_item_notifier_unittest.cc items.push_back(&item()); item 88 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(item(), AddObserver(_)); item 91 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(observer(), OnDownloadUpdated(&manager(), &item())); item 92 chrome/browser/download/all_download_item_notifier_unittest.cc NotifierAsItemObserver()->OnDownloadUpdated(&item()); item 94 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(observer(), OnDownloadOpened(&manager(), &item())); item 95 chrome/browser/download/all_download_item_notifier_unittest.cc NotifierAsItemObserver()->OnDownloadOpened(&item()); item 97 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(observer(), OnDownloadRemoved(&manager(), &item())); item 98 chrome/browser/download/all_download_item_notifier_unittest.cc NotifierAsItemObserver()->OnDownloadRemoved(&item()); item 100 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(item(), RemoveObserver(NotifierAsItemObserver())); item 110 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(item(), AddObserver(NotifierAsItemObserver())); item 111 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(observer(), OnDownloadCreated(&manager(), &item())); item 113 chrome/browser/download/all_download_item_notifier_unittest.cc &manager(), &item()); item 118 chrome/browser/download/all_download_item_notifier_unittest.cc EXPECT_CALL(item(), RemoveObserver(NotifierAsItemObserver())); item 119 chrome/browser/download/all_download_item_notifier_unittest.cc NotifierAsItemObserver()->OnDownloadDestroyed(&item()); item 307 chrome/browser/download/chrome_download_manager_delegate.cc void ChromeDownloadManagerDelegate::DisableSafeBrowsing(DownloadItem* item) { item 311 chrome/browser/download/chrome_download_manager_delegate.cc item->GetUserData(&kSafeBrowsingUserDataKey)); item 314 chrome/browser/download/chrome_download_manager_delegate.cc item->SetUserData(&kSafeBrowsingUserDataKey, state); item 321 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item, item 326 chrome/browser/download/chrome_download_manager_delegate.cc item->GetUserData(&kSafeBrowsingUserDataKey)); item 332 chrome/browser/download/chrome_download_manager_delegate.cc << item->DebugString(false); item 335 chrome/browser/download/chrome_download_manager_delegate.cc item->SetUserData(&kSafeBrowsingUserDataKey, state); item 337 chrome/browser/download/chrome_download_manager_delegate.cc item, item 341 chrome/browser/download/chrome_download_manager_delegate.cc item->GetId())); item 356 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item = download_manager_->GetDownload(download_id); item 357 chrome/browser/download/chrome_download_manager_delegate.cc if (!item) item 359 chrome/browser/download/chrome_download_manager_delegate.cc if (ShouldCompleteDownload(item, user_complete_callback)) item 364 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item, item 366 chrome/browser/download/chrome_download_manager_delegate.cc return IsDownloadReadyForCompletion(item, base::Bind( item 368 chrome/browser/download/chrome_download_manager_delegate.cc weak_ptr_factory_.GetWeakPtr(), item->GetId(), user_complete_callback)); item 372 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item, const content::DownloadOpenDelayedCallback& callback) { item 373 chrome/browser/download/chrome_download_manager_delegate.cc if (download_crx_util::IsExtensionDownload(*item)) { item 375 chrome/browser/download/chrome_download_manager_delegate.cc download_crx_util::OpenChromeExtension(profile_, *item); item 388 chrome/browser/download/chrome_download_manager_delegate.cc item->UpdateObservers(); item 640 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item = download_manager_->GetDownload(download_id); item 641 chrome/browser/download/chrome_download_manager_delegate.cc if (!item || (item->GetState() != DownloadItem::IN_PROGRESS)) item 644 chrome/browser/download/chrome_download_manager_delegate.cc VLOG(2) << __FUNCTION__ << "() download = " << item->DebugString(false) item 648 chrome/browser/download/chrome_download_manager_delegate.cc if (item->GetDangerType() == content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS || item 649 chrome/browser/download/chrome_download_manager_delegate.cc item->GetDangerType() == item 672 chrome/browser/download/chrome_download_manager_delegate.cc item->OnContentCheckCompleted(danger_type); item 676 chrome/browser/download/chrome_download_manager_delegate.cc item->GetUserData(&kSafeBrowsingUserDataKey)); item 705 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* item = download_manager_->GetDownload(download_id); item 706 chrome/browser/download/chrome_download_manager_delegate.cc if (!target_info->target_path.empty() && item && item 709 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItemModel(item).SetShouldPreferOpeningInBrowser(true); item 59 chrome/browser/download/chrome_download_manager_delegate.h static void DisableSafeBrowsing(content::DownloadItem* item); item 71 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* item, item 76 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* item, item 79 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* item, item 158 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* item, item 198 chrome/browser/download/chrome_download_manager_delegate_unittest.cc content::MockDownloadItem* item = item 200 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetBrowserContext()) item 202 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetDangerType()) item 204 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetForcedFilePath()) item 206 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetFullPath()) item 208 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetHash()) item 210 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetId()) item 212 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetLastReason()) item 214 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetReferrerUrl()) item 216 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetState()) item 218 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetTargetFilePath()) item 220 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetTransitionType()) item 222 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, GetWebContents()) item 224 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, HasUserGesture()) item 226 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, IsDangerous()) item 228 chrome/browser/download/chrome_download_manager_delegate_unittest.cc ON_CALL(*item, IsTemporary()) item 231 chrome/browser/download/chrome_download_manager_delegate_unittest.cc .WillRepeatedly(Return(item)); item 232 chrome/browser/download/chrome_download_manager_delegate_unittest.cc return item; item 131 chrome/browser/download/download_browsertest.cc content::DownloadItem* item) OVERRIDE { item 145 chrome/browser/download/download_browsertest.cc explicit PercentWaiter(DownloadItem* item) item 146 chrome/browser/download/download_browsertest.cc : item_(item), item 168 chrome/browser/download/download_browsertest.cc virtual void OnDownloadUpdated(content::DownloadItem* item) OVERRIDE { item 169 chrome/browser/download/download_browsertest.cc DCHECK_EQ(item_, item); item 182 chrome/browser/download/download_browsertest.cc virtual void OnDownloadDestroyed(content::DownloadItem* item) OVERRIDE { item 183 chrome/browser/download/download_browsertest.cc DCHECK_EQ(item_, item); item 328 chrome/browser/download/download_browsertest.cc bool WasAutoOpened(DownloadItem* item) { item 329 chrome/browser/download/download_browsertest.cc return item->GetAutoOpened(); item 333 chrome/browser/download/download_browsertest.cc void SetHiddenDownloadCallback(DownloadItem* item, item 335 chrome/browser/download/download_browsertest.cc DownloadItemModel(item).SetShouldShowInShelf(false); item 389 chrome/browser/download/download_browsertest.cc content::DownloadItem* item, item 936 chrome/browser/download/download_browsertest.cc DownloadItem* item = download_items[0]; item 938 chrome/browser/download/download_browsertest.cc if (download_items[d]->GetStartTime() > item->GetStartTime()) item 939 chrome/browser/download/download_browsertest.cc item = download_items[d]; item 942 chrome/browser/download/download_browsertest.cc ASSERT_EQ(url, item->GetOriginalUrl()) << s.str(); item 944 chrome/browser/download/download_browsertest.cc ASSERT_EQ(download_info.reason, item->GetLastReason()) << s.str(); item 946 chrome/browser/download/download_browsertest.cc if (item->GetState() == content::DownloadItem::COMPLETE) { item 949 chrome/browser/download/download_browsertest.cc base::FilePath my_downloaded_file = item->GetTargetFilePath(); item 1931 chrome/browser/download/download_browsertest.cc DownloadItem* item = downloads[0]; item 1932 chrome/browser/download/download_browsertest.cc EXPECT_EQ(file.value(), item->GetFullPath().BaseName().value()); item 1933 chrome/browser/download/download_browsertest.cc EXPECT_EQ(file.value(), item->GetTargetFilePath().BaseName().value()); item 1934 chrome/browser/download/download_browsertest.cc EXPECT_EQ(download_url, item->GetURL()); item 1936 chrome/browser/download/download_browsertest.cc std::string etag = item->GetETag(); item 1940 chrome/browser/download/download_browsertest.cc std::string last_modified = item->GetLastModifiedTime(); item 2837 chrome/browser/download/download_browsertest.cc content::DownloadItem* item = manager->GetDownload( item 2839 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(item); item 2840 chrome/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::COMPLETE, item->GetState()); item 2841 chrome/browser/download/download_browsertest.cc base::FilePath target_path(item->GetTargetFilePath()); item 130 chrome/browser/download/download_crx_util.cc bool OffStoreInstallAllowedByPrefs(Profile* profile, const DownloadItem& item) { item 136 chrome/browser/download/download_crx_util.cc if (!url_patterns.MatchesURL(item.GetURL())) item 144 chrome/browser/download/download_crx_util.cc return url_patterns.MatchesURL(item.GetReferrerUrl()) || item 145 chrome/browser/download/download_crx_util.cc item.GetURL().SchemeIsFile(); item 48 chrome/browser/download/download_crx_util.h const content::DownloadItem& item); item 37 chrome/browser/download/download_crx_util_android.cc const content::DownloadItem& item) { item 31 chrome/browser/download/download_danger_prompt.cc DownloadDangerPromptImpl(content::DownloadItem* item, item 236 chrome/browser/download/download_danger_prompt.cc content::DownloadItem* item, item 241 chrome/browser/download/download_danger_prompt.cc item, web_contents, show_context, done); item 41 chrome/browser/download/download_danger_prompt.h content::DownloadItem* item, item 56 chrome/browser/download/download_file_picker.cc DownloadItem* item, item 63 chrome/browser/download/download_file_picker.cc DownloadPrefs::FromBrowserContext(item->GetBrowserContext()); item 68 chrome/browser/download/download_file_picker.cc WebContents* web_contents = item->GetWebContents(); item 119 chrome/browser/download/download_file_picker.cc void DownloadFilePicker::ShowFilePicker(DownloadItem* item, item 122 chrome/browser/download/download_file_picker.cc new DownloadFilePicker(item, suggested_path, callback); item 36 chrome/browser/download/download_file_picker.h static void ShowFilePicker(content::DownloadItem* item, item 41 chrome/browser/download/download_file_picker.h DownloadFilePicker(content::DownloadItem* item, item 60 chrome/browser/download/download_history.cc static DownloadHistoryData* Get(content::DownloadItem* item) { item 61 chrome/browser/download/download_history.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); item 66 chrome/browser/download/download_history.cc explicit DownloadHistoryData(content::DownloadItem* item) item 68 chrome/browser/download/download_history.cc item->SetUserData(kKey, this); item 102 chrome/browser/download/download_history.cc content::DownloadItem* item) { item 105 chrome/browser/download/download_history.cc DownloadedByExtension* by_ext = DownloadedByExtension::Get(item); item 113 chrome/browser/download/download_history.cc item->GetFullPath(), item 114 chrome/browser/download/download_history.cc item->GetTargetFilePath(), item 115 chrome/browser/download/download_history.cc item->GetUrlChain(), item 116 chrome/browser/download/download_history.cc item->GetReferrerUrl(), item 117 chrome/browser/download/download_history.cc item->GetStartTime(), item 118 chrome/browser/download/download_history.cc item->GetEndTime(), item 119 chrome/browser/download/download_history.cc item->GetETag(), item 120 chrome/browser/download/download_history.cc item->GetLastModifiedTime(), item 121 chrome/browser/download/download_history.cc item->GetReceivedBytes(), item 122 chrome/browser/download/download_history.cc item->GetTotalBytes(), item 123 chrome/browser/download/download_history.cc item->GetState(), item 124 chrome/browser/download/download_history.cc item->GetDangerType(), item 125 chrome/browser/download/download_history.cc item->GetLastReason(), item 126 chrome/browser/download/download_history.cc item->GetId(), item 127 chrome/browser/download/download_history.cc item->GetOpened(), item 185 chrome/browser/download/download_history.cc bool DownloadHistory::IsPersisted(content::DownloadItem* item) { item 186 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); item 232 chrome/browser/download/download_history.cc content::DownloadItem* item = notifier_.GetManager()->CreateDownloadItem( item 250 chrome/browser/download/download_history.cc new DownloadedByExtension(item, it->by_ext_id, it->by_ext_name); item 251 chrome/browser/download/download_history.cc item->UpdateObservers(); item 254 chrome/browser/download/download_history.cc DCHECK_EQ(DownloadHistoryData::Get(item)->state(), item 261 chrome/browser/download/download_history.cc void DownloadHistory::MaybeAddToHistory(content::DownloadItem* item) { item 264 chrome/browser/download/download_history.cc uint32 download_id = item->GetId(); item 265 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); item 269 chrome/browser/download/download_history.cc if (download_crx_util::IsExtensionDownload(*item) || item 270 chrome/browser/download/download_history.cc item->IsTemporary() || item 280 chrome/browser/download/download_history.cc data->set_info(GetDownloadRow(item)); item 287 chrome/browser/download/download_history.cc item, *data->info())); item 302 chrome/browser/download/download_history.cc content::DownloadItem* item = notifier_.GetManager()->GetDownload( item 304 chrome/browser/download/download_history.cc if (!item) { item 312 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); item 335 chrome/browser/download/download_history.cc OnDownloadUpdated(notifier_.GetManager(), item); item 339 chrome/browser/download/download_history.cc content::DownloadManager* manager, content::DownloadItem* item) { item 343 chrome/browser/download/download_history.cc CHECK(!DownloadHistoryData::Get(item)); item 344 chrome/browser/download/download_history.cc DownloadHistoryData* data = new DownloadHistoryData(item); item 345 chrome/browser/download/download_history.cc if (item->GetId() == loading_id_) { item 349 chrome/browser/download/download_history.cc if (item->GetState() == content::DownloadItem::IN_PROGRESS) { item 350 chrome/browser/download/download_history.cc data->set_info(GetDownloadRow(item)); item 352 chrome/browser/download/download_history.cc MaybeAddToHistory(item); item 356 chrome/browser/download/download_history.cc content::DownloadManager* manager, content::DownloadItem* item) { item 359 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); item 361 chrome/browser/download/download_history.cc MaybeAddToHistory(item); item 364 chrome/browser/download/download_history.cc if (item->IsTemporary()) { item 365 chrome/browser/download/download_history.cc OnDownloadRemoved(notifier_.GetManager(), item); item 369 chrome/browser/download/download_history.cc history::DownloadRow current_info(GetDownloadRow(item)); item 376 chrome/browser/download/download_history.cc item, current_info)); item 378 chrome/browser/download/download_history.cc if (item->GetState() == content::DownloadItem::IN_PROGRESS) { item 386 chrome/browser/download/download_history.cc content::DownloadManager* manager, content::DownloadItem* item) { item 387 chrome/browser/download/download_history.cc OnDownloadUpdated(manager, item); item 391 chrome/browser/download/download_history.cc content::DownloadManager* manager, content::DownloadItem* item) { item 394 chrome/browser/download/download_history.cc DownloadHistoryData* data = DownloadHistoryData::Get(item); item 398 chrome/browser/download/download_history.cc removed_while_adding_.insert(item->GetId()); item 402 chrome/browser/download/download_history.cc ScheduleRemoveDownload(item->GetId()); item 59 chrome/browser/download/download_history.h virtual void OnDownloadStored(content::DownloadItem* item, item 71 chrome/browser/download/download_history.h static bool IsPersisted(content::DownloadItem* item); item 94 chrome/browser/download/download_history.h void MaybeAddToHistory(content::DownloadItem* item); item 102 chrome/browser/download/download_history.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 104 chrome/browser/download/download_history.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 106 chrome/browser/download/download_history.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 108 chrome/browser/download/download_history.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 260 chrome/browser/download/download_history_unittest.cc Return(&item(index)))); item 274 chrome/browser/download/download_history_unittest.cc manager_observer()->OnDownloadCreated(&manager(), &item(index)); item 401 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetId()).WillRepeatedly(Return(id)); item 402 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetFullPath()) item 404 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetTargetFilePath()) item 407 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetURL()) item 409 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetUrlChain()) item 411 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetMimeType()) item 413 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetReferrerUrl()) item 415 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetStartTime()).WillRepeatedly(Return(start_time)); item 416 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetEndTime()).WillRepeatedly(Return(end_time)); item 417 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetETag()).WillRepeatedly(ReturnRefOfCopy(etag)); item 418 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetLastModifiedTime()) item 420 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetReceivedBytes()) item 422 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetTotalBytes()) item 424 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetState()).WillRepeatedly(Return(state)); item 425 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetDangerType()) item 427 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetLastReason()) item 429 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetOpened()).WillRepeatedly(Return(opened)); item 430 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), GetTargetDisposition()) item 434 chrome/browser/download/download_history_unittest.cc .WillRepeatedly(Return(&item(index))); item 435 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), AddObserver(_)) item 438 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), RemoveObserver(_)); item 439 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(index), IsTemporary()).WillRepeatedly(Return(false)); item 441 chrome/browser/download/download_history_unittest.cc new DownloadedByExtension(&item(index), by_extension_id, by_extension_name); item 446 chrome/browser/download/download_history_unittest.cc items.push_back(&item(i)); item 484 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 487 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetOpened()).WillRepeatedly(Return(true)); item 488 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 495 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadRemoved(&item(0)); item 515 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 518 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetOpened()).WillRepeatedly(Return(true)); item 519 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 526 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadRemoved(&item(0)); item 542 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 550 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetFullPath()).WillRepeatedly(ReturnRefOfCopy(new_path)); item 552 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 556 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetTargetFilePath()) item 559 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 563 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetEndTime()).WillRepeatedly(Return(new_time)); item 565 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 569 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(101)); item 571 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 575 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetTotalBytes()).WillRepeatedly(Return(102)); item 577 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 581 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetETag()).WillRepeatedly(ReturnRefOfCopy(new_etag)); item 583 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 587 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetLastModifiedTime()) item 590 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 594 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetState()) item 597 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 601 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetDangerType()) item 604 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 608 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetLastReason()) item 611 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 615 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetOpened()).WillRepeatedly(Return(true)); item 617 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 639 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 643 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), IsTemporary()).WillRepeatedly(Return(true)); item 644 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 651 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(4200)); item 652 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 657 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), IsTemporary()).WillRepeatedly(Return(false)); item 658 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 661 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 663 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(100)); item 664 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 686 chrome/browser/download/download_history_unittest.cc EXPECT_FALSE(DownloadHistory::IsPersisted(&item(0))); item 692 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadRemoved(&item(0)); item 693 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(manager(), GetDownload(item(0).GetId())) item 696 chrome/browser/download/download_history_unittest.cc EXPECT_FALSE(DownloadHistory::IsPersisted(&item(0))); item 704 chrome/browser/download/download_history_unittest.cc EXPECT_FALSE(DownloadHistory::IsPersisted(&item(0))); item 728 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 729 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(1))); item 735 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadRemoved(&item(0)); item 736 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadRemoved(&item(1)); item 756 chrome/browser/download/download_history_unittest.cc EXPECT_FALSE(DownloadHistory::IsPersisted(&item(0))); item 758 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(100)); item 759 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 762 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 783 chrome/browser/download/download_history_unittest.cc EXPECT_FALSE(DownloadHistory::IsPersisted(&item(0))); item 786 chrome/browser/download/download_history_unittest.cc EXPECT_CALL(item(0), GetOpened()).WillRepeatedly(Return(true)); item 787 chrome/browser/download/download_history_unittest.cc item_observer()->OnDownloadUpdated(&item(0)); item 790 chrome/browser/download/download_history_unittest.cc EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0))); item 334 chrome/browser/download/download_item_model_unittest.cc Mock::VerifyAndClearExpectations(&item()); item 336 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetReceivedBytes()) item 338 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetTotalBytes()) item 340 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), TimeRemaining(_)) item 344 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetOpenWhenComplete()) item 346 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), IsPaused()) item 406 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetOpenWhenComplete()) item 408 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetState()) item 410 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), IsDangerous()) item 412 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item(), GetAutoOpened()) item 418 chrome/browser/download/download_item_model_unittest.cc Mock::VerifyAndClearExpectations(&item()); item 123 chrome/browser/download/download_path_reservation_tracker_unittest.cc FakeDownloadItem* item = new ::testing::StrictMock<FakeDownloadItem>; item 124 chrome/browser/download/download_path_reservation_tracker_unittest.cc EXPECT_CALL(*item, GetId()) item 126 chrome/browser/download/download_path_reservation_tracker_unittest.cc EXPECT_CALL(*item, GetTargetFilePath()) item 128 chrome/browser/download/download_path_reservation_tracker_unittest.cc return item; item 186 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 197 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 208 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 209 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.reset(); item 216 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 227 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 238 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::INTERRUPTED); item 245 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 256 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 270 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 278 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 296 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 311 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 312 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.reset(); item 445 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item( item 450 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 459 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 468 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 484 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 494 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 509 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 513 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 521 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 525 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 530 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 539 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 546 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 557 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 569 chrome/browser/download/download_path_reservation_tracker_unittest.cc ASSERT_EQ(base::FilePath::StringType(), item->GetTargetFilePath().value()); item 570 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->UpdateObservers(); item 578 chrome/browser/download/download_path_reservation_tracker_unittest.cc EXPECT_CALL(*item, GetTargetFilePath()) item 580 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->UpdateObservers(); item 586 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 587 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.reset(); item 605 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 616 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 628 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 637 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 659 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 668 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 677 chrome/browser/download/download_path_reservation_tracker_unittest.cc scoped_ptr<FakeDownloadItem> item(CreateDownloadItem(1)); item 689 chrome/browser/download/download_path_reservation_tracker_unittest.cc item.get(), item 697 chrome/browser/download/download_path_reservation_tracker_unittest.cc item->SetState(DownloadItem::COMPLETE); item 74 chrome/browser/download/download_query.cc const DownloadItem& item) { item 76 chrome/browser/download/download_query.cc base::string16 url_raw(base::UTF8ToUTF16(item.GetOriginalUrl().spec())); item 78 chrome/browser/download/download_query.cc if (item.GetBrowserContext()) { item 79 chrome/browser/download/download_query.cc Profile* profile = Profile::FromBrowserContext(item.GetBrowserContext()); item 81 chrome/browser/download/download_query.cc item.GetOriginalUrl(), item 84 chrome/browser/download/download_query.cc base::string16 path(item.GetTargetFilePath().LossyDisplayName()); item 101 chrome/browser/download/download_query.cc static int64 GetStartTimeMsEpoch(const DownloadItem& item) { item 102 chrome/browser/download/download_query.cc return (item.GetStartTime() - base::Time::UnixEpoch()).InMilliseconds(); item 105 chrome/browser/download/download_query.cc static int64 GetEndTimeMsEpoch(const DownloadItem& item) { item 106 chrome/browser/download/download_query.cc return (item.GetEndTime() - base::Time::UnixEpoch()).InMilliseconds(); item 118 chrome/browser/download/download_query.cc static std::string GetStartTime(const DownloadItem& item) { item 119 chrome/browser/download/download_query.cc return TimeToISO8601(item.GetStartTime()); item 122 chrome/browser/download/download_query.cc static std::string GetEndTime(const DownloadItem& item) { item 123 chrome/browser/download/download_query.cc return TimeToISO8601(item.GetEndTime()); item 126 chrome/browser/download/download_query.cc static bool GetDangerAccepted(const DownloadItem& item) { item 127 chrome/browser/download/download_query.cc return (item.GetDangerType() == item 131 chrome/browser/download/download_query.cc static bool GetExists(const DownloadItem& item) { item 132 chrome/browser/download/download_query.cc return !item.GetFileExternallyRemoved(); item 135 chrome/browser/download/download_query.cc static base::string16 GetFilename(const DownloadItem& item) { item 138 chrome/browser/download/download_query.cc return item.GetTargetFilePath().LossyDisplayName(); item 141 chrome/browser/download/download_query.cc static std::string GetFilenameUTF8(const DownloadItem& item) { item 142 chrome/browser/download/download_query.cc return base::UTF16ToUTF8(GetFilename(item)); item 145 chrome/browser/download/download_query.cc static std::string GetUrl(const DownloadItem& item) { item 146 chrome/browser/download/download_query.cc return item.GetOriginalUrl().spec(); item 149 chrome/browser/download/download_query.cc static DownloadItem::DownloadState GetState(const DownloadItem& item) { item 150 chrome/browser/download/download_query.cc return item.GetState(); item 153 chrome/browser/download/download_query.cc static DownloadDangerType GetDangerType(const DownloadItem& item) { item 154 chrome/browser/download/download_query.cc return item.GetDangerType(); item 157 chrome/browser/download/download_query.cc static int GetReceivedBytes(const DownloadItem& item) { item 158 chrome/browser/download/download_query.cc return item.GetReceivedBytes(); item 161 chrome/browser/download/download_query.cc static int GetTotalBytes(const DownloadItem& item) { item 162 chrome/browser/download/download_query.cc return item.GetTotalBytes(); item 165 chrome/browser/download/download_query.cc static std::string GetMimeType(const DownloadItem& item) { item 166 chrome/browser/download/download_query.cc return item.GetMimeType(); item 169 chrome/browser/download/download_query.cc static bool IsPaused(const DownloadItem& item) { item 170 chrome/browser/download/download_query.cc return item.IsPaused(); item 184 chrome/browser/download/download_query.cc const DownloadItem& item) { item 186 chrome/browser/download/download_query.cc case LT: return accessor.Run(item) < value; item 187 chrome/browser/download/download_query.cc case EQ: return accessor.Run(item) == value; item 188 chrome/browser/download/download_query.cc case GT: return accessor.Run(item) > value; item 208 chrome/browser/download/download_query.cc const DownloadItem& item) { item 209 chrome/browser/download/download_query.cc return RE2::PartialMatch(accessor.Run(item), *pattern); item 317 chrome/browser/download/download_query.cc bool DownloadQuery::Matches(const DownloadItem& item) const { item 320 chrome/browser/download/download_query.cc if (!filter->Run(item)) item 144 chrome/browser/download/download_query.h bool Matches(const content::DownloadItem& item) const; item 34 chrome/browser/download/download_query_unittest.cc bool IdNotEqual(uint32 not_id, const DownloadItem& item) { item 35 chrome/browser/download/download_query_unittest.cc return item.GetId() != not_id; item 38 chrome/browser/download/download_query_unittest.cc bool AlwaysReturn(bool result, const DownloadItem& item) { item 29 chrome/browser/download/download_status_updater.cc static bool Get(content::DownloadItem* item) { item 30 chrome/browser/download/download_status_updater.cc return item->GetUserData(kKey) != NULL; item 33 chrome/browser/download/download_status_updater.cc static void Clear(content::DownloadItem* item) { item 34 chrome/browser/download/download_status_updater.cc item->RemoveUserData(kKey); item 37 chrome/browser/download/download_status_updater.cc explicit WasInProgressData(content::DownloadItem* item) { item 38 chrome/browser/download/download_status_updater.cc item->SetUserData(kKey, this); item 103 chrome/browser/download/download_status_updater.cc content::DownloadManager* manager, content::DownloadItem* item) { item 107 chrome/browser/download/download_status_updater.cc if (item->GetState() == content::DownloadItem::IN_PROGRESS) { item 108 chrome/browser/download/download_status_updater.cc UpdateAppIconDownloadProgress(item); item 109 chrome/browser/download/download_status_updater.cc new WasInProgressData(item); item 116 chrome/browser/download/download_status_updater.cc content::DownloadManager* manager, content::DownloadItem* item) { item 117 chrome/browser/download/download_status_updater.cc if (item->GetState() == content::DownloadItem::IN_PROGRESS) { item 121 chrome/browser/download/download_status_updater.cc if (!WasInProgressData::Get(item)) item 122 chrome/browser/download/download_status_updater.cc new WasInProgressData(item); item 129 chrome/browser/download/download_status_updater.cc if (!WasInProgressData::Get(item)) item 131 chrome/browser/download/download_status_updater.cc WasInProgressData::Clear(item); item 133 chrome/browser/download/download_status_updater.cc UpdateAppIconDownloadProgress(item); item 37 chrome/browser/download/download_status_updater.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 39 chrome/browser/download/download_status_updater.h content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; item 30 chrome/browser/download/download_status_updater_unittest.cc void SetAcceptableNotificationItem(content::DownloadItem* item) { item 31 chrome/browser/download/download_status_updater_unittest.cc acceptable_notification_item_ = item; item 113 chrome/browser/download/download_status_updater_unittest.cc content::MockDownloadItem* item = item 118 chrome/browser/download/download_status_updater_unittest.cc EXPECT_CALL(*item, GetState()).WillRepeatedly(Return(state)); item 119 chrome/browser/download/download_status_updater_unittest.cc EXPECT_CALL(*item, AddObserver(_)) item 121 chrome/browser/download/download_status_updater_unittest.cc manager_items_[manager_index].push_back(item); item 147 chrome/browser/download/download_status_updater_unittest.cc content::MockDownloadItem* item(Item(manager_index, item_index)); item 148 chrome/browser/download/download_status_updater_unittest.cc EXPECT_CALL(*item, GetReceivedBytes()) item 150 chrome/browser/download/download_status_updater_unittest.cc EXPECT_CALL(*item, GetTotalBytes()) item 153 chrome/browser/download/download_status_updater_unittest.cc updater_->OnDownloadUpdated(managers_[manager_index], item); item 158 chrome/browser/download/download_status_updater_unittest.cc content::MockDownloadItem* item(Item(manager_index, item_index)); item 159 chrome/browser/download/download_status_updater_unittest.cc EXPECT_CALL(*item, GetState()) item 161 chrome/browser/download/download_status_updater_unittest.cc updater_->OnDownloadUpdated(managers_[manager_index], item); item 218 chrome/browser/download/download_target_determiner_unittest.cc content::MockDownloadItem* item); item 224 chrome/browser/download/download_target_determiner_unittest.cc content::MockDownloadItem* item); item 282 chrome/browser/download/download_target_determiner_unittest.cc content::MockDownloadItem* item = item 296 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetBrowserContext()) item 298 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetDangerType()) item 300 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetForcedFilePath()) item 302 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetFullPath()) item 304 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetHash()) item 306 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetId()) item 308 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetLastReason()) item 310 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetMimeType()) item 312 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetReferrerUrl()) item 314 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetState()) item 316 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetTargetDisposition()) item 318 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetTargetFilePath()) item 320 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetTransitionType()) item 322 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetURL()) item 324 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetUrlChain()) item 326 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, GetWebContents()) item 328 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, HasUserGesture()) item 330 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, IsDangerous()) item 332 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item, IsTemporary()) item 334 chrome/browser/download/download_target_determiner_unittest.cc return item; item 365 chrome/browser/download/download_target_determiner_unittest.cc content::MockDownloadItem* item) { item 367 chrome/browser/download/download_target_determiner_unittest.cc RunDownloadTargetDeterminer(initial_virtual_path, item); item 382 chrome/browser/download/download_target_determiner_unittest.cc content::MockDownloadItem* item) { item 386 chrome/browser/download/download_target_determiner_unittest.cc item, initial_virtual_path, download_prefs_.get(), delegate(), item 399 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 402 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_cases[i], base::FilePath(), item.get()); item 948 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 950 chrome/browser/download/download_target_determiner_unittest.cc EXPECT_CALL(*item.get(), GetState()) item 956 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); item 1366 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1382 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); item 1393 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); item 1413 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1430 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, base::FilePath(), item.get()); item 1454 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1456 chrome/browser/download/download_target_determiner_unittest.cc EXPECT_CALL(*item, GetLastReason()) item 1459 chrome/browser/download/download_target_determiner_unittest.cc EXPECT_CALL(*item, GetTargetDisposition()) item 1461 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, GetPathInDownloadDir(kInitialPath), item.get()); item 1539 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1543 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetLastReason()) item 1556 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, GetPathInDownloadDir(kInitialPath), item.get()); item 1581 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1583 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetLastReason()) item 1592 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, GetPathInDownloadDir(kInitialPath), item.get()); item 1658 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1660 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetLastReason()) item 1669 chrome/browser/download/download_target_determiner_unittest.cc RunTestCase(test_case, GetPathInDownloadDir(kInitialPath), item.get()); item 1792 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1795 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetLastReason()) item 1798 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetFullPath()) item 1801 chrome/browser/download/download_target_determiner_unittest.cc ON_CALL(*item.get(), GetDangerType()) item 1806 chrome/browser/download/download_target_determiner_unittest.cc item.get()); item 1915 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 1919 chrome/browser/download/download_target_determiner_unittest.cc item.get()); item 2075 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 2079 chrome/browser/download/download_target_determiner_unittest.cc item.get()); item 2094 chrome/browser/download/download_target_determiner_unittest.cc GetPathInDownloadDir(kInitialPath), item.get()); item 2101 chrome/browser/download/download_target_determiner_unittest.cc GetPathInDownloadDir(kInitialPath), item.get()); item 2117 chrome/browser/download/download_target_determiner_unittest.cc GetPathInDownloadDir(kInitialPath), item.get()); item 2164 chrome/browser/download/download_target_determiner_unittest.cc scoped_ptr<content::MockDownloadItem> item( item 2168 chrome/browser/download/download_target_determiner_unittest.cc item.get()); item 2183 chrome/browser/download/download_target_determiner_unittest.cc GetPathInDownloadDir(kInitialPath), item.get()); item 52 chrome/browser/download/download_test_file_activity_observer.cc virtual void PromptUserForDownloadPath(content::DownloadItem* item, item 62 chrome/browser/download/download_test_file_activity_observer.cc virtual void OpenDownload(content::DownloadItem* item) OVERRIDE {} item 35 chrome/browser/download/download_ui_controller.cc virtual void NotifyDownloadStarting(content::DownloadItem* item) OVERRIDE; item 39 chrome/browser/download/download_ui_controller.cc content::DownloadItem* item) { item 43 chrome/browser/download/download_ui_controller.cc content::DownloadControllerAndroid::Get()->OnDownloadStarted(item); item 57 chrome/browser/download/download_ui_controller.cc virtual void NotifyDownloadStarting(content::DownloadItem* item) OVERRIDE; item 63 chrome/browser/download/download_ui_controller.cc content::DownloadItem* item) { item 64 chrome/browser/download/download_ui_controller.cc content::WebContents* web_contents = item->GetWebContents(); item 76 chrome/browser/download/download_ui_controller.cc browser->ShowDownload(item); item 107 chrome/browser/download/download_ui_controller.cc content::DownloadItem* item) { item 109 chrome/browser/download/download_ui_controller.cc if (item->GetState() != content::DownloadItem::IN_PROGRESS) item 112 chrome/browser/download/download_ui_controller.cc DownloadItemModel(item).SetShouldNotifyUI(true); item 115 chrome/browser/download/download_ui_controller.cc OnDownloadUpdated(manager, item); item 119 chrome/browser/download/download_ui_controller.cc content::DownloadItem* item) { item 122 chrome/browser/download/download_ui_controller.cc if (!DownloadItemModel(item).ShouldNotifyUI()) item 126 chrome/browser/download/download_ui_controller.cc if (item->GetTargetFilePath().empty()) item 131 chrome/browser/download/download_ui_controller.cc DCHECK_NE(content::DownloadItem::COMPLETE, item->GetState()); item 133 chrome/browser/download/download_ui_controller.cc DownloadItemModel(item).SetShouldNotifyUI(false); item 134 chrome/browser/download/download_ui_controller.cc delegate_->NotifyDownloadStarting(item); item 33 chrome/browser/download/download_ui_controller.h virtual void NotifyDownloadStarting(content::DownloadItem* item) = 0; item 50 chrome/browser/download/download_ui_controller.h content::DownloadItem* item) OVERRIDE; item 52 chrome/browser/download/download_ui_controller.h content::DownloadItem* item) OVERRIDE; item 34 chrome/browser/download/download_ui_controller_unittest.cc virtual void NotifyDownloadStarting(content::DownloadItem* item) OVERRIDE; item 43 chrome/browser/download/download_ui_controller_unittest.cc void TestDelegate::NotifyDownloadStarting(content::DownloadItem* item) { item 45 chrome/browser/download/download_ui_controller_unittest.cc *receiver_ = item; item 98 chrome/browser/download/download_ui_controller_unittest.cc scoped_ptr<MockDownloadItem> item( item 100 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, AddObserver(_)) item 102 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, RemoveObserver(_)) item 105 chrome/browser/download/download_ui_controller_unittest.cc return item.Pass(); item 119 chrome/browser/download/download_ui_controller_unittest.cc scoped_ptr<MockDownloadItem> item = GetMockDownload(); item 121 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetTargetFilePath()) item 123 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetState()) item 127 chrome/browser/download/download_ui_controller_unittest.cc manager_observer()->OnDownloadCreated(manager(), item.get()); item 135 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetTargetFilePath()) item 137 chrome/browser/download/download_ui_controller_unittest.cc item_observer()->OnDownloadUpdated(item.get()); item 139 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_EQ(static_cast<content::DownloadItem*>(item.get()), received_item()); item 146 chrome/browser/download/download_ui_controller_unittest.cc scoped_ptr<MockDownloadItem> item = GetMockDownload(); item 148 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetTargetFilePath()) item 150 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetState()) item 154 chrome/browser/download/download_ui_controller_unittest.cc manager_observer()->OnDownloadCreated(manager(), item.get()); item 155 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_EQ(static_cast<content::DownloadItem*>(item.get()), received_item()); item 161 chrome/browser/download/download_ui_controller_unittest.cc scoped_ptr<MockDownloadItem> item = GetMockDownload(); item 163 chrome/browser/download/download_ui_controller_unittest.cc EXPECT_CALL(*item, GetState()) item 167 chrome/browser/download/download_ui_controller_unittest.cc manager_observer()->OnDownloadCreated(manager(), item.get()); item 170 chrome/browser/download/download_ui_controller_unittest.cc item_observer()->OnDownloadUpdated(item.get()); item 58 chrome/browser/download/save_page_browsertest.cc DownloadItem* item, item 86 chrome/browser/download/save_page_browsertest.cc virtual void OnDownloadStored(DownloadItem* item, item 88 chrome/browser/download/save_page_browsertest.cc persisted_ = persisted_ || filter_.Run(item, info); item 122 chrome/browser/download/save_page_browsertest.cc virtual void OnDownloadStored(DownloadItem* item, item 145 chrome/browser/download/save_page_browsertest.cc DownloadItem* item, item 225 chrome/browser/download/save_page_browsertest.cc DownloadManager* manager, DownloadItem* item) OVERRIDE { item 227 chrome/browser/download/save_page_browsertest.cc items_seen_.push_back(item); item 263 chrome/browser/download/save_page_browsertest.cc content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE { item 453 chrome/browser/download/save_page_browsertest.cc content::DownloadItem* item, item 1201 chrome/browser/drive/fake_drive_service.cc base::DictionaryValue* item = NULL; item 1203 chrome/browser/drive/fake_drive_service.cc if (items->GetDictionary(i, &item) && item->GetString("id", &id) && item 294 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; item 295 chrome/browser/extensions/api/commands/command_service.cc bindings->GetDictionary(key, &item); item 298 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kExtension, &old_extension_id); item 299 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kCommandName, &old_command_name); item 377 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; item 378 chrome/browser/extensions/api/commands/command_service.cc it.value().GetAsDictionary(&item); item 381 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kExtension, &extension); item 385 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kCommandName, &command_name); item 394 chrome/browser/extensions/api/commands/command_service.cc item->GetBoolean(kGlobal, &global); item 540 chrome/browser/extensions/api/commands/command_service.cc const base::DictionaryValue* item = NULL; item 541 chrome/browser/extensions/api/commands/command_service.cc it.value().GetAsDictionary(&item); item 544 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kExtension, &extension); item 551 chrome/browser/extensions/api/commands/command_service.cc item->GetString(kCommandName, &command); item 92 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem* item = manager->GetItemById(id); item 94 chrome/browser/extensions/api/context_menus/context_menus_api.cc if (!item || item->extension_id() != extension_id()) { item 175 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<MenuItem> item( item 179 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!item->PopulateURLPatterns( item 194 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h success = menu_manager->AddChildItem(parent->id(), item.release()); item 196 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h success = menu_manager->AddContextItem(extension, item.release()); item 217 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* item = menu_manager->GetItemById(item_id); item 218 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!item || item->extension_id() != extension->id()){ item 225 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::Type type = GetType(update_properties, item->type()); item 227 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (type != item->type()) { item 228 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (type == MenuItem::RADIO || item->type() == MenuItem::RADIO) item 230 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->set_type(type); item 236 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (title.empty() && item->type() != MenuItem::SEPARATOR) { item 240 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->set_title(title); item 247 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->type() != MenuItem::CHECKBOX && item 248 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->type() != MenuItem::RADIO) { item 252 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (checked != item->checked()) { item 253 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!item->SetChecked(checked)) { item 263 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->set_enabled(*update_properties.enabled); item 278 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (contexts != item->contexts()) item 279 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->set_contexts(contexts); item 288 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!parent || !menu_manager->ChangeParent(item->id(), &parent->id())) item 293 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!item->PopulateURLPatterns( item 301 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!parent && radio_item_updated && !menu_manager->ItemUpdated(item->id())) item 329 chrome/browser/extensions/api/developer_private/developer_private_api.cc DeveloperPrivateGetItemsInfoFunction::CreateItemInfo(const Extension& item, item 337 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->id = item.id(); item 338 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->name = item.name(); item 340 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->offline_enabled = OfflineEnabledInfo::IsOfflineEnabled(&item); item 341 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->version = item.VersionString(); item 342 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->description = item.description(); item 344 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (item.is_app()) { item 345 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (item.is_legacy_packaged_app()) item 347 chrome/browser/extensions/api/developer_private/developer_private_api.cc else if (item.is_hosted_app()) item 349 chrome/browser/extensions/api/developer_private/developer_private_api.cc else if (item.is_platform_app()) item 353 chrome/browser/extensions/api/developer_private/developer_private_api.cc } else if (item.is_theme()) { item 355 chrome/browser/extensions/api/developer_private/developer_private_api.cc } else if (item.is_extension()) { item 361 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (Manifest::IsUnpackedLocation(item.location())) { item 363 chrome/browser/extensions/api/developer_private/developer_private_api.cc new std::string(base::UTF16ToUTF8(item.path().LossyDisplayName()))); item 369 chrome/browser/extensions/api/developer_private/developer_private_api.cc const ErrorList& errors = error_console->GetErrorsForExtension(item.id()); item 395 chrome/browser/extensions/api/developer_private/developer_private_api.cc item.install_warnings().begin(); item 396 chrome/browser/extensions/api/developer_private/developer_private_api.cc it != item.install_warnings().end(); item 406 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->incognito_enabled = util::IsIncognitoEnabled(item.id(), GetProfile()); item 407 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->wants_file_access = item.wants_file_access(); item 408 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->allow_file_access = util::AllowFileAccess(item.id(), GetProfile()); item 409 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->allow_reload = Manifest::IsUnpackedLocation(item.location()); item 410 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->is_unpacked = Manifest::IsUnpackedLocation(item.location()); item 411 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->terminated = registry->terminated_extensions().Contains(item.id()); item 412 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->allow_incognito = item.can_be_incognito_enabled(); item 415 chrome/browser/extensions/api/developer_private/developer_private_api.cc ManifestURL::GetHomepageURL(&item).spec())); item 416 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (!ManifestURL::GetOptionsPage(&item).is_empty()) { item 418 chrome/browser/extensions/api/developer_private/developer_private_api.cc new std::string(ManifestURL::GetOptionsPage(&item).spec())); item 421 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (!ManifestURL::GetUpdateURL(&item).is_empty()) { item 423 chrome/browser/extensions/api/developer_private/developer_private_api.cc new std::string(ManifestURL::GetUpdateURL(&item).spec())); item 426 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (item.is_app()) { item 428 chrome/browser/extensions/api/developer_private/developer_private_api.cc extensions::AppLaunchInfo::GetFullLaunchURL(&item).spec())); item 432 chrome/browser/extensions/api/developer_private/developer_private_api.cc UserMayModifySettings(&item, NULL); item 433 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->is_app = item.is_app(); item 434 chrome/browser/extensions/api/developer_private/developer_private_api.cc info->views = GetInspectablePagesForExtension(&item, item_is_enabled); item 626 chrome/browser/extensions/api/developer_private/developer_private_api.cc const Extension& item = *iter->get(); item 629 chrome/browser/extensions/api/developer_private/developer_private_api.cc IconsInfo::GetIconResource(&item, item 632 chrome/browser/extensions/api/developer_private/developer_private_api.cc id_to_icon[item.id()] = item_resource; item 635 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (item.ShouldNotBeVisible()) item 640 chrome/browser/extensions/api/developer_private/developer_private_api.cc item, service->IsExtensionEnabled(item.id())).release())); item 169 chrome/browser/extensions/api/developer_private/developer_private_api.h scoped_ptr<developer::ItemInfo> CreateItemInfo(const Extension& item, item 944 chrome/browser/extensions/api/downloads/downloads_api.cc content::DownloadItem* item) { item 945 chrome/browser/extensions/api/downloads/downloads_api.cc base::SupportsUserData::Data* data = item->GetUserData(kKey); item 951 chrome/browser/extensions/api/downloads/downloads_api.cc content::DownloadItem* item, item 956 chrome/browser/extensions/api/downloads/downloads_api.cc item->SetUserData(kKey, this); item 1044 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadItem* item, item 1047 chrome/browser/extensions/api/downloads/downloads_api.cc VLOG(1) << __FUNCTION__ << " " << item << " " << interrupt_reason; item 1048 chrome/browser/extensions/api/downloads/downloads_api.cc if (item) { item 1050 chrome/browser/extensions/api/downloads/downloads_api.cc SetResult(new base::FundamentalValue(static_cast<int>(item->GetId()))); item 1053 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData::Get(item); item 1056 chrome/browser/extensions/api/downloads/downloads_api.cc item, item 1063 chrome/browser/extensions/api/downloads/downloads_api.cc item, GetExtension()->id(), GetExtension()->name()); item 1064 chrome/browser/extensions/api/downloads/downloads_api.cc item->UpdateObservers(); item 1581 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadItem* item, item 1587 chrome/browser/extensions/api/downloads/downloads_api.cc ExtensionDownloadsEventRouterData::Get(item); item 1596 chrome/browser/extensions/api/downloads/downloads_api.cc item, profile_).release(); item 1670 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadItem* item = GetDownload(profile, include_incognito, download_id); item 1672 chrome/browser/extensions/api/downloads/downloads_api.cc item ? ExtensionDownloadsEventRouterData::Get(item) : NULL; item 1677 chrome/browser/extensions/api/downloads/downloads_api.cc if (InvalidId(item, error) || item 1678 chrome/browser/extensions/api/downloads/downloads_api.cc Fault(item->GetState() != DownloadItem::IN_PROGRESS, item 72 chrome/browser/extensions/api/downloads/downloads_api.h static DownloadedByExtension* Get(content::DownloadItem* item); item 74 chrome/browser/extensions/api/downloads/downloads_api.h DownloadedByExtension(content::DownloadItem* item, item 103 chrome/browser/extensions/api/downloads/downloads_api.h content::DownloadItem* item, item 353 chrome/browser/extensions/api/downloads/downloads_api.h content::DownloadItem* item, item 356 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item, item 368 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId(), item 425 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetOnRecordManager()->CreateDownloadItem( item 437 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc items->push_back(item); item 657 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc bool ItemNotInProgress(DownloadItem* item) { item 658 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return item->GetState() != DownloadItem::IN_PROGRESS; item 665 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc explicit ScopedCancellingItem(DownloadItem* item) : item_(item) {} item 687 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc for (DownloadManager::DownloadVector::const_iterator item = items_->begin(); item 688 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item != items_->end(); ++item) { item 689 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc if ((*item)->GetState() == DownloadItem::IN_PROGRESS) item 690 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc (*item)->Cancel(true); item 692 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc (*item), base::Bind(&ItemNotInProgress)); item 767 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc virtual bool IsDownloadInFinalState(DownloadItem* item) OVERRIDE { item 768 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return item->GetState() == DownloadItem::IN_PROGRESS; item 774 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc bool ItemIsInterrupted(DownloadItem* item) { item 775 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return item->GetState() == DownloadItem::INTERRUPTED; item 1077 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem item(CreateSlowTestDownload()); item 1078 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item.get()); item 1474 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1475 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1476 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1477 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1518 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1519 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1520 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1521 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1629 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1630 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1631 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1632 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1726 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1727 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1728 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1729 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1767 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1768 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1769 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1770 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1819 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1820 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1821 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1822 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1866 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1867 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1868 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1869 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1872 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item, item 1903 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1904 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1905 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1906 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1951 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1952 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1953 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1954 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 1957 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item, item 1992 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 1993 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 1994 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 1995 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2033 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2034 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2035 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2036 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2082 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2083 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2084 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2085 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2088 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item, item 2123 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2124 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2125 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2126 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2129 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item, item 2160 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2161 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2162 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2163 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2174 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->Cancel(true); item 2210 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2211 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2212 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2213 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2236 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_TRUE(base::ReadFileToString(item->GetTargetFilePath(), &disk_data)); item 2257 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2258 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2259 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2260 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2277 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2278 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2325 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2326 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2327 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2328 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2344 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2345 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2366 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->ValidateDangerousDownload(); item 2380 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetTargetFilePath()); item 2400 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2401 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2402 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2403 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2419 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2420 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2465 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2466 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2467 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2468 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2484 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2485 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2530 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2531 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2532 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2533 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2549 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2550 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2602 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2603 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2604 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2605 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2621 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2622 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2667 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2668 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2669 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2670 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2686 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2687 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2732 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2733 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2734 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2735 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2751 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2752 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2797 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2798 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2799 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2800 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2816 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2817 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2863 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2864 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2865 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2866 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2882 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2883 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2929 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 2930 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2931 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 2932 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 2947 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 2948 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 2983 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item = GetCurrentManager()->GetDownload(result_id); item 2984 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 2985 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller2(item); item 2986 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3002 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3003 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3054 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 3055 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3056 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 3057 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3073 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3074 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3109 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 3110 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3111 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 3112 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3130 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3131 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3168 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item = GetCurrentManager()->GetDownload(result_id); item 3169 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3170 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller2(item); item 3171 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3189 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3190 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3243 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 3244 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3245 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 3246 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3264 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3265 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3302 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item = GetCurrentManager()->GetDownload(result_id); item 3303 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3304 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller2(item); item 3305 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(download_url, item->GetOriginalUrl().spec()); item 3322 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3323 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3376 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = NULL; item 3399 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc EXPECT_EQ(NULL, item); item 3400 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item = *iter; item 3403 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3405 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 3414 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId()))); item 3420 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId()))); item 3421 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->GetTargetFilePath().empty()); item 3422 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 3438 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId(), item 3448 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId(), item 3451 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc content::DownloadUpdatedObserver interrupted(item, base::Bind( item 3460 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId()))); item 3466 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->Resume(); item 3479 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId()))); item 3490 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item->GetId()))); item 3540 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item = GetCurrentManager()->GetDownload(result_id); item 3541 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item); item 3548 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ASSERT_TRUE(item->IsDangerous()); item 3549 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc ScopedCancellingItem canceller(item); item 312 chrome/browser/extensions/api/notifications/notifications_api.cc message_center::NotificationItem item( item 315 chrome/browser/extensions/api/notifications/notifications_api.cc optional_fields.items.push_back(item); item 423 chrome/browser/extensions/api/notifications/notifications_api.cc message_center::NotificationItem item( item 426 chrome/browser/extensions/api/notifications/notifications_api.cc items.push_back(item); item 232 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc BundleInstaller::Item item; item 233 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc item.id = params.details[i]->id; item 234 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc item.manifest = params.details[i]->manifest; item 235 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc item.localized_name = params.details[i]->localized_name; item 236 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc items->push_back(item); item 136 chrome/browser/extensions/api/webview/webview_api.cc MenuItem* item = menu_manager->GetItemById(id); item 138 chrome/browser/extensions/api/webview/webview_api.cc if (!item || item->id().extension_key != id.extension_key) { item 43 chrome/browser/extensions/bundle_installer.cc scoped_refptr<Extension> CreateDummyExtension(const BundleInstaller::Item& item, item 47 chrome/browser/extensions/bundle_installer.cc CHECK(!item.localized_name.empty()); item 54 chrome/browser/extensions/bundle_installer.cc item.id, item 71 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = items[0]; item 72 chrome/browser/extensions/context_menu_matcher.cc extension_item_map_[menu_id] = item->id(); item 73 chrome/browser/extensions/context_menu_matcher.cc title = item->TitleWithReplacement(selection_text, item 75 chrome/browser/extensions/context_menu_matcher.cc submenu_items = GetRelevantExtensionItems(item->children(), item 114 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = items[0]; item 115 chrome/browser/extensions/context_menu_matcher.cc title = item->TitleWithReplacement( item 122 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); item 123 chrome/browser/extensions/context_menu_matcher.cc if (!item) item 125 chrome/browser/extensions/context_menu_matcher.cc return item->checked(); item 129 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); item 130 chrome/browser/extensions/context_menu_matcher.cc if (!item) item 132 chrome/browser/extensions/context_menu_matcher.cc return item->enabled(); item 138 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); item 139 chrome/browser/extensions/context_menu_matcher.cc if (!item) item 143 chrome/browser/extensions/context_menu_matcher.cc manager->ExecuteCommand(profile_, web_contents, params, item->id()); item 177 chrome/browser/extensions/context_menu_matcher.cc const MenuItem* item = *i; item 179 chrome/browser/extensions/context_menu_matcher.cc if (!filter_.Run(item)) item 182 chrome/browser/extensions/context_menu_matcher.cc if (item->id().incognito == profile_->IsOffTheRecord() || item 201 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = *i; item 206 chrome/browser/extensions/context_menu_matcher.cc item->type() != MenuItem::RADIO) { item 214 chrome/browser/extensions/context_menu_matcher.cc extension_item_map_[menu_id] = item->id(); item 215 chrome/browser/extensions/context_menu_matcher.cc base::string16 title = item->TitleWithReplacement(selection_text, item 217 chrome/browser/extensions/context_menu_matcher.cc if (item->type() == MenuItem::NORMAL) { item 219 chrome/browser/extensions/context_menu_matcher.cc GetRelevantExtensionItems(item->children(), can_cross_incognito); item 229 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::CHECKBOX) { item 231 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::RADIO) { item 241 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::SEPARATOR) { item 244 chrome/browser/extensions/context_menu_matcher.cc last_type = item->type(); item 253 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = manager->GetItemById(i->second); item 254 chrome/browser/extensions/context_menu_matcher.cc if (item) item 255 chrome/browser/extensions/context_menu_matcher.cc return item; item 264 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem* item = items.at(0); item 265 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_GT(item->title().size(), limit); item 274 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(GetItemLabel(menu.get(), item->id(), &label)); item 82 chrome/browser/extensions/menu_manager.cc MenuItem* item = MenuItem::Populate( item 84 chrome/browser/extensions/menu_manager.cc if (!item) item 86 chrome/browser/extensions/menu_manager.cc items.push_back(item); item 191 chrome/browser/extensions/menu_manager.cc void MenuItem::AddChild(MenuItem* item) { item 192 chrome/browser/extensions/menu_manager.cc item->parent_id_.reset(new Id(id_)); item 193 chrome/browser/extensions/menu_manager.cc children_.push_back(item); item 346 chrome/browser/extensions/menu_manager.cc bool MenuManager::AddContextItem(const Extension* extension, MenuItem* item) { item 347 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& key = item->id().extension_key; item 350 chrome/browser/extensions/menu_manager.cc if (key.empty() || ContainsKey(items_by_id_, item->id())) item 356 chrome/browser/extensions/menu_manager.cc context_items_[key].push_back(item); item 357 chrome/browser/extensions/menu_manager.cc items_by_id_[item->id()] = item; item 359 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::RADIO) { item 360 chrome/browser/extensions/menu_manager.cc if (item->checked()) item 361 chrome/browser/extensions/menu_manager.cc RadioItemSelected(item); item 389 chrome/browser/extensions/menu_manager.cc bool MenuManager::DescendantOf(MenuItem* item, item 392 chrome/browser/extensions/menu_manager.cc MenuItem::Id* id = item->parent_id(); item 394 chrome/browser/extensions/menu_manager.cc DCHECK(*id != item->id()); // Catch circular graphs. item 524 chrome/browser/extensions/menu_manager.cc MenuItem* item = *i; item 525 chrome/browser/extensions/menu_manager.cc items_by_id_.erase(item->id()); item 528 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id> removed_ids = item->RemoveAllDescendants(); item 548 chrome/browser/extensions/menu_manager.cc void MenuManager::RadioItemSelected(MenuItem* item) { item 552 chrome/browser/extensions/menu_manager.cc if (item->parent_id()) { item 553 chrome/browser/extensions/menu_manager.cc MenuItem* parent = GetItemById(*item->parent_id()); item 560 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& key = item->id().extension_key; item 572 chrome/browser/extensions/menu_manager.cc if (*item_location == item) item 615 chrome/browser/extensions/menu_manager.cc MenuItem* item = GetItemById(menu_item_id); item 616 chrome/browser/extensions/menu_manager.cc if (!item) item 623 chrome/browser/extensions/menu_manager.cc service ? service->extensions()->GetByID(item->extension_id()) : NULL; item 625 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::RADIO) item 626 chrome/browser/extensions/menu_manager.cc RadioItemSelected(item); item 631 chrome/browser/extensions/menu_manager.cc SetIdKeyValue(properties, "menuItemId", item->id()); item 632 chrome/browser/extensions/menu_manager.cc if (item->parent_id()) item 633 chrome/browser/extensions/menu_manager.cc SetIdKeyValue(properties, "parentMenuItemId", *item->parent_id()); item 679 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::CHECKBOX || item 680 chrome/browser/extensions/menu_manager.cc item->type() == MenuItem::RADIO) { item 681 chrome/browser/extensions/menu_manager.cc bool was_checked = item->checked(); item 687 chrome/browser/extensions/menu_manager.cc (item->type() == MenuItem::RADIO) ? true : !was_checked; item 689 chrome/browser/extensions/menu_manager.cc item->SetChecked(checked); item 690 chrome/browser/extensions/menu_manager.cc properties->SetBoolean("checked", item->checked()); item 693 chrome/browser/extensions/menu_manager.cc WriteToStorage(extension, item->id().extension_key); item 710 chrome/browser/extensions/menu_manager.cc event_router->DispatchEventToExtension(item->extension_id(), event.Pass()); item 722 chrome/browser/extensions/menu_manager.cc event_router->DispatchEventToExtension(item->extension_id(), event.Pass()); item 217 chrome/browser/extensions/menu_manager.h void AddChild(MenuItem* item); item 294 chrome/browser/extensions/menu_manager.h bool AddContextItem(const Extension* extension, MenuItem* item); item 359 chrome/browser/extensions/menu_manager.h void RadioItemSelected(MenuItem* item); item 368 chrome/browser/extensions/menu_manager.h bool DescendantOf(MenuItem* item, const MenuItem::Id& ancestor_id); item 246 chrome/browser/extensions/menu_manager_unittest.cc scoped_ptr<MenuItem> item(MenuItem::Populate(extension->id(), value, &error)); item 247 chrome/browser/extensions/menu_manager_unittest.cc ASSERT_TRUE(item.get()); item 249 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(extension->id(), item->extension_id()); item 250 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(incognito, item->incognito()); item 251 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(title, item->title()); item 252 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(checked, item->checked()); item 253 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(item->checked(), item->checked()); item 254 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(enabled, item->enabled()); item 255 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(contexts, item->contexts()); item 262 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(document_url_pattern_set, item->document_url_patterns()); item 269 chrome/browser/extensions/menu_manager_unittest.cc EXPECT_EQ(target_url_pattern_set, item->target_url_patterns()); item 576 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item = CreateTestItem(extension); item 578 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id = item->id(); item 580 chrome/browser/extensions/menu_manager_unittest.cc ASSERT_TRUE(manager_.AddChildItem(parent->id(), item)); item 588 chrome/browser/extensions/menu_manager_unittest.cc DispatchEventToExtensionMock(item->extension_id(), item 598 chrome/browser/extensions/menu_manager_unittest.cc item->extension_id(), item 187 chrome/browser/extensions/webstore_installer.cc content::DownloadItem* item) { item 192 chrome/browser/extensions/webstore_installer.cc content::DownloadItem* item) { item 422 chrome/browser/extensions/webstore_installer.cc DownloadItem* item, item 424 chrome/browser/extensions/webstore_installer.cc if (!item) { item 433 chrome/browser/extensions/webstore_installer.cc download_item_ = item; item 81 chrome/browser/extensions/webstore_installer.h content::DownloadItem* item); item 83 chrome/browser/extensions/webstore_installer.h content::DownloadItem* item); item 211 chrome/browser/extensions/webstore_installer.h void OnDownloadStarted(content::DownloadItem* item, item 93 chrome/browser/first_run/first_run.cc virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {} item 94 chrome/browser/first_run/first_run.cc virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {} item 89 chrome/browser/geolocation/access_token_store_browsertest.cc AccessTokenStore::AccessTokenSet::const_iterator item = item 92 chrome/browser/geolocation/access_token_store_browsertest.cc EXPECT_TRUE(item == access_token_set.end()); item 94 chrome/browser/geolocation/access_token_store_browsertest.cc EXPECT_FALSE(item == access_token_set.end()); item 95 chrome/browser/geolocation/access_token_store_browsertest.cc EXPECT_EQ(*token_to_expect_, item->second); item 57 chrome/browser/history/most_visited_tiles_experiment_unittest.cc InstantMostVisitedItem item; item 58 chrome/browser/history/most_visited_tiles_experiment_unittest.cc item.url = GURL(url_string); item 59 chrome/browser/history/most_visited_tiles_experiment_unittest.cc list->push_back(item); item 375 chrome/browser/history/url_index_private_data.cc bool operator()(const std::pair<const HistoryID, HistoryInfoMapValue>& item) { item 376 chrome/browser/history/url_index_private_data.cc return item.second.url_row.url() == url_; item 65 chrome/browser/importer/external_process_importer_client.h void OnImportItemStart(int item); item 66 chrome/browser/importer/external_process_importer_client.h void OnImportItemFinished(int item); item 74 chrome/browser/importer/external_process_importer_host.cc importer::ImportItem item) { item 76 chrome/browser/importer/external_process_importer_host.cc observer_->ImportItemStarted(item); item 80 chrome/browser/importer/external_process_importer_host.cc importer::ImportItem item) { item 82 chrome/browser/importer/external_process_importer_host.cc observer_->ImportItemEnded(item); item 68 chrome/browser/importer/external_process_importer_host.h void NotifyImportItemStarted(importer::ImportItem item); item 69 chrome/browser/importer/external_process_importer_host.h void NotifyImportItemEnded(importer::ImportItem item); item 113 chrome/browser/importer/firefox_importer_browsertest.cc virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {} item 114 chrome/browser/importer/firefox_importer_browsertest.cc virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {} item 216 chrome/browser/importer/ie_importer_browsertest_win.cc base::win::ScopedComPtr<IEnumPStoreItems, NULL> item; item 217 chrome/browser/importer/ie_importer_browsertest_win.cc HRESULT result = pstore->EnumItems(0, type, subtype, 0, item.Receive()); item 220 chrome/browser/importer/ie_importer_browsertest_win.cc while (SUCCEEDED(item->Next(1, &item_name, 0))) { item 277 chrome/browser/importer/ie_importer_browsertest_win.cc virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {} item 278 chrome/browser/importer/ie_importer_browsertest_win.cc virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {} item 413 chrome/browser/importer/ie_importer_browsertest_win.cc virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {} item 414 chrome/browser/importer/ie_importer_browsertest_win.cc virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {} item 20 chrome/browser/importer/importer_progress_observer.h virtual void ImportItemStarted(ImportItem item) = 0; item 24 chrome/browser/importer/importer_progress_observer.h virtual void ImportItemEnded(ImportItem item) = 0; item 261 chrome/browser/importer/in_process_importer_bridge.cc void InProcessImporterBridge::NotifyItemStarted(importer::ImportItem item) { item 265 chrome/browser/importer/in_process_importer_bridge.cc host_, item)); item 268 chrome/browser/importer/in_process_importer_bridge.cc void InProcessImporterBridge::NotifyItemEnded(importer::ImportItem item) { item 272 chrome/browser/importer/in_process_importer_bridge.cc host_, item)); item 65 chrome/browser/importer/in_process_importer_bridge.h virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; item 66 chrome/browser/importer/in_process_importer_bridge.h virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; item 24 chrome/browser/jumplist_updater_win.cc scoped_refptr<ShellLinkItem> item) { item 43 chrome/browser/jumplist_updater_win.cc std::wstring arguments(item->GetArguments()); item 53 chrome/browser/jumplist_updater_win.cc if (!item->icon_path().empty()) item 54 chrome/browser/jumplist_updater_win.cc link->SetIconLocation(item->icon_path().c_str(), item->icon_index()); item 69 chrome/browser/jumplist_updater_win.cc item->title().c_str())) { item 219 chrome/browser/jumplist_updater_win.cc for (ShellLinkItemList::const_iterator item = link_items.begin(); item 220 chrome/browser/jumplist_updater_win.cc item != link_items.end() && max_items > 0; ++item, --max_items) { item 221 chrome/browser/jumplist_updater_win.cc scoped_refptr<ShellLinkItem> link(*item); item 471 chrome/browser/jumplist_win.cc for (ShellLinkItemList::const_iterator item = item_list.begin(); item 472 chrome/browser/jumplist_win.cc item != item_list.end(); ++item) { item 474 chrome/browser/jumplist_win.cc if (CreateIconFile((*item)->icon_data(), icon_dir_, &icon_path)) item 475 chrome/browser/jumplist_win.cc (*item)->set_icon(icon_path.value(), 0); item 179 chrome/browser/lifetime/browser_close_manager_browsertest.cc content::DownloadItem* item, item 184 chrome/browser/lifetime/browser_close_manager_browsertest.cc item, dangerous_callback); item 40 chrome/browser/mac/security_wrappers.cc CrSKeychainItemAndAccess::CrSKeychainItemAndAccess(SecKeychainItemRef item, item 42 chrome/browser/mac/security_wrappers.cc : item_(item), item 130 chrome/browser/mac/security_wrappers.cc SecKeychainItemRef item; item 131 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainSearchCopyNext(search, &item); item 139 chrome/browser/mac/security_wrappers.cc return item; item 151 chrome/browser/mac/security_wrappers.cc bool CrSKeychainItemTestAccess(SecKeychainItemRef item) { item 154 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainItemCopyAttributesAndData(item, item 172 chrome/browser/mac/security_wrappers.cc SecAccessRef CrSKeychainItemCopyAccess(SecKeychainItemRef item) { item 174 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainItemCopyAccess(item, &access); item 288 chrome/browser/mac/security_wrappers.cc SecKeychainRef CrSKeychainItemCopyKeychain(SecKeychainItemRef item) { item 290 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainItemCopyKeychain(item, &keychain); item 316 chrome/browser/mac/security_wrappers.cc SecKeychainItemRef item) { item 320 chrome/browser/mac/security_wrappers.cc SecKeychainItemCopyAttributesAndData(item, item 365 chrome/browser/mac/security_wrappers.cc item, item 379 chrome/browser/mac/security_wrappers.cc bool CrSKeychainItemDelete(SecKeychainItemRef item) { item 380 chrome/browser/mac/security_wrappers.cc OSStatus status = SecKeychainItemDelete(item); item 393 chrome/browser/mac/security_wrappers.cc SecKeychainItemRef item; item 401 chrome/browser/mac/security_wrappers.cc &item); item 407 chrome/browser/mac/security_wrappers.cc return item; item 37 chrome/browser/mac/security_wrappers.h CrSKeychainItemAndAccess(SecKeychainItemRef item, SecAccessRef access); item 44 chrome/browser/mac/security_wrappers.h SecKeychainItemRef item() const { return item_; } item 164 chrome/browser/mac/security_wrappers.h bool CrSKeychainItemTestAccess(SecKeychainItemRef item); item 170 chrome/browser/mac/security_wrappers.h SecAccessRef CrSKeychainItemCopyAccess(SecKeychainItemRef item); item 205 chrome/browser/mac/security_wrappers.h SecKeychainRef CrSKeychainItemCopyKeychain(SecKeychainItemRef item); item 217 chrome/browser/mac/security_wrappers.h SecKeychainItemRef item); item 220 chrome/browser/mac/security_wrappers.h bool CrSKeychainItemDelete(SecKeychainItemRef item); item 110 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc MockKeyringItem* item = &mock_keyring_items.back(); item 121 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes[name] = item 124 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc << ", value '" << item->attributes[name].value_string << "'"; item 126 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes[name] = item 129 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc << ", value " << item->attributes[name].value_uint32; item 137 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes.find("application"); item 138 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc if (it != item->attributes.end() && item 178 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc const MockKeyringItem* item = &mock_keyring_items[i - 1]; item 179 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc if (item->Matches(query)) { item 180 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc VLOG(1) << "Deleting item with origin " << item->display_name; item 218 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc const MockKeyringItem* item = &mock_keyring_items[i]; item 219 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc if (item->Matches(query)) { item 221 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc found->keyring = strdup(item->keyring.c_str()); item 225 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes.begin(); item 226 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc it != item->attributes.end(); item 238 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc found->secret = strdup(item->password.c_str()); item 346 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc void CheckUint32Attribute(const MockKeyringItem* item, item 350 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes.find(attribute); item 351 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_NE(item->attributes.end(), it); item 352 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc if (it != item->attributes.end()) { item 358 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc void CheckStringAttribute(const MockKeyringItem* item, item 362 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc item->attributes.find(attribute); item 363 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_NE(item->attributes.end(), it); item 364 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc if (it != item->attributes.end()) { item 370 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc void CheckMockKeyringItem(const MockKeyringItem* item, item 374 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_EQ("login", item->keyring); item 375 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_EQ(form.origin.spec(), item->display_name); item 376 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_EQ(UTF16ToUTF8(form.password_value), item->password); item 377 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc EXPECT_EQ(15u, item->attributes.size()); item 378 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "origin_url", form.origin.spec()); item 379 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "action_url", form.action.spec()); item 380 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "username_element", item 382 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "username_value", item 384 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "password_element", item 386 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "submit_element", item 388 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "signon_realm", form.signon_realm); item 389 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "ssl_valid", form.ssl_valid); item 390 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "preferred", form.preferred); item 392 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "blacklisted_by_user", form.blacklisted_by_user); item 393 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "type", form.type); item 394 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "times_used", form.times_used); item 395 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckUint32Attribute(item, "scheme", form.scheme); item 396 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc CheckStringAttribute(item, "application", app_string); item 158 chrome/browser/plugins/plugin_installer.cc content::DownloadItem* item, item 160 chrome/browser/plugins/plugin_installer.cc if (!item) { item 170 chrome/browser/plugins/plugin_installer.cc item->SetOpenWhenComplete(true); item 171 chrome/browser/plugins/plugin_installer.cc item->AddObserver(this); item 55 chrome/browser/plugins/plugin_installer.h void DownloadStarted(content::DownloadItem* item, item 120 chrome/browser/profiles/avatar_menu.cc const Item& item = GetItemAt(index); item 124 chrome/browser/profiles/avatar_menu.cc if (item.signin_required) { item 125 chrome/browser/profiles/avatar_menu.cc chrome::ShowUserManager(item.profile_path); item 131 chrome/browser/profiles/avatar_menu.cc profile_info_->GetPathOfProfileAtIndex(item.profile_index); item 56 chrome/browser/profiles/profile_list_desktop.cc AvatarMenu::Item* item = new AvatarMenu::Item(i - omitted_item_count_, item 59 chrome/browser/profiles/profile_list_desktop.cc item->name = profile_info_->GetNameOfProfileAtIndex(i); item 60 chrome/browser/profiles/profile_list_desktop.cc item->sync_state = profile_info_->GetUserNameOfProfileAtIndex(i); item 61 chrome/browser/profiles/profile_list_desktop.cc item->profile_path = profile_info_->GetPathOfProfileAtIndex(i); item 62 chrome/browser/profiles/profile_list_desktop.cc item->managed = profile_info_->ProfileIsManagedAtIndex(i); item 63 chrome/browser/profiles/profile_list_desktop.cc item->signed_in = !item->sync_state.empty(); item 64 chrome/browser/profiles/profile_list_desktop.cc if (!item->signed_in) { item 65 chrome/browser/profiles/profile_list_desktop.cc item->sync_state = l10n_util::GetStringUTF16( item 66 chrome/browser/profiles/profile_list_desktop.cc item->managed ? IDS_MANAGED_USER_AVATAR_LABEL : item 69 chrome/browser/profiles/profile_list_desktop.cc item->active = profile_info_->GetPathOfProfileAtIndex(i) == item 71 chrome/browser/profiles/profile_list_desktop.cc item->signin_required = profile_info_->ProfileIsSigninRequiredAtIndex(i); item 72 chrome/browser/profiles/profile_list_desktop.cc items_.push_back(item); item 90 chrome/browser/profiles/profile_list_desktop.cc const AvatarMenu::Item item = GetItemAt(i); item 91 chrome/browser/profiles/profile_list_desktop.cc if (item.profile_index == index) item 506 chrome/browser/renderer_context_menu/render_view_context_menu.cc const extensions::MenuItem* item) { item 507 chrome/browser/renderer_context_menu/render_view_context_menu.cc bool match = ExtensionContextAndPatternMatch(params, item->contexts(), item 508 chrome/browser/renderer_context_menu/render_view_context_menu.cc item->target_url_patterns()); item 513 chrome/browser/renderer_context_menu/render_view_context_menu.cc return ExtensionPatternMatch(item->document_url_patterns(), document_url); item 202 chrome/browser/renderer_context_menu/render_view_context_menu.h const extensions::MenuItem* item); item 96 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc bool GetMenuItem(size_t i, MockMenuItem* item) const { item 74 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc bool GetMenuItem(size_t i, MockMenuItem* item) const; item 107 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockMenuItem item; item 108 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.command_id = command_id; item 109 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.enabled = observer_->IsCommandIdEnabled(command_id); item 110 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.checked = false; item 111 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.hidden = false; item 112 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.title = title; item 113 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc items_.push_back(item); item 118 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockMenuItem item; item 119 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.command_id = command_id; item 120 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.enabled = observer_->IsCommandIdEnabled(command_id); item 121 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.checked = observer_->IsCommandIdChecked(command_id); item 122 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.hidden = false; item 123 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.title = title; item 124 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc items_.push_back(item); item 128 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockMenuItem item; item 129 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.command_id = -1; item 130 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.enabled = false; item 131 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.checked = false; item 132 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.hidden = false; item 133 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc items_.push_back(item); item 139 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockMenuItem item; item 140 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.command_id = -1; item 141 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.enabled = false; item 142 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.checked = false; item 143 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item.hidden = false; item 144 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc items_.push_back(item); item 183 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockMenuItem* item) const { item 186 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item->command_id = items_[i].command_id; item 187 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item->enabled = items_[i].enabled; item 188 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item->checked = items_[i].checked; item 189 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item->hidden = items_[i].hidden; item 190 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc item->title = items_[i].title; item 269 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 270 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 271 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS, item.command_id); item 272 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 273 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 274 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); item 275 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_SPELLCHECK_ADD_TO_DICTIONARY, item.command_id); item 276 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.enabled); item 277 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 278 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); item 279 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_SPELLING_TOGGLE, item.command_id); item 280 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.enabled); item 281 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.checked); item 282 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 283 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(3, &item); item 284 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 285 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 286 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 315 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 316 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); item 317 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_SPELLING_TOGGLE, item.command_id); item 318 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.enabled); item 319 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.checked); item 320 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 342 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 343 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 344 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 345 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 346 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 348 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); item 349 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION, item.command_id); item 350 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 351 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 353 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); item 354 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS, item.command_id); item 355 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 356 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 358 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(3, &item); item 359 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 360 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 361 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 380 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 381 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 382 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 383 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 384 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 386 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); item 387 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_SPELLCHECK_SUGGESTION_0, item.command_id); item 388 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.enabled); item 389 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 391 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); item 392 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 393 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 394 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 427 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 428 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 429 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS, item.command_id); item 430 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 431 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 433 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); item 434 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_SPELLCHECK_ADD_TO_DICTIONARY, item.command_id); item 435 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(item.enabled); item 436 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 438 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); item 439 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_SPELLING_TOGGLE, item.command_id); item 440 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.enabled); item 441 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(item.hidden); item 453 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu::MockMenuItem item; item 454 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 455 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_NE(-1, item.command_id); item 465 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 466 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 477 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); item 478 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(-1, item.command_id); item 479 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); item 480 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION, item.command_id); item 45 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.h - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item item 115 chrome/browser/renderer_host/web_cache_manager.cc StatsMap::iterator item = stats_.find(renderer_id); item 116 chrome/browser/renderer_host/web_cache_manager.cc if (item == stats_.end()) item 121 chrome/browser/renderer_host/web_cache_manager.cc item->second.access = Time::Now(); item 119 chrome/browser/safe_browsing/download_feedback_service_unittest.cc content::MockDownloadItem item; item 120 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(size)); item 122 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_FALSE(DownloadFeedbackService::IsEnabledForDownload(item)); item 123 chrome/browser/safe_browsing/download_feedback_service_unittest.cc DownloadFeedbackService::MaybeStorePingsForDownload(result, &item, "a", "b"); item 124 chrome/browser/safe_browsing/download_feedback_service_unittest.cc return DownloadFeedbackService::IsEnabledForDownload(item); item 200 chrome/browser/safe_browsing/download_feedback_service_unittest.cc content::MockDownloadItem item; item 201 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item, GetDangerType()) item 203 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(1000)); item 204 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item, StealDangerousDownload(_)) item 210 chrome/browser/safe_browsing/download_feedback_service_unittest.cc DownloadProtectionService::UNCOMMON, &item, ping_request, ping_response); item 211 chrome/browser/safe_browsing/download_feedback_service_unittest.cc ASSERT_TRUE(DownloadFeedbackService::IsEnabledForDownload(item)); item 212 chrome/browser/safe_browsing/download_feedback_service_unittest.cc service.BeginFeedbackForDownload(&item); item 240 chrome/browser/safe_browsing/download_feedback_service_unittest.cc content::MockDownloadItem item[num_downloads]; item 243 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], GetDangerType()) item 245 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], GetReceivedBytes()).WillRepeatedly(Return(1000)); item 246 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], StealDangerousDownload(_)) item 249 chrome/browser/safe_browsing/download_feedback_service_unittest.cc DownloadProtectionService::UNCOMMON, &item[i], ping_request, item 251 chrome/browser/safe_browsing/download_feedback_service_unittest.cc ASSERT_TRUE(DownloadFeedbackService::IsEnabledForDownload(item[i])); item 259 chrome/browser/safe_browsing/download_feedback_service_unittest.cc service.BeginFeedbackForDownload(&item[i]); item 309 chrome/browser/safe_browsing/download_feedback_service_unittest.cc content::MockDownloadItem item[num_downloads]; item 312 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], GetDangerType()) item 314 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], GetReceivedBytes()).WillRepeatedly(Return(1000)); item 315 chrome/browser/safe_browsing/download_feedback_service_unittest.cc EXPECT_CALL(item[i], StealDangerousDownload(_)) item 318 chrome/browser/safe_browsing/download_feedback_service_unittest.cc DownloadProtectionService::UNCOMMON, &item[i], ping_request, item 320 chrome/browser/safe_browsing/download_feedback_service_unittest.cc ASSERT_TRUE(DownloadFeedbackService::IsEnabledForDownload(item[i])); item 328 chrome/browser/safe_browsing/download_feedback_service_unittest.cc service.BeginFeedbackForDownload(&item[i]); item 153 chrome/browser/safe_browsing/download_protection_service.cc const content::DownloadItem& item, item 158 chrome/browser/safe_browsing/download_protection_service.cc : sha256_hash_(item.GetHash()), item 159 chrome/browser/safe_browsing/download_protection_service.cc url_chain_(item.GetUrlChain()), item 160 chrome/browser/safe_browsing/download_protection_service.cc referrer_url_(item.GetReferrerUrl()), item 233 chrome/browser/safe_browsing/download_protection_service.cc const content::DownloadItem& item, item 237 chrome/browser/safe_browsing/download_protection_service.cc : DownloadSBClient(item, callback, ui_manager, item 281 chrome/browser/safe_browsing/download_protection_service.cc content::DownloadItem* item, item 286 chrome/browser/safe_browsing/download_protection_service.cc : item_(item), item 287 chrome/browser/safe_browsing/download_protection_service.cc url_chain_(item->GetUrlChain()), item 288 chrome/browser/safe_browsing/download_protection_service.cc referrer_url_(item->GetReferrerUrl()), item 289 chrome/browser/safe_browsing/download_protection_service.cc tab_url_(item->GetTabUrl()), item 290 chrome/browser/safe_browsing/download_protection_service.cc tab_referrer_url_(item->GetTabReferrerUrl()), item 452 chrome/browser/safe_browsing/download_protection_service.cc static bool IsSupportedDownload(const content::DownloadItem& item, item 456 chrome/browser/safe_browsing/download_protection_service.cc if (item.GetUrlChain().empty()) { item 460 chrome/browser/safe_browsing/download_protection_service.cc const GURL& final_url = item.GetUrlChain().back(); item 883 chrome/browser/safe_browsing/download_protection_service.cc content::DownloadItem* item, item 886 chrome/browser/safe_browsing/download_protection_service.cc new CheckClientDownloadRequest(item, callback, this, item 894 chrome/browser/safe_browsing/download_protection_service.cc const content::DownloadItem& item, item 896 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(!item.GetUrlChain().empty()); item 898 chrome/browser/safe_browsing/download_protection_service.cc new DownloadUrlSBClient(item, callback, ui_manager_, database_manager_)); item 907 chrome/browser/safe_browsing/download_protection_service.cc const content::DownloadItem& item, item 916 chrome/browser/safe_browsing/download_protection_service.cc return (CheckClientDownloadRequest::IsSupportedDownload(item, target_path, item 949 chrome/browser/safe_browsing/download_protection_service.cc const content::DownloadItem& item, item 68 chrome/browser/safe_browsing/download_protection_service.h virtual void CheckClientDownload(content::DownloadItem* item, item 76 chrome/browser/safe_browsing/download_protection_service.h virtual void CheckDownloadUrl(const content::DownloadItem& item, item 81 chrome/browser/safe_browsing/download_protection_service.h virtual bool IsSupportedDownload(const content::DownloadItem& item, item 87 chrome/browser/safe_browsing/download_protection_service.h void ShowDetailsForDownload(const content::DownloadItem& item, item 367 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 368 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)); item 369 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)); item 370 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 371 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 372 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 373 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 374 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 375 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 378 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 383 chrome/browser/safe_browsing/download_protection_service_unittest.cc Mock::VerifyAndClearExpectations(&item); item 386 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)); item 387 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)); item 388 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 389 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 390 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 391 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 392 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 393 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 396 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 419 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 420 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(4); item 421 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(4); item 422 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 423 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 424 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 425 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 426 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 427 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 429 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 430 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 431 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 432 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 451 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 464 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 477 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 490 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 511 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 512 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)); item 513 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)); item 514 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 515 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 516 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 517 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 518 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 519 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 521 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 522 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 523 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 524 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 533 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 557 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 558 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(6); item 559 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(6); item 560 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 561 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 562 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 563 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 564 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 565 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 567 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 568 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 569 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 570 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 581 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 595 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 603 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, &feedback_ping, &feedback_response)); item 613 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 618 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, &feedback_ping, &feedback_response)); item 633 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 640 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, &feedback_ping, &feedback_response)); item 658 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 665 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, &feedback_ping, &feedback_response)); item 680 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 707 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 708 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 709 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 710 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 711 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); item 712 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 713 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 714 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 715 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 717 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 718 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 719 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 720 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 731 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 762 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 763 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(3); item 764 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(3); item 765 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 766 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_zip)); item 767 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 768 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 769 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 770 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 772 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 773 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 774 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 775 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 788 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 807 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 823 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 846 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 847 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 848 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 849 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 850 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_zip)); item 851 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 852 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 853 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 854 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 856 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 857 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 858 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 859 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 866 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 895 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 896 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 897 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 898 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); item 899 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_crx)); item 900 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 901 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 902 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 903 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 905 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 906 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 907 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 908 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 918 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_FALSE(download_service_->IsSupportedDownload(item, a_crx)); item 920 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 939 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 940 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 941 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 942 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(tmp_path)); item 943 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); item 944 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 945 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 946 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 947 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 949 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 950 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 951 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 952 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return(remote_address)); item 963 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 981 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.GetReceivedBytes(), request.length()); item 982 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.HasUserGesture(), request.user_initiated()); item 1028 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 1029 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 1030 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 1031 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(tmp_path)); item 1032 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); item 1033 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 1034 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 1035 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 1036 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 1038 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 1039 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 1040 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 1041 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return(remote_address)); item 1050 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 1068 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.GetReceivedBytes(), request.length()); item 1069 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.HasUserGesture(), request.user_initiated()); item 1112 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 1113 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(2); item 1114 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(2); item 1115 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(tmp_path)); item 1116 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); item 1117 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 1118 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 1119 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(tab_url)); item 1120 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 1122 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 1123 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 1124 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 1125 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return(remote_address)); item 1126 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetBrowserContext()).WillRepeatedly(Return(&profile)); item 1140 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 1157 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.GetReceivedBytes(), request.length()); item 1158 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.HasUserGesture(), request.user_initiated()); item 1216 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 1232 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.GetReceivedBytes(), request.length()); item 1233 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_EQ(item.HasUserGesture(), request.user_initiated()); item 1282 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 1283 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 1284 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 1285 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 1294 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, item 1306 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, item 1319 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, item 1333 chrome/browser/safe_browsing/download_protection_service_unittest.cc item, item 1350 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 1351 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).Times(1); item 1352 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).Times(1); item 1353 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(tmp_path)); item 1354 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); item 1355 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 1356 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 1357 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 1358 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 1360 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 1361 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 1362 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 1363 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 1374 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 1394 chrome/browser/safe_browsing/download_protection_service_unittest.cc content::MockDownloadItem item; item 1396 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, AddObserver(_)).WillOnce(SaveArg<0>(&observer)); item 1397 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, RemoveObserver(_)).WillOnce(Assign( item 1399 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(tmp_path)); item 1400 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); item 1401 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); item 1402 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); item 1403 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); item 1404 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetTabReferrerUrl()) item 1406 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetHash()).WillRepeatedly(ReturnRef(hash)); item 1407 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100)); item 1408 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, HasUserGesture()).WillRepeatedly(Return(true)); item 1409 chrome/browser/safe_browsing/download_protection_service_unittest.cc EXPECT_CALL(item, GetRemoteAddress()).WillRepeatedly(Return("")); item 1419 chrome/browser/safe_browsing/download_protection_service_unittest.cc &item, item 1424 chrome/browser/safe_browsing/download_protection_service_unittest.cc observer->OnDownloadDestroyed(&item); item 504 chrome/browser/safe_browsing/prefix_set_unittest.cc std::pair<SBPrefix, uint64> item; item 505 chrome/browser/safe_browsing/prefix_set_unittest.cc memset(&item, 0, sizeof(item)); // Includes any padding. item 506 chrome/browser/safe_browsing/prefix_set_unittest.cc item.first = 17; item 507 chrome/browser/safe_browsing/prefix_set_unittest.cc item.second = 0; item 508 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); item 509 chrome/browser/safe_browsing/prefix_set_unittest.cc item.first = 100042; item 510 chrome/browser/safe_browsing/prefix_set_unittest.cc item.second = 1; item 511 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); item 550 chrome/browser/safe_browsing/prefix_set_unittest.cc std::pair<int32, uint32> item; item 551 chrome/browser/safe_browsing/prefix_set_unittest.cc memset(&item, 0, sizeof(item)); // Includes any padding. item 552 chrome/browser/safe_browsing/prefix_set_unittest.cc item.first = -1000; item 553 chrome/browser/safe_browsing/prefix_set_unittest.cc item.second = 0; item 554 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); item 555 chrome/browser/safe_browsing/prefix_set_unittest.cc item.first = 1000; item 556 chrome/browser/safe_browsing/prefix_set_unittest.cc item.second = 1; item 557 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_EQ(sizeof(item), fwrite(&item, 1, sizeof(item), file.get())); item 90 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool ReadItem(T* item, FILE* fp, base::MD5Context* context) { item 91 chrome/browser/safe_browsing/safe_browsing_store_file.cc const size_t ret = fread(item, sizeof(T), 1, fp); item 97 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::StringPiece(reinterpret_cast<char*>(item), item 106 chrome/browser/safe_browsing/safe_browsing_store_file.cc bool WriteItem(const T& item, FILE* fp, base::MD5Context* context) { item 107 chrome/browser/safe_browsing/safe_browsing_store_file.cc const size_t ret = fwrite(&item, sizeof(T), 1, fp); item 113 chrome/browser/safe_browsing/safe_browsing_store_file.cc base::StringPiece(reinterpret_cast<const char*>(&item), item 281 chrome/browser/search/instant_service.cc InstantMostVisitedItem item; item 282 chrome/browser/search/instant_service.cc item.url = url.url; item 283 chrome/browser/search/instant_service.cc item.title = url.title; item 284 chrome/browser/search/instant_service.cc new_most_visited_items.push_back(item); item 868 chrome/browser/sync/profile_sync_service_autofill_unittest.cc MutableEntry item(&trans, CREATE, syncer::AUTOFILL, parent.GetId(), tag); item 869 chrome/browser/sync/profile_sync_service_autofill_unittest.cc ASSERT_TRUE(item.good()); item 870 chrome/browser/sync/profile_sync_service_autofill_unittest.cc item.PutSpecifics(entity_specifics); item 871 chrome/browser/sync/profile_sync_service_autofill_unittest.cc item.PutServerSpecifics(entity_specifics); item 872 chrome/browser/sync/profile_sync_service_autofill_unittest.cc item.PutBaseVersion(1); item 875 chrome/browser/sync/profile_sync_service_autofill_unittest.cc item.PutId(server_item_id); item 877 chrome/browser/sync/profile_sync_service_autofill_unittest.cc ASSERT_TRUE(item.PutPredecessor(new_predecessor)); item 1450 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData& item = data[i]; item 1451 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (item.url) { item 1454 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURLWithCreationTime(node, i, base::WideToUTF16Hack(item.title), item 1455 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GURL(item.url), add_time); item 1457 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(node, i, base::WideToUTF16Hack(item.title)); item 1474 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const TestData& item = data[i]; item 1475 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GURL url = GURL(item.url == NULL ? "" : item.url); item 1477 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc test_node.SetTitle(base::WideToUTF16Hack(item.title)); item 1479 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (item.url) { item 165 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListItem* item = service->model()->top_level_item_list()->item_at(i); item 167 chrome/browser/sync/test/integration/sync_app_list_helper.cc PrintItem(profile, item, label); item 172 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListItem* item, item 176 chrome/browser/sync/test/integration/sync_app_list_helper.cc std::string id = item->id(); item 177 chrome/browser/sync/test/integration/sync_app_list_helper.cc if (item->GetItemType() == AppListFolderItem::kItemType) { item 178 chrome/browser/sync/test/integration/sync_app_list_helper.cc VLOG(1) << label << item->ToDebugString(); item 179 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListFolderItem* folder = static_cast<AppListFolderItem*>(item); item 188 chrome/browser/sync/test/integration/sync_app_list_helper.cc VLOG(1) << label << item->ToDebugString() item 66 chrome/browser/sync/test/integration/sync_app_list_helper.h app_list::AppListItem* item, item 340 chrome/browser/sync_file_system/sync_file_system_service.cc scoped_ptr<base::Value> item; item 341 chrome/browser/sync_file_system/sync_file_system_service.cc itr = v2list->Erase(itr, &item); item 342 chrome/browser/sync_file_system/sync_file_system_service.cc list->Append(item.release()); item 52 chrome/browser/ui/app_list/app_context_menu.cc bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { item 53 chrome/browser/ui/app_list/app_context_menu.cc return item->contexts().Contains(extensions::MenuItem::LAUNCHER); item 40 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListSyncableService::SyncItem* item) { item 41 chrome/browser/ui/app_list/app_list_syncable_service.cc DCHECK_EQ(item->item_id, specifics.item_id()); item 42 chrome/browser/ui/app_list/app_list_syncable_service.cc item->item_type = specifics.item_type(); item 43 chrome/browser/ui/app_list/app_list_syncable_service.cc item->item_name = specifics.item_name(); item 44 chrome/browser/ui/app_list/app_list_syncable_service.cc item->parent_id = specifics.parent_id(); item 46 chrome/browser/ui/app_list/app_list_syncable_service.cc item->page_ordinal = syncer::StringOrdinal(specifics.page_ordinal()); item 48 chrome/browser/ui/app_list/app_list_syncable_service.cc item->item_ordinal = syncer::StringOrdinal(specifics.item_ordinal()); item 73 chrome/browser/ui/app_list/app_list_syncable_service.cc void GetSyncSpecificsFromSyncItem(const AppListSyncableService::SyncItem* item, item 76 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_item_id(item->item_id); item 77 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_item_type(item->item_type); item 78 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_item_name(item->item_name); item 79 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_parent_id(item->parent_id); item 80 chrome/browser/ui/app_list/app_list_syncable_service.cc if (item->page_ordinal.IsValid()) item 81 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_page_ordinal(item->page_ordinal.ToInternalValue()); item 82 chrome/browser/ui/app_list/app_list_syncable_service.cc if (item->item_ordinal.IsValid()) item 83 chrome/browser/ui/app_list/app_list_syncable_service.cc specifics->set_item_ordinal(item->item_ordinal.ToInternalValue()); item 87 chrome/browser/ui/app_list/app_list_syncable_service.cc const AppListSyncableService::SyncItem* item) { item 89 chrome/browser/ui/app_list/app_list_syncable_service.cc GetSyncSpecificsFromSyncItem(item, specifics.mutable_app_list()); item 90 chrome/browser/ui/app_list/app_list_syncable_service.cc return syncer::SyncData::CreateLocalData(item->item_id, item 91 chrome/browser/ui/app_list/app_list_syncable_service.cc item->item_id, item 105 chrome/browser/ui/app_list/app_list_syncable_service.cc bool GetAppListItemType(AppListItem* item, item 107 chrome/browser/ui/app_list/app_list_syncable_service.cc const char* item_type = item->GetItemType(); item 150 chrome/browser/ui/app_list/app_list_syncable_service.cc virtual void OnAppListItemAdded(AppListItem* item) OVERRIDE { item 151 chrome/browser/ui/app_list/app_list_syncable_service.cc DVLOG(2) << owner_ << " OnAppListItemAdded: " << item->ToDebugString(); item 152 chrome/browser/ui/app_list/app_list_syncable_service.cc owner_->AddOrUpdateFromSyncItem(item); item 155 chrome/browser/ui/app_list/app_list_syncable_service.cc virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE { item 156 chrome/browser/ui/app_list/app_list_syncable_service.cc DVLOG(2) << owner_ << " OnAppListItemDeleted: " << item->ToDebugString(); item 157 chrome/browser/ui/app_list/app_list_syncable_service.cc owner_->RemoveSyncItem(item->id()); item 160 chrome/browser/ui/app_list/app_list_syncable_service.cc virtual void OnAppListItemUpdated(AppListItem* item) OVERRIDE { item 161 chrome/browser/ui/app_list/app_list_syncable_service.cc DVLOG(2) << owner_ << " OnAppListItemUpdated: " << item->ToDebugString(); item 162 chrome/browser/ui/app_list/app_list_syncable_service.cc owner_->UpdateSyncItem(item); item 322 chrome/browser/ui/app_list/app_list_syncable_service.cc bool AppListSyncableService::RemoveDefaultApp(AppListItem* item, item 330 chrome/browser/ui/app_list/app_list_syncable_service.cc AppIsDefault(extension_system_->extension_service(), item->id())) { item 333 chrome/browser/ui/app_list/app_list_syncable_service.cc UninstallExtension(extension_system_->extension_service(), item->id()); item 130 chrome/browser/ui/app_list/app_list_syncable_service.h bool RemoveDefaultApp(AppListItem* item, SyncItem* sync_item); item 132 chrome/browser/ui/app_list/extension_app_model_builder.cc ExtensionAppItem* item = GetExtensionAppItem(extension_id); item 133 chrome/browser/ui/app_list/extension_app_model_builder.cc if (!item) item 135 chrome/browser/ui/app_list/extension_app_model_builder.cc item->SetPercentDownloaded(percent_downloaded); item 165 chrome/browser/ui/app_list/extension_app_model_builder.cc ExtensionAppItem* item = GetExtensionAppItem(extension->id()); item 166 chrome/browser/ui/app_list/extension_app_model_builder.cc if (!item) item 168 chrome/browser/ui/app_list/extension_app_model_builder.cc item->UpdateIcon(); item 270 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItem* item = model_->FindItem(extension_id); item 271 chrome/browser/ui/app_list/extension_app_model_builder.cc LOG_IF(ERROR, item && item 272 chrome/browser/ui/app_list/extension_app_model_builder.cc item->GetItemType() != ExtensionAppItem::kItemType) item 274 chrome/browser/ui/app_list/extension_app_model_builder.cc << " has incorrect type: '" << item->GetItemType() << "'"; item 275 chrome/browser/ui/app_list/extension_app_model_builder.cc return static_cast<ExtensionAppItem*>(item); item 282 chrome/browser/ui/app_list/extension_app_model_builder.cc ExtensionAppItem* item = GetExtensionAppItem(highlight_app_id_); item 283 chrome/browser/ui/app_list/extension_app_model_builder.cc if (!item) item 285 chrome/browser/ui/app_list/extension_app_model_builder.cc item->SetHighlighted(true); item 291 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItem* item) { item 296 chrome/browser/ui/app_list/extension_app_model_builder.cc if (item->GetItemType() != ExtensionAppItem::kItemType) item 302 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItem* item = item_list->item_at(idx - 1); item 303 chrome/browser/ui/app_list/extension_app_model_builder.cc if (item->GetItemType() == ExtensionAppItem::kItemType) { item 304 chrome/browser/ui/app_list/extension_app_model_builder.cc prev = static_cast<ExtensionAppItem*>(item); item 310 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItem* item = item_list->item_at(idx + 1); item 311 chrome/browser/ui/app_list/extension_app_model_builder.cc if (item->GetItemType() == ExtensionAppItem::kItemType) { item 312 chrome/browser/ui/app_list/extension_app_model_builder.cc next = static_cast<ExtensionAppItem*>(item); item 318 chrome/browser/ui/app_list/extension_app_model_builder.cc static_cast<ExtensionAppItem*>(item)->Move(prev, next); item 77 chrome/browser/ui/app_list/extension_app_model_builder.h app_list::AppListItem* item) OVERRIDE; item 174 chrome/browser/ui/app_list/fast_show_pickler.cc bool FastShowPickler::PickleAppListItem(Pickle* pickle, AppListItem* item) { item 175 chrome/browser/ui/app_list/fast_show_pickler.cc if (!pickle->WriteString(item->id())) item 177 chrome/browser/ui/app_list/fast_show_pickler.cc if (!pickle->WriteString(item->name())) item 179 chrome/browser/ui/app_list/fast_show_pickler.cc if (!pickle->WriteString(item->short_name())) item 181 chrome/browser/ui/app_list/fast_show_pickler.cc if (!pickle->WriteBool(item->has_shadow())) item 183 chrome/browser/ui/app_list/fast_show_pickler.cc if (!PickleImage(pickle, item->icon())) item 239 chrome/browser/ui/app_list/fast_show_pickler.cc scoped_ptr<AppListItem> item(UnpickleAppListItem(&it).Pass()); item 240 chrome/browser/ui/app_list/fast_show_pickler.cc if (!item) item 242 chrome/browser/ui/app_list/fast_show_pickler.cc std::string folder_id = item->folder_id(); item 243 chrome/browser/ui/app_list/fast_show_pickler.cc model->AddItemToFolder(item.Pass(), folder_id); item 41 chrome/browser/ui/app_list/fast_show_pickler.h static bool PickleAppListItem(Pickle* pickle, app_list::AppListItem* item); item 127 chrome/browser/ui/ash/chrome_shell_delegate.cc ash::ShelfItem* item) { item 133 chrome/browser/ui/ash/chrome_shell_delegate.cc if (item_delegate && item) item 134 chrome/browser/ui/ash/chrome_shell_delegate.cc return new LauncherContextMenu(shelf_delegate_, item_delegate, item, root); item 77 chrome/browser/ui/ash/chrome_shell_delegate.h ash::ShelfItem* item) OVERRIDE; item 211 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc ash::ShelfItem item = item 213 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc return new LauncherContextMenu(launcher_controller(), &item, root_window); item 225 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc ash::ShelfItem item = *(launcher_controller()->model()->ItemByID(shelf_id())); item 226 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc return new LauncherContextMenu(launcher_controller(), &item, root_window); item 227 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc ash::ShelfItem item = item 229 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc return new LauncherContextMenu(launcher_controller(), &item, root_window); item 483 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; item 484 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.status = status; item 485 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); item 524 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; item 526 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type == ash::TYPE_PLATFORM_APP || item 527 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type == ash::TYPE_WINDOWED_APP) { item 528 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type = ash::TYPE_APP_SHORTCUT; item 529 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); item 530 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc } else if (item.type != ash::TYPE_APP_SHORTCUT) { item 744 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; item 745 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.image = image; item 746 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); item 763 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; item 764 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.image = image; item 765 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); item 1067 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item = model_->items()[target_index]; item 1070 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if ((HasItemController(item.id) && IsPinned(item.id)) || item 1072 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type == ash::TYPE_APP_LIST)) item 1218 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item, item 1222 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (!HasItemController(item.id) || item 1223 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc !GetShelfIDForAppID(id_to_item_controller_map_[item.id]->app_id())) item 1226 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return id_to_item_controller_map_[item.id]->GetApplicationList(event_flags); item 1441 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[running_index]; item 1442 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc DCHECK(item.type == ash::TYPE_WINDOWED_APP || item 1443 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type == ash::TYPE_PLATFORM_APP); item 1444 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type = ash::TYPE_APP_SHORTCUT; item 1445 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(running_index, item); item 1458 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; item 1459 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc DCHECK_EQ(item.type, ash::TYPE_APP_SHORTCUT); item 1460 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type = ash::TYPE_WINDOWED_APP; item 1463 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (HasItemController(item.id) && item 1464 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc id_to_item_controller_map_[item.id]->type() == item 1466 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type = ash::TYPE_PLATFORM_APP; item 1467 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); item 1499 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item(model_->items()[index]); item 1500 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc bool is_app_list = item.type == ash::TYPE_APP_LIST; item 1501 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc bool is_chrome = item.type == ash::TYPE_BROWSER_SHORTCUT; item 1502 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type != ash::TYPE_APP_SHORTCUT && !is_app_list && !is_chrome) item 1505 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc id_to_item_controller_map_.find(item.id); item 1531 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type == ash::TYPE_APP_SHORTCUT && item 1532 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (id_to_item_controller_map_[item.id]->locked() || item 1533 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc id_to_item_controller_map_[item.id]->type() == item 1540 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc LauncherItemClosed(item.id); item 1568 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item(model_->items()[index]); item 1569 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type == ash::TYPE_APP_SHORTCUT) { item 1570 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (id_to_item_controller_map_[item.id]->locked() || item 1571 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc id_to_item_controller_map_[item.id]->type() == item 1575 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc LauncherItemClosed(item.id); item 1577 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type == ash::TYPE_BROWSER_SHORTCUT) item 1579 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc else if (item.type == ash::TYPE_APP_LIST) item 1718 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item; item 1719 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.type = shelf_item_type; item 1720 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.image = extensions::IconsInfo::GetDefaultAppIcon(); item 1726 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc item.status = status; item 1728 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->AddAt(index, item); item 1756 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item = model_->items()[index]; item 1757 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (item.type == ash::TYPE_BROWSER_SHORTCUT) item 343 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ChromeLauncherAppMenuItems GetApplicationList(const ash::ShelfItem& item, item 151 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc int GetNumApplicationMenuItems(const ash::ShelfItem& item) { item 154 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc controller_->GetApplicationList(item, event_flags))); item 246 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const ash::ShelfItem& item = *model_->ItemByID(shortcut_id); item 247 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 248 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc return item.id; item 351 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const ash::ShelfItem& item = GetLastLauncherItem(); item 352 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_PLATFORM_APP, item.type); item 353 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 371 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfItem item = *shelf_model()->ItemByID(shortcut_id); item 372 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 373 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, item.status); item 379 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc item = *shelf_model()->ItemByID(shortcut_id); item 380 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 381 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 386 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc item = *shelf_model()->ItemByID(shortcut_id); item 387 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 388 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, item.status); item 440 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfItem item = *shelf_model()->ItemByID(shortcut_id); item 441 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 442 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, item.status); item 456 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc item = *shelf_model()->ItemByID(shortcut_id); item 457 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item.type); item 458 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 463 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc item = *shelf_model()->ItemByID(shortcut_id); item 464 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_PLATFORM_APP, item.type); item 465 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 1373 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const ash::ShelfItem& item = GetLastLauncherPanelItem(); item 1374 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_PANEL, item.type); item 1376 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, item.status); item 1393 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const ash::ShelfItem& item = GetLastLauncherPanelItem(); item 1394 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc LauncherItemController* item_controller = GetItemController(item.id); item 1395 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::TYPE_APP_PANEL, item.type); item 1396 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, item.status); item 1401 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ATTENTION, item.status); item 1407 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 1411 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, item.status); item 1007 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfItem item; item 1087 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfItem item; item 1202 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfItem item; item 1279 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfItem item; item 2128 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc const ash::ShelfItem& item, item 2132 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ChromeLauncherAppMenuItems items = controller->GetApplicationList(item, 0); item 2152 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc controller->GetApplicationList(item, 0))); item 51 chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc ChromeLauncherAppMenuItem* item = launcher_items_[i]; item 54 chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc if (item->HasLeadingSeparator()) item 58 chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc AddItem(i, item->title()); item 60 chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc if (!item->icon().IsEmpty()) item 61 chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc SetIcon(GetIndexOfCommandId(i), item->icon()); item 33 chrome/browser/ui/ash/launcher/launcher_context_menu.cc bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { item 34 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return item->contexts().Contains(extensions::MenuItem::LAUNCHER); item 40 chrome/browser/ui/ash/launcher/launcher_context_menu.cc const ash::ShelfItem* item, item 44 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_(*item), item 48 chrome/browser/ui/ash/launcher/launcher_context_menu.cc DCHECK(item); item 55 chrome/browser/ui/ash/launcher/launcher_context_menu.cc ash::ShelfItem* item, item 59 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_(*item), item 63 chrome/browser/ui/ash/launcher/launcher_context_menu.cc DCHECK(item); item 36 chrome/browser/ui/ash/launcher/launcher_context_menu.h const ash::ShelfItem* item, item 42 chrome/browser/ui/ash/launcher/launcher_context_menu.h ash::ShelfItem* item, item 54 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc ash::ShelfItem item; item 55 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc item.id = 1; // dummy id item 56 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc item.type = shelf_item_type; item 57 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc return new LauncherContextMenu(controller_.get(), &item, CurrentContext()); item 36 chrome/browser/ui/autofill/autofill_dialog_models.cc Item item = { key, true }; item 37 chrome/browser/ui/autofill/autofill_dialog_models.cc items_.push_back(item); item 31 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc bool operator==(const Item& item) const; item 45 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc bool RecentlyUsedFoldersComboModel::Item::operator==(const Item& item) const { item 46 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc return item.node == node && item.type == type; item 67 chrome/browser/ui/browser_tab_strip_model_delegate.cc NewStripContents item = contentses[i]; item 72 chrome/browser/ui/browser_tab_strip_model_delegate.cc item.add_types |= TabStripModel::ADD_ACTIVE; item 75 chrome/browser/ui/browser_tab_strip_model_delegate.cc static_cast<int>(i), item.web_contents, item.add_types); item 80 chrome/browser/ui/browser_tab_strip_model_delegate.cc LoadingStateChanged(item.web_contents, true); item 121 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h void ConfigureMenuItem(const BookmarkNode* node, NSMenuItem* item, item 50 chrome/browser/ui/cocoa/confirm_quit_panel_controller.h (const ui::PlatformAcceleratorCocoa&)item; item 145 chrome/browser/ui/cocoa/history_menu_bridge.h HistoryItem* HistoryItemForMenuItem(NSMenuItem* item); item 167 chrome/browser/ui/cocoa/history_menu_bridge.h NSMenuItem* AddItemToMenu(HistoryItem* item, item 191 chrome/browser/ui/cocoa/history_menu_bridge.h void GetFaviconForHistoryItem(HistoryItem* item); item 197 chrome/browser/ui/cocoa/history_menu_bridge.h void GotFaviconData(HistoryItem* item, item 202 chrome/browser/ui/cocoa/history_menu_bridge.h void CancelFaviconRequest(HistoryItem* item); item 97 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h - (void)languageMenuChanged:(id)item; item 98 chrome/browser/ui/cocoa/infobars/translate_infobar_base.h - (void)optionsMenuChanged:(id)item; item 36 chrome/browser/ui/cocoa/profile_menu_controller.h - (id)initWithMainMenuItem:(NSMenuItem*)item; item 49 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h NSStatusItem* item(); item 134 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc AvatarMenuItemGtk* item = new AvatarMenuItemGtk( item 136 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc items_.push_back(item); item 138 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_box_pack_start(GTK_BOX(items_vbox), item->widget(), TRUE, TRUE, 0); item 139 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_widget_set_can_focus(item->widget(), TRUE); item 141 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_container_set_focus_child(GTK_CONTAINER(items_vbox), item->widget()); item 168 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc AvatarMenuItemGtk* item = new AvatarMenuItemGtk( item 170 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc items_.push_back(item); item 172 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc gtk_box_pack_start(GTK_BOX(inner_contents_), item->widget(), TRUE, TRUE, 0); item 47 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc const AvatarMenu::Item& item, item 51 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc item_(item), item 35 chrome/browser/ui/gtk/avatar_menu_item_gtk.h const AvatarMenu::Item& item, item 568 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkToolItem* item = CreateBookmarkToolItem(node); item 569 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_toolbar_insert(GTK_TOOLBAR(bookmark_toolbar_.get()), item, -1); item 571 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc menu_bar_helper_.Add(gtk_bin_get_child(GTK_BIN(item))); item 740 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::StartThrobbingAfterAllocation(GtkWidget* item) { item 742 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc item, "size-allocate", G_CALLBACK(OnItemAllocateThunk), this); item 745 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::OnItemAllocate(GtkWidget* item, item 749 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc item, reinterpret_cast<gpointer>(&OnItemAllocateThunk), this); item 751 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkWidget* button = gtk_bin_get_child(GTK_BIN(item)); item 924 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkToolItem* item = CreateBookmarkToolItem(node); item 926 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc item, index); item 928 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc menu_bar_helper_.Add(gtk_bin_get_child(GTK_BIN(item))); item 933 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc StartThrobbingAfterAllocation(GTK_WIDGET(item)); item 973 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkToolItem* item = gtk_toolbar_get_nth_item( item 975 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkWidget* button = gtk_bin_get_child(GTK_BIN(item)); item 1064 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GtkToolItem* item = gtk_tool_item_new(); item 1065 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_container_add(GTK_CONTAINER(item), button); item 1066 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_widget_show_all(GTK_WIDGET(item)); item 1068 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc return item; item 1116 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc for (GList* item = children; item; item = item->next, index++) { item 1117 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (item->data == item_to_find) { item 183 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h void StartThrobbingAfterAllocation(GtkWidget* item); item 385 chrome/browser/ui/gtk/collected_cookies_gtk.cc GList* item = g_list_first(paths); item 388 chrome/browser/ui/gtk/collected_cookies_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); item 419 chrome/browser/ui/gtk/collected_cookies_gtk.cc for (GList* item = paths; item; item = item->next) { item 422 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); item 482 chrome/browser/ui/gtk/collected_cookies_gtk.cc for (GList* item = paths; item; item = item->next) { item 485 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); item 525 chrome/browser/ui/gtk/collected_cookies_gtk.cc for (GList* item = paths; item; item = item->next) { item 528 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); item 29 chrome/browser/ui/gtk/download/download_item_drag.cc explicit DragData(const DownloadItem* item); item 52 chrome/browser/ui/gtk/download/download_item_drag.cc DownloadItemDrag::DragData::DragData(const DownloadItem* item) item 53 chrome/browser/ui/gtk/download/download_item_drag.cc : url_(net::FilePathToFileURL(item->GetTargetFilePath())), item 54 chrome/browser/ui/gtk/download/download_item_drag.cc display_name_(item->GetFileNameToReportUser().LossyDisplayName()) { item 55 chrome/browser/ui/gtk/download/download_item_drag.cc DCHECK_EQ(DownloadItem::COMPLETE, item->GetState()); item 106 chrome/browser/ui/gtk/download/download_item_drag.cc const DownloadItem* item, item 108 chrome/browser/ui/gtk/download/download_item_drag.cc scoped_ptr<DragData> drag_data(new DragData(item)); item 112 chrome/browser/ui/gtk/download/download_item_drag.cc DownloadItemDrag::DownloadItemDrag(const DownloadItem* item, gfx::Image* icon) item 114 chrome/browser/ui/gtk/download/download_item_drag.cc drag_data_(new DragData(item)) {} item 20 chrome/browser/ui/gtk/download/download_item_drag.h DownloadItemDrag(const content::DownloadItem* item, gfx::Image* icon); item 26 chrome/browser/ui/gtk/download/download_item_drag.h const content::DownloadItem* item, item 163 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = new HistoryItem(); item 164 chrome/browser/ui/gtk/global_history_menu.cc item->title = visited.title; item 165 chrome/browser/ui/gtk/global_history_menu.cc item->url = visited.url; item 167 chrome/browser/ui/gtk/global_history_menu.cc AddHistoryItemToMenu(item, item 184 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = new HistoryItem(); item 185 chrome/browser/ui/gtk/global_history_menu.cc item->title = current_navigation.title(); item 186 chrome/browser/ui/gtk/global_history_menu.cc item->url = current_navigation.virtual_url(); item 187 chrome/browser/ui/gtk/global_history_menu.cc item->session_id = entry.id; item 189 chrome/browser/ui/gtk/global_history_menu.cc return item; item 192 chrome/browser/ui/gtk/global_history_menu.cc GtkWidget* GlobalHistoryMenu::AddHistoryItemToMenu(HistoryItem* item, item 196 chrome/browser/ui/gtk/global_history_menu.cc base::string16 title = item->title; item 197 chrome/browser/ui/gtk/global_history_menu.cc std::string url_string = item->url.possibly_invalid_spec(); item 206 chrome/browser/ui/gtk/global_history_menu.cc item->menu_item = menu_item; item 212 chrome/browser/ui/gtk/global_history_menu.cc std::string tooltip = gtk_util::BuildTooltipTitleFor(item->title, item->url); item 215 chrome/browser/ui/gtk/global_history_menu.cc menu_item_history_map_.insert(std::make_pair(menu_item, item)); item 265 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = closure->menu_bar->HistoryItemForMenuItem(menu_item); item 267 chrome/browser/ui/gtk/global_history_menu.cc if (item) { item 269 chrome/browser/ui/gtk/global_history_menu.cc delete item; item 314 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = new HistoryItem(); item 315 chrome/browser/ui/gtk/global_history_menu.cc item->session_id = entry_win->id; item 331 chrome/browser/ui/gtk/global_history_menu.cc menu_item_history_map_.insert(std::make_pair(restore_item, item)); item 344 chrome/browser/ui/gtk/global_history_menu.cc item->tabs.push_back(tab_item); item 351 chrome/browser/ui/gtk/global_history_menu.cc std::string title = item->tabs.size() == 1 ? item 356 chrome/browser/ui/gtk/global_history_menu.cc base::IntToString16(item->tabs.size())); item 370 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = HistoryItemForTab(*tab); item 371 chrome/browser/ui/gtk/global_history_menu.cc AddHistoryItemToMenu(item, item 388 chrome/browser/ui/gtk/global_history_menu.cc HistoryItem* item = HistoryItemForMenuItem(sender); item 394 chrome/browser/ui/gtk/global_history_menu.cc if (item->session_id && service) { item 396 chrome/browser/ui/gtk/global_history_menu.cc item->session_id, browser_->host_desktop_type(), item 399 chrome/browser/ui/gtk/global_history_menu.cc DCHECK(item->url.is_valid()); item 400 chrome/browser/ui/gtk/global_history_menu.cc browser_->OpenURL(OpenURLParams(item->url, content::Referrer(), disposition, item 66 chrome/browser/ui/gtk/global_history_menu.h GtkWidget* AddHistoryItemToMenu(HistoryItem* item, item 69 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void set_selected(GtkCustomMenuItem* item, GtkWidget* selected) { item 70 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (selected != item->currently_selected_button) { item 71 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (item->currently_selected_button) { item 72 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_widget_set_state(item->currently_selected_button, GTK_STATE_NORMAL); item 74 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_bin_get_child(GTK_BIN(item->currently_selected_button)), item 78 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->currently_selected_button = selected; item 79 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (item->currently_selected_button) { item 80 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_widget_set_state(item->currently_selected_button, GTK_STATE_SELECTED); item 82 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_bin_get_child(GTK_BIN(item->currently_selected_button)), item 106 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void gtk_custom_menu_item_select(GtkItem *item); item 107 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void gtk_custom_menu_item_deselect(GtkItem *item); item 110 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) { item 111 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->all_widgets = NULL; item 112 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->button_widgets = NULL; item 113 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->currently_selected_button = NULL; item 114 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->previously_selected_button = NULL; item 117 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_container_add(GTK_CONTAINER(item), menu_hbox); item 119 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->label = gtk_label_new(NULL); item 120 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_misc_set_alignment(GTK_MISC(item->label), 0.0, 0.5); item 121 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_box_pack_start(GTK_BOX(menu_hbox), item->label, TRUE, TRUE, 0); item 123 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item->hbox = gtk_hbox_new(FALSE, 0); item 124 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_box_pack_end(GTK_BOX(menu_hbox), item->hbox, FALSE, FALSE, 0); item 126 chrome/browser/ui/gtk/gtk_custom_menu_item.cc g_signal_connect(item->hbox, "expose-event", item 128 chrome/browser/ui/gtk/gtk_custom_menu_item.cc item); item 167 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkCustomMenuItem* item = GTK_CUSTOM_MENU_ITEM(object); item 168 chrome/browser/ui/gtk/gtk_custom_menu_item.cc g_list_free(item->all_widgets); item 169 chrome/browser/ui/gtk/gtk_custom_menu_item.cc g_list_free(item->button_widgets); item 290 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void gtk_custom_menu_item_select(GtkItem* item) { item 291 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkCustomMenuItem* custom_item = GTK_CUSTOM_MENU_ITEM(item); item 299 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_widget_queue_draw(GTK_WIDGET(item)); item 302 chrome/browser/ui/gtk/gtk_custom_menu_item.cc static void gtk_custom_menu_item_deselect(GtkItem* item) { item 303 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkCustomMenuItem* custom_item = GTK_CUSTOM_MENU_ITEM(item); item 313 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_widget_queue_draw(GTK_WIDGET(item)); item 334 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkCustomMenuItem* item = GTK_CUSTOM_MENU_ITEM( item 336 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_label_set_text(GTK_LABEL(item->label), title); item 337 chrome/browser/ui/gtk/gtk_custom_menu_item.cc return GTK_WIDGET(item); item 271 chrome/browser/ui/gtk/gtk_util.cc for (GList* item = children; item; item = item->next) { item 273 chrome/browser/ui/gtk/gtk_util.cc GTK_WIDGET(item->data), item 446 chrome/browser/ui/gtk/gtk_util.cc for (GList* item = windows; item; item = item->next) { item 447 chrome/browser/ui/gtk/gtk_util.cc GtkWindow* window = GTK_WINDOW(item->data); item 926 chrome/browser/ui/gtk/menu_gtk.cc GtkCheckMenuItem* item = GTK_CHECK_MENU_ITEM(widget); item 939 chrome/browser/ui/gtk/menu_gtk.cc gtk_check_menu_item_set_active(item, model->IsItemCheckedAt(id)); item 144 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc for (GList* item = list; item != NULL; item = item->next, ++index) { item 145 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (GTK_IS_IMAGE_MENU_ITEM(item->data)) { item 147 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GTK_IMAGE_MENU_ITEM(item->data)); item 150 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_item_get_label(GTK_MENU_ITEM(item->data)); item 229 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc GtkWidget* item = GetMenuItemByID(&menu_model_, menu_gtk_->widget(), item 231 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc if (!item || !GTK_IS_MENU_ITEM(item)) item 235 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_widget_set_sensitive(item, enabled); item 237 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_widget_hide(item); item 239 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_widget_show(item); item 240 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_menu_item_set_label(GTK_MENU_ITEM(item), item 769 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabStripModelDelegate::NewStripContents item; item 770 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc item.web_contents = drag_data_->get(i)->contents_; item 771 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc item.add_types = drag_data_->GetAddTypesForDraggedTabAt(i); item 772 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc contentses.push_back(item); item 752 chrome/browser/ui/gtk/task_manager_gtk.cc for (GList* item = paths; item; item = item->next) { item 755 chrome/browser/ui/gtk/task_manager_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); item 881 chrome/browser/ui/gtk/task_manager_gtk.cc for (GList* item = paths; item; item = item->next) { item 884 chrome/browser/ui/gtk/task_manager_gtk.cc reinterpret_cast<GtkTreePath*>(item->data)); item 78 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc for (GList* item = child; item; item = g_list_next(item)) item 79 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_container_remove(GTK_CONTAINER(container), GTK_WIDGET(item->data)); item 21 chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.cc static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) { item 211 chrome/browser/ui/libgtk2ui/menu_util.cc GtkCheckMenuItem* item = GTK_CHECK_MENU_ITEM(widget); item 221 chrome/browser/ui/libgtk2ui/menu_util.cc gtk_check_menu_item_set_active(item, model->IsItemCheckedAt(id)); item 277 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const TabNavigationItem& item = (*tab_items)[tab_items_idx]; item 278 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc DCHECK(item.tab_id > -1 && item.url.is_valid()); item 280 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc if (item.session_tag.empty()) { // Restore tab of local session. item 284 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc service->RestoreEntryById(delegate, item.tab_id, item 292 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc if (!open_tabs->GetForeignTab(item.session_tag, item.tab_id, &tab)) item 345 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const TabNavigationItem& item = (*tab_items)[tab_items_idx]; item 346 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc *url = item.url.possibly_invalid_spec(); item 347 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc *title = item.title; item 506 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc TabNavigationItem item(std::string(), session_id, title, url); item 512 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc title.empty() ? base::UTF8ToUTF16(item.url.spec()) : title); item 513 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc AddTabFavicon(command_id, item.url); item 514 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc local_tab_navigation_items_.push_back(item); item 541 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc TabNavigationItem item(session_tag, tab.tab_id.id(), item 551 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc base::UTF8ToUTF16(item.url.spec()) : current_navigation.title()); item 552 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc AddTabFavicon(command_id, item.url); item 553 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc other_devices_tab_navigation_items_.push_back(item); item 509 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc views::View* item, item 518 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc RecursiveGetMenuItemIndexAndCount(child, item, index, count); item 523 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc if (item == child) item 527 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc if (item == child) item 153 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h views::View* item, item 2209 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 item = item 2211 chrome/browser/ui/views/autofill/autofill_dialog_views.cc detail_outputs[iter->first] = item; item 219 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView(const AvatarMenu::Item& item, item 252 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView::ProfileItemView(const AvatarMenu::Item& item, item 256 chrome/browser/ui/views/avatar_menu_bubble_view.cc item_(item), item 669 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (!item_view->item().active) { item 718 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item = avatar_menu->GetItemAt(i); item 719 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView* item_view = new ProfileItemView(item, item 723 chrome/browser/ui/views/avatar_menu_bubble_view.cc IDS_PROFILES_SWITCH_TO_PROFILE_ACCESSIBLE_NAME, item.name)); item 751 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item = item 753 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView* item_view = new ProfileItemView(item, item 757 chrome/browser/ui/views/avatar_menu_bubble_view.cc IDS_PROFILES_SWITCH_TO_PROFILE_ACCESSIBLE_NAME, item.name)); item 124 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc MenuItemView* item, item 127 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->GetDropOperation(item, event, position); item 92 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual int GetDropOperation(views::MenuItemView* item, item 199 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* item, item 205 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const BookmarkNode* node = menu_id_to_node_map_[item->GetCommand()]; item 107 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h int GetDropOperation(views::MenuItemView* item, item 43 chrome/browser/ui/views/download/download_danger_prompt_views.cc DownloadDangerPromptViews(content::DownloadItem* item, item 84 chrome/browser/ui/views/download/download_danger_prompt_views.cc content::DownloadItem* item, item 88 chrome/browser/ui/views/download/download_danger_prompt_views.cc : download_(item), item 345 chrome/browser/ui/views/download/download_danger_prompt_views.cc content::DownloadItem* item, item 350 chrome/browser/ui/views/download/download_danger_prompt_views.cc new DownloadDangerPromptViews(item, web_contents, show_context, done); item 197 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* item, item 204 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc if ((item->GetCommand() == 0) && (*position == DROP_BEFORE)) { item 71 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual int GetDropOperation(views::MenuItemView* item, item 51 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item); item 53 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item, item 57 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item, item 61 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item, item 65 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item, item 350 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item = menuitem_new(); item 351 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_property_set(item, kPropertyType, kTypeSeparator); item 352 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_property_set_bool(item, kPropertyVisible, true); item 353 chrome/browser/ui/views/frame/global_menu_bar_x11.cc return item; item 359 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* item = menuitem_new(); item 360 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_property_set(item, kPropertyLabel, label.c_str()); item 361 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_property_set_bool(item, kPropertyVisible, true); item 364 chrome/browser/ui/views/frame/global_menu_bar_x11.cc g_object_set_data(G_OBJECT(item), kTypeTag, GINT_TO_POINTER(tag_id)); item 366 chrome/browser/ui/views/frame/global_menu_bar_x11.cc return item; item 482 chrome/browser/ui/views/frame/global_menu_bar_x11.cc void GlobalMenuBarX11::RegisterAccelerator(DbusmenuMenuitem* item, item 509 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_property_set_variant(item, kPropertyShortcut, outside_array); item 516 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = new HistoryItem(); item 517 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->title = current_navigation.title(); item 518 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->url = current_navigation.virtual_url(); item 519 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->session_id = entry.id; item 521 chrome/browser/ui/views/frame/global_menu_bar_x11.cc return item; item 524 chrome/browser/ui/views/frame/global_menu_bar_x11.cc void GlobalMenuBarX11::AddHistoryItemToMenu(HistoryItem* item, item 528 chrome/browser/ui/views/frame/global_menu_bar_x11.cc base::string16 title = item->title; item 529 chrome/browser/ui/views/frame/global_menu_bar_x11.cc std::string url_string = item->url.possibly_invalid_spec(); item 539 chrome/browser/ui/views/frame/global_menu_bar_x11.cc g_object_set_data_full(G_OBJECT(menu_item), kHistoryItem, item, item 565 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = new HistoryItem(); item 566 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->title = visited.title; item 567 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->url = visited.url; item 569 chrome/browser/ui/views/frame/global_menu_bar_x11.cc AddHistoryItemToMenu(item, item 626 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = item 628 chrome/browser/ui/views/frame/global_menu_bar_x11.cc delete item; item 670 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = new HistoryItem(); item 671 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->session_id = entry_win->id; item 694 chrome/browser/ui/views/frame/global_menu_bar_x11.cc g_object_set_data_full(G_OBJECT(restore_item), kHistoryItem, item, item 709 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->tabs.push_back(tab_item); item 719 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = HistoryItemForTab(*tab); item 720 chrome/browser/ui/views/frame/global_menu_bar_x11.cc AddHistoryItemToMenu(item, item 745 chrome/browser/ui/views/frame/global_menu_bar_x11.cc void GlobalMenuBarX11::OnItemActivated(DbusmenuMenuitem* item, item 747 chrome/browser/ui/views/frame/global_menu_bar_x11.cc int id = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(item), "command-id")); item 755 chrome/browser/ui/views/frame/global_menu_bar_x11.cc HistoryItem* item = reinterpret_cast<HistoryItem*>( item 762 chrome/browser/ui/views/frame/global_menu_bar_x11.cc if (item->session_id && service) { item 764 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->session_id, browser_->host_desktop_type(), item 767 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DCHECK(item->url.is_valid()); item 769 chrome/browser/ui/views/frame/global_menu_bar_x11.cc item->url, item 777 chrome/browser/ui/views/frame/global_menu_bar_x11.cc void GlobalMenuBarX11::OnHistoryMenuAboutToShow(DbusmenuMenuitem* item) { item 85 chrome/browser/ui/views/frame/global_menu_bar_x11.h void RegisterAccelerator(DbusmenuMenuitem* item, item 92 chrome/browser/ui/views/frame/global_menu_bar_x11.h void AddHistoryItemToMenu(HistoryItem* item, item 40 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::MenuItemView* item = submenu->GetMenuItemAt(INDEX); item 41 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc ASSERT_TRUE(item); item 42 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc Click(item, CreateEventTask(this, &MenuItemViewTestBasic::Step2)); item 99 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); item 100 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc ASSERT_TRUE(item); item 101 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc Click(item, CreateEventTask(this, &MenuItemViewTestInsert::Step2)); item 234 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); item 235 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc ASSERT_TRUE(item); item 236 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc Click(item, CreateEventTask(this, &MenuItemViewTestRemove::Step2)); item 260 chrome/browser/ui/views/menu_model_adapter_test.cc views::MenuItemView* item = topmenu->GetMenuItemAt(0); item 261 chrome/browser/ui/views/menu_model_adapter_test.cc ASSERT_TRUE(item); item 262 chrome/browser/ui/views/menu_model_adapter_test.cc Click(item, CreateEventTask(this, &MenuModelAdapterTest::Step2)); item 301 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ManagePasswordItemView* item = new ManagePasswordItemView( item 308 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc layout->AddView(item); item 336 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ManagePasswordItemView* item = new ManagePasswordItemView( item 345 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc layout->AddView(item); item 360 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ManagePasswordItemView* item = new ManagePasswordItemView( item 369 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc layout->AddView(item); item 497 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& item = avatar_menu->GetItemAt(i); item 498 chrome/browser/ui/views/profile_chooser_view.cc if (item.active) { item 499 chrome/browser/ui/views/profile_chooser_view.cc option_buttons_view = CreateOptionsView(item.signed_in); item 501 chrome/browser/ui/views/profile_chooser_view.cc tutorial_view = CreateTutorialView(item, tutorial_shown); item 502 chrome/browser/ui/views/profile_chooser_view.cc current_profile_view = CreateCurrentProfileView(item, false); item 504 chrome/browser/ui/views/profile_chooser_view.cc current_profile_view = CreateCurrentProfileEditableView(item); item 505 chrome/browser/ui/views/profile_chooser_view.cc current_profile_accounts = CreateCurrentProfileAccountsView(item); item 879 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& item = avatar_menu_->GetItemAt(index); item 883 chrome/browser/ui/views/profile_chooser_view.cc item.icon, true, item 887 chrome/browser/ui/views/profile_chooser_view.cc views::LabelButton* button = new views::LabelButton(this, item.name); item 197 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc views::MenuItemView* item = item 199 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc if (!item) item 202 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc item->SetEnabled(enabled); item 203 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc item->SetTitle(title); item 204 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc item->SetVisible(!hidden); item 206 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc views::MenuItemView* parent = item->GetParentMenuItem(); item 1625 chrome/browser/ui/views/tabs/tab_drag_controller.cc TabStripModelDelegate::NewStripContents item; item 1626 chrome/browser/ui/views/tabs/tab_drag_controller.cc item.web_contents = drag_data_[i].contents; item 1627 chrome/browser/ui/views/tabs/tab_drag_controller.cc item.add_types = drag_data_[i].pinned ? TabStripModel::ADD_PINNED item 1629 chrome/browser/ui/views/tabs/tab_drag_controller.cc contentses.push_back(item); item 861 chrome/browser/ui/views/toolbar/wrench_menu.cc views::MenuItemView* item = menu_item_->GetMenuItemByID(command_id); item 862 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK(item); item 865 chrome/browser/ui/views/toolbar/wrench_menu.cc item->SetIcon(*icon.ToImageSkia()); item 1047 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuItemView* item, item 1050 chrome/browser/ui/views/toolbar/wrench_menu.cc return IsBookmarkCommand(item->GetCommand()) ? item 1051 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->GetDropOperation(item, event, position) : item 1222 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuItemView* item = AddMenuItem( item 1226 chrome/browser/ui/views/toolbar/wrench_menu.cc PopulateMenu(item, model->GetSubmenuModelAt(i)); item 1236 chrome/browser/ui/views/toolbar/wrench_menu.cc item->SetTitle(l10n_util::GetStringUTF16(IDS_EDIT2)); item 1237 chrome/browser/ui/views/toolbar/wrench_menu.cc item->AddChildView(new CutCopyPasteView(this, model, native_theme, item 1246 chrome/browser/ui/views/toolbar/wrench_menu.cc item->SetTitle(l10n_util::GetStringUTF16(IDS_ZOOM_MENU2)); item 1247 chrome/browser/ui/views/toolbar/wrench_menu.cc item->AddChildView(new ZoomView(this, model, native_theme, item 1254 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_ = item; item 1260 chrome/browser/ui/views/toolbar/wrench_menu.cc feedback_menu_item_ = item; item 1268 chrome/browser/ui/views/toolbar/wrench_menu.cc item)); item 76 chrome/browser/ui/views/toolbar/wrench_menu.h virtual int GetDropOperation(views::MenuItemView* item, item 87 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::DictionaryValue* item = new base::DictionaryValue(); item 88 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetInteger("id", id); item 89 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetString("label", model->GetLabelAt(i)); item 95 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetString("icon", webui::GetBitmapDataUrl(icon_bitmap)); item 98 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("enabled", model->IsEnabledAt(i)); item 101 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("bold", font_list->GetFontStyle() == gfx::Font::BOLD); item 104 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->Set("sub", ConvertMenuModel(model->GetSubmenuModelAt(i))); item 105 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc list->Append(item); item 236 chrome/browser/ui/webui/downloads_dom_handler.cc bool IsDownloadDisplayable(const content::DownloadItem& item) { item 237 chrome/browser/ui/webui/downloads_dom_handler.cc return (!download_crx_util::IsExtensionDownload(item) && item 238 chrome/browser/ui/webui/downloads_dom_handler.cc !item.IsTemporary() && item 239 chrome/browser/ui/webui/downloads_dom_handler.cc !item.GetFileNameToReportUser().empty() && item 240 chrome/browser/ui/webui/downloads_dom_handler.cc !item.GetTargetFilePath().empty()); item 542 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* item = NULL; item 544 chrome/browser/ui/webui/downloads_dom_handler.cc item = main_notifier_.GetManager()->GetDownload(download_id); item 545 chrome/browser/ui/webui/downloads_dom_handler.cc if (!item && original_notifier_.get() && original_notifier_->GetManager()) item 546 chrome/browser/ui/webui/downloads_dom_handler.cc item = original_notifier_->GetManager()->GetDownload(download_id); item 547 chrome/browser/ui/webui/downloads_dom_handler.cc if (!item || item->IsDone()) item 550 chrome/browser/ui/webui/downloads_dom_handler.cc item->ValidateDangerousDownload(); item 565 chrome/browser/ui/webui/downloads_dom_handler.cc content::DownloadItem* item = NULL; item 567 chrome/browser/ui/webui/downloads_dom_handler.cc item = main_notifier_.GetManager()->GetDownload(download_id); item 568 chrome/browser/ui/webui/downloads_dom_handler.cc if (!item && original_notifier_.get() && original_notifier_->GetManager()) item 569 chrome/browser/ui/webui/downloads_dom_handler.cc item = original_notifier_->GetManager()->GetDownload(download_id); item 570 chrome/browser/ui/webui/downloads_dom_handler.cc return item; item 202 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc base::ListValue item; item 203 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc item.AppendInteger(1); item 208 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc mock_handler_->HandleRemove(&item); item 218 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc mock_handler_->HandleRemove(&item); item 376 chrome/browser/ui/webui/extensions/extension_settings_handler.cc base::DictionaryValue* item = new base::DictionaryValue(); item 377 chrome/browser/ui/webui/extensions/extension_settings_handler.cc item->SetString("message", it->message); item 378 chrome/browser/ui/webui/extensions/extension_settings_handler.cc list->Append(item); item 102 chrome/browser/ui/webui/ntp/suggestions_combiner.cc base::DictionaryValue* item; item 111 chrome/browser/ui/webui/ntp/suggestions_combiner.cc (item = sources_[i]->PopItem())) { item 112 chrome/browser/ui/webui/ntp/suggestions_combiner.cc page_values_->Insert(index++, item); item 169 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::DictionaryValue* item = items_.front(); item 171 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc return item; item 185 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc base::DictionaryValue* item = new base::DictionaryValue(); item 186 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc item->SetString("title", title); item 187 chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc items_.push_back(item); item 55 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc base::DictionaryValue* item = items_.front(); item 57 chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc return item; item 196 chrome/browser/ui/webui/options/import_data_handler.cc void ImportDataHandler::ImportItemStarted(importer::ImportItem item) { item 200 chrome/browser/ui/webui/options/import_data_handler.cc void ImportDataHandler::ImportItemEnded(importer::ImportItem item) { item 51 chrome/browser/ui/webui/options/import_data_handler.h virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE; item 52 chrome/browser/ui/webui/options/import_data_handler.h virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE; item 464 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach (explode(',', $this->data['openid_signed']) as $item) { item 471 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $value = $this->data['openid_' . str_replace('.','_',$item)]; item 472 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $params['openid.' . $item] = get_magic_quotes_gpc() ? stripslashes($value) : $value; item 71 chrome/common/importer/importer_bridge.h virtual void NotifyItemStarted(importer::ImportItem item) = 0; item 75 chrome/common/importer/importer_bridge.h virtual void NotifyItemEnded(importer::ImportItem item) = 0; item 64 chrome/common/instant_restricted_id_cache.h T* item) const; item 155 chrome/common/instant_restricted_id_cache.h T* item) const { item 156 chrome/common/instant_restricted_id_cache.h DCHECK(item); item 161 chrome/common/instant_restricted_id_cache.h *item = cache_it->second; item 43 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 47 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 51 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 52 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 62 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 67 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 70 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 71 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 81 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 86 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 89 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 90 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 110 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 115 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 122 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 123 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 145 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 150 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 157 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 158 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 169 chrome/installer/util/copy_reg_key_work_item_unittest.cc scoped_ptr<CopyRegKeyWorkItem> item( item 174 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->set_ignore_failure(true); item 175 chrome/installer/util/copy_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 176 chrome/installer/util/copy_reg_key_work_item_unittest.cc item->Rollback(); item 177 chrome/installer/util/copy_reg_key_work_item_unittest.cc item.reset(); item 40 chrome/installer/util/delete_reg_key_work_item_unittest.cc scoped_ptr<DeleteRegKeyWorkItem> item( item 42 chrome/installer/util/delete_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 45 chrome/installer/util/delete_reg_key_work_item_unittest.cc item->Rollback(); item 46 chrome/installer/util/delete_reg_key_work_item_unittest.cc item.reset(); item 56 chrome/installer/util/delete_reg_key_work_item_unittest.cc scoped_ptr<DeleteRegKeyWorkItem> item( item 58 chrome/installer/util/delete_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 61 chrome/installer/util/delete_reg_key_work_item_unittest.cc item->Rollback(); item 62 chrome/installer/util/delete_reg_key_work_item_unittest.cc item.reset(); item 72 chrome/installer/util/delete_reg_key_work_item_unittest.cc scoped_ptr<DeleteRegKeyWorkItem> item( item 74 chrome/installer/util/delete_reg_key_work_item_unittest.cc EXPECT_TRUE(item->Do()); item 77 chrome/installer/util/delete_reg_key_work_item_unittest.cc item->Rollback(); item 78 chrome/installer/util/delete_reg_key_work_item_unittest.cc item.reset(); item 115 chrome/installer/util/delete_reg_key_work_item_unittest.cc scoped_ptr<DeleteRegKeyWorkItem> item( item 117 chrome/installer/util/delete_reg_key_work_item_unittest.cc EXPECT_FALSE(item->Do()); item 120 chrome/installer/util/delete_reg_key_work_item_unittest.cc item->Rollback(); item 121 chrome/installer/util/delete_reg_key_work_item_unittest.cc item.reset(); item 675 chrome/installer/util/installer_state.cc scoped_ptr<WorkItem> item; item 79 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateCallbackWorkItem(callback); item 80 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 81 chrome/installer/util/work_item_list.cc return item; item 89 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateCopyRegKeyWorkItem( item 91 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 92 chrome/installer/util/work_item_list.cc return item; item 101 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateCopyTreeWorkItem( item 107 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 108 chrome/installer/util/work_item_list.cc return item; item 112 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateCreateDirWorkItem(path); item 113 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 114 chrome/installer/util/work_item_list.cc return item; item 119 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateCreateRegKeyWorkItem(predefined_root, path); item 120 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 121 chrome/installer/util/work_item_list.cc return item; item 126 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateDeleteRegKeyWorkItem(predefined_root, path); item 127 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 128 chrome/installer/util/work_item_list.cc return item; item 135 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateDeleteRegValueWorkItem(predefined_root, item 137 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 138 chrome/installer/util/work_item_list.cc return item; item 145 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path, item 147 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 148 chrome/installer/util/work_item_list.cc return item; item 161 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateMoveTreeWorkItem(base::FilePath(source_path), item 165 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 166 chrome/installer/util/work_item_list.cc return item; item 175 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, item 180 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 181 chrome/installer/util/work_item_list.cc return item; item 189 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, item 194 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 195 chrome/installer/util/work_item_list.cc return item; item 203 chrome/installer/util/work_item_list.cc WorkItem* item = reinterpret_cast<WorkItem*>( item 206 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 207 chrome/installer/util/work_item_list.cc return item; item 213 chrome/installer/util/work_item_list.cc WorkItem* item = WorkItem::CreateSelfRegWorkItem(dll_path, do_register, item 215 chrome/installer/util/work_item_list.cc AddWorkItem(item); item 216 chrome/installer/util/work_item_list.cc return item; item 183 chrome/renderer/chrome_render_view_observer.cc WebNode child = children.item(i); item 578 chrome/renderer/chrome_render_view_observer.cc WebNode node = children.item(i); item 135 chrome/renderer/extensions/webstore_bindings.cc WebNode child = children.item(i); item 53 chrome/renderer/pepper/pepper_flash_menu_host.cc content::MenuItem item; item 58 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::OPTION; item 61 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::CHECKABLE_OPTION; item 64 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::SEPARATOR; item 67 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::SUBMENU; item 73 chrome/renderer/pepper/pepper_flash_menu_host.cc item.label = base::UTF8ToUTF16(in_menu->items[i].name); item 76 chrome/renderer/pepper/pepper_flash_menu_host.cc item.action = static_cast<unsigned>(menu_id_map->size()); item 79 chrome/renderer/pepper/pepper_flash_menu_host.cc item.enabled = PP_ToBool(in_menu->items[i].enabled); item 80 chrome/renderer/pepper/pepper_flash_menu_host.cc item.checked = PP_ToBool(in_menu->items[i].checked); item 82 chrome/renderer/pepper/pepper_flash_menu_host.cc if (!ConvertMenuData(in_menu->items[i].submenu, depth + 1, &item.submenu, item 87 chrome/renderer/pepper/pepper_flash_menu_host.cc out_menu->push_back(item); item 199 chrome/renderer/searchbox/searchbox.cc InstantMostVisitedItem item; item 201 chrome/renderer/searchbox/searchbox.cc if (rid != -1 && GetMostVisitedItemWithID(rid, &item)) item 202 chrome/renderer/searchbox/searchbox.cc item_url = item.url.spec(); item 233 chrome/renderer/searchbox/searchbox.cc InstantMostVisitedItem* item) const { item 235 chrome/renderer/searchbox/searchbox.cc item); item 459 chrome/renderer/searchbox/searchbox.cc InstantMostVisitedItem item; item 460 chrome/renderer/searchbox/searchbox.cc return GetMostVisitedItemWithID(item_id, &item) ? item.url : GURL(); item 75 chrome/renderer/searchbox/searchbox.h InstantMostVisitedItem* item) const; item 1022 chrome/renderer/searchbox/searchbox_extension.cc InstantMostVisitedItem item; item 1024 chrome/renderer/searchbox/searchbox_extension.cc args[0]->IntegerValue(), &item)) { item 1025 chrome/renderer/searchbox/searchbox_extension.cc destination_url = item.url; item 370 chrome/renderer/translate/translate_helper.cc WebNode node = children.item(i); item 138 chrome/renderer/web_apps.cc WebNode child = children.item(i); item 93 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.getItem(i); item 94 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java if (TextUtils.equals(item.getTitle(), itemTitle)) { item 95 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java itemId = item.getItemId(); item 106 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.findItem(itemId); item 107 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java Assert.assertNotNull("Could not find '" + itemId + "' in menu", item); item 108 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java Assert.assertTrue("'" + itemId + "' is not visible", item.isVisible()); item 109 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java Assert.assertTrue("'" + itemId + "' is not enabled", item.isEnabled()); item 859 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp SECItem item; item 860 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (SEC_ASN1DecodeItem(NULL, &item, SEC_ASN1_GET(SEC_IA5StringTemplate), item 863 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string rv((char*)item.data, item.len); // ASCII data. item 864 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp PORT_Free(item.data); item 870 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp SECItem item; item 874 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (SEC_ASN1DecodeItem(arena.get(), &item, item 877 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv = BMPtoUTF8(arena.get(), item.data, item.len); item 149 chrome/utility/importer/external_process_importer_bridge.cc importer::ImportItem item) { item 150 chrome/utility/importer/external_process_importer_bridge.cc Send(new ProfileImportProcessHostMsg_ImportItem_Started(item)); item 153 chrome/utility/importer/external_process_importer_bridge.cc void ExternalProcessImporterBridge::NotifyItemEnded(importer::ImportItem item) { item 154 chrome/utility/importer/external_process_importer_bridge.cc Send(new ProfileImportProcessHostMsg_ImportItem_Finished(item)); item 77 chrome/utility/importer/external_process_importer_bridge.h virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; item 78 chrome/utility/importer/external_process_importer_bridge.h virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; item 240 chrome/utility/importer/firefox_importer.cc BookmarkItem* item = list[i]; item 242 chrome/utility/importer/firefox_importer.cc if (item->type == TYPE_FOLDER) { item 245 chrome/utility/importer/firefox_importer.cc if (!item->empty_folder) item 247 chrome/utility/importer/firefox_importer.cc } else if (item->type == TYPE_BOOKMARK) { item 249 chrome/utility/importer/firefox_importer.cc if (!CanImportURL(item->url)) item 256 chrome/utility/importer/firefox_importer.cc if (default_urls.find(item->url) != default_urls.end() || item 257 chrome/utility/importer/firefox_importer.cc post_keyword_ids.find(item->id) != post_keyword_ids.end()) item 262 chrome/utility/importer/firefox_importer.cc BookmarkItem* child = item; item 296 chrome/utility/importer/firefox_importer.cc entry.creation_time = item->date_added; item 297 chrome/utility/importer/firefox_importer.cc entry.title = item->title; item 298 chrome/utility/importer/firefox_importer.cc entry.url = item->url; item 301 chrome/utility/importer/firefox_importer.cc entry.is_folder = item->type == TYPE_FOLDER; item 305 chrome/utility/importer/firefox_importer.cc if (item->type == TYPE_BOOKMARK) { item 306 chrome/utility/importer/firefox_importer.cc if (item->favicon) item 307 chrome/utility/importer/firefox_importer.cc favicon_map[item->favicon].insert(item->url); item 310 chrome/utility/importer/firefox_importer.cc if (!item->keyword.empty() && item->url.is_valid()) { item 312 chrome/utility/importer/firefox_importer.cc url_keyword_info.url = item->url; item 313 chrome/utility/importer/firefox_importer.cc url_keyword_info.keyword.assign(base::UTF8ToUTF16(item->keyword)); item 314 chrome/utility/importer/firefox_importer.cc url_keyword_info.display_name = item->title; item 529 chrome/utility/importer/firefox_importer.cc BookmarkItem* item = new BookmarkItem; item 530 chrome/utility/importer/firefox_importer.cc item->parent = -1; // The top level folder has no parent. item 531 chrome/utility/importer/firefox_importer.cc item->id = folder_id; item 532 chrome/utility/importer/firefox_importer.cc item->title = s.ColumnString16(0); item 533 chrome/utility/importer/firefox_importer.cc item->type = TYPE_FOLDER; item 534 chrome/utility/importer/firefox_importer.cc item->favicon = 0; item 535 chrome/utility/importer/firefox_importer.cc item->empty_folder = true; item 536 chrome/utility/importer/firefox_importer.cc list->push_back(item); item 561 chrome/utility/importer/firefox_importer.cc BookmarkItem* item = new BookmarkItem; item 562 chrome/utility/importer/firefox_importer.cc item->parent = static_cast<int>(position); item 563 chrome/utility/importer/firefox_importer.cc item->id = s.ColumnInt(0); item 564 chrome/utility/importer/firefox_importer.cc item->url = GURL(s.ColumnString(1)); item 565 chrome/utility/importer/firefox_importer.cc item->title = s.ColumnString16(2); item 566 chrome/utility/importer/firefox_importer.cc item->type = static_cast<BookmarkItemType>(s.ColumnInt(3)); item 567 chrome/utility/importer/firefox_importer.cc item->keyword = s.ColumnString(4); item 568 chrome/utility/importer/firefox_importer.cc item->date_added = base::Time::FromTimeT(s.ColumnInt64(5)/1000000); item 569 chrome/utility/importer/firefox_importer.cc item->favicon = s.ColumnInt64(6); item 570 chrome/utility/importer/firefox_importer.cc item->empty_folder = true; item 572 chrome/utility/importer/firefox_importer.cc temp_list.push_back(item); item 559 chrome/utility/importer/ie_importer_win.cc base::win::ScopedComPtr<IEnumPStoreItems, &IID_IEnumPStoreItems> item; item 561 chrome/utility/importer/ie_importer_win.cc &AutocompleteGUID, 0, item.Receive()); item 569 chrome/utility/importer/ie_importer_win.cc while (!cancelled() && SUCCEEDED(item->Next(1, &item_name, 0))) { item 595 chrome/utility/importer/ie_importer_win.cc item.Release(); item 106 chrome/utility/importer/nss_decryptor_mac.h typedef void (*SECITEMFreeItemFunc)(SECItem *item, PRBool free_it); item 103 chrome/utility/importer/nss_decryptor_win.h typedef void (*SECITEMFreeItemFunc)(SECItem *item, PRBool free_it); item 70 chrome/utility/profile_import_handler.cc void ProfileImportHandler::OnImportItemFinished(uint16 item) { item 71 chrome/utility/profile_import_handler.cc items_to_import_ ^= item; // Remove finished item from mask. item 43 chrome/utility/profile_import_handler.h void OnImportItemFinished(uint16 item); item 32 chromeos/network/certificate_pattern.cc std::string item; item 33 chromeos/network/certificate_pattern.cc if (!list->GetString(i, &item)) item 35 chromeos/network/certificate_pattern.cc result->push_back(item); item 291 cloud_print/service/win/cloud_print_service_config.cc const ATL::CWindow& item = GetDlgItem(id); item 292 cloud_print/service/win/cloud_print_service_config.cc size_t length = item.GetWindowTextLength(); item 294 cloud_print/service/win/cloud_print_service_config.cc result.resize(item.GetWindowText(&result[0], result.size())); item 619 components/autofill/content/renderer/form_autofill_util.cc const blink::WebNode& item = children.item(i); item 620 components/autofill/content/renderer/form_autofill_util.cc if (IsWebNodeVisibleImpl(item, depth - 1)) item 903 components/autofill/content/renderer/form_autofill_util.cc for (WebElement item = labels.firstItem(); !item.isNull(); item 904 components/autofill/content/renderer/form_autofill_util.cc item = labels.nextItem()) { item 905 components/autofill/content/renderer/form_autofill_util.cc WebLabelElement label = item.to<WebLabelElement>(); item 1144 components/autofill/content/renderer/form_autofill_util.cc const blink::WebNode& item = children.item(i); item 1146 components/autofill/content/renderer/form_autofill_util.cc if (item.isTextNode() && item 1147 components/autofill/content/renderer/form_autofill_util.cc !base::ContainsOnlyChars(item.nodeValue().utf8(), item 1153 components/autofill/content/renderer/form_autofill_util.cc if (item.nodeName().utf8()[0] == '#') item 1160 components/autofill/content/renderer/form_autofill_util.cc if (HasTagName(item, item 94 components/cloud_devices/description_items_inl.h const base::DictionaryValue* item = item 96 components/cloud_devices/description_items_inl.h if (!item) item 99 components/cloud_devices/description_items_inl.h if (!item->GetList(json::kKeyOption, &options)) item 185 components/dom_distiller/core/distiller.cc const std::string& item) { item 192 components/dom_distiller/core/distiller.cc fetcher->FetchURL(item, item 120 components/dom_distiller/core/distiller.h const std::string& item); item 76 components/dom_distiller/core/page_distiller.cc std::string item; item 77 components/dom_distiller/core/page_distiller.cc (*iter)->GetAsString(&item); item 83 components/dom_distiller/core/page_distiller.cc page_info->title = item; item 86 components/dom_distiller/core/page_distiller.cc page_info->html = item; item 90 components/dom_distiller/core/page_distiller.cc page_info->next_page_url = item; item 93 components/dom_distiller/core/page_distiller.cc page_info->prev_page_url = item; item 96 components/dom_distiller/core/page_distiller.cc if (GURL(item).is_valid()) { item 97 components/dom_distiller/core/page_distiller.cc page_info->image_urls.push_back(item); item 685 components/json_schema/json_schema_validator.cc const base::Value* item = NULL; item 686 components/json_schema/json_schema_validator.cc CHECK(instance->Get(i, &item)); item 689 components/json_schema/json_schema_validator.cc Validate(item, single_type, item_path); item 108 components/json_schema/json_schema_validator_unittest_base.cc base::DictionaryValue* item = NULL; item 109 components/json_schema/json_schema_validator_unittest_base.cc ASSERT_TRUE(instance->GetDictionary(0, &item)); item 110 components/json_schema/json_schema_validator_unittest_base.cc item->SetString("url", "xxxxxxxxxxx"); item 122 components/policy/core/common/policy_loader_win_unittest.cc const base::Value* item; item 123 components/policy/core/common/policy_loader_win_unittest.cc if (!list->Get(i, &item)) item 125 components/policy/core/common/policy_loader_win_unittest.cc if (!InstallValue(*item, hive, path + kPathSep + name, item 22 components/url_matcher/url_matcher_helpers.cc std::string item; item 23 components/url_matcher/url_matcher_helpers.cc if (!value_as_list->GetString(i, &item)) item 25 components/url_matcher/url_matcher_helpers.cc out->push_back(item); item 263 content/browser/android/download_controller_android_impl.cc void DownloadControllerAndroidImpl::OnDownloadUpdated(DownloadItem* item) { item 265 content/browser/android/download_controller_android_impl.cc if (item->IsDangerous() && (item->GetState() != DownloadItem::CANCELLED)) item 266 content/browser/android/download_controller_android_impl.cc OnDangerousDownload(item); item 270 content/browser/android/download_controller_android_impl.cc ConvertUTF8ToJavaString(env, item->GetURL().spec()); item 272 content/browser/android/download_controller_android_impl.cc ConvertUTF8ToJavaString(env, item->GetMimeType()); item 274 content/browser/android/download_controller_android_impl.cc ConvertUTF8ToJavaString(env, item->GetTargetFilePath().value()); item 276 content/browser/android/download_controller_android_impl.cc env, item->GetTargetFilePath().BaseName().value()); item 278 content/browser/android/download_controller_android_impl.cc switch (item->GetState()) { item 281 content/browser/android/download_controller_android_impl.cc item->TimeRemaining(&time_delta); item 285 content/browser/android/download_controller_android_impl.cc jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), true, item 286 content/browser/android/download_controller_android_impl.cc item->GetId(), item->PercentComplete(), time_delta.InMilliseconds()); item 292 content/browser/android/download_controller_android_impl.cc item->RemoveObserver(this); item 298 content/browser/android/download_controller_android_impl.cc jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), true, item 299 content/browser/android/download_controller_android_impl.cc item->GetId()); item 310 content/browser/android/download_controller_android_impl.cc jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), false, item 311 content/browser/android/download_controller_android_impl.cc item->GetId()); item 318 content/browser/android/download_controller_android_impl.cc void DownloadControllerAndroidImpl::OnDangerousDownload(DownloadItem* item) { item 321 content/browser/android/download_controller_android_impl.cc env, item->GetTargetFilePath().BaseName().value()); item 323 content/browser/android/download_controller_android_impl.cc item->GetWebContents()); item 327 content/browser/android/download_controller_android_impl.cc jfilename.obj(), item->GetId()); item 395 content/browser/android/download_controller_android_impl.cc DownloadItem* item = dlm->GetDownload(download_id); item 396 content/browser/android/download_controller_android_impl.cc if (!item) item 399 content/browser/android/download_controller_android_impl.cc item->ValidateDangerousDownload(); item 401 content/browser/android/download_controller_android_impl.cc item->Remove(); item 88 content/browser/android/download_controller_android_impl.h virtual void OnDownloadUpdated(DownloadItem* item) OVERRIDE; item 111 content/browser/android/download_controller_android_impl.h void OnDangerousDownload(DownloadItem *item); item 133 content/browser/database_browsertest.cc std::string item = base::IntToString(i); item 134 content/browser/database_browsertest.cc InsertRecord(shell(), item); item 137 content/browser/database_browsertest.cc expected += item; item 143 content/browser/database_browsertest.cc std::string item = base::IntToString(i * i); item 144 content/browser/database_browsertest.cc UpdateRecord(shell(), i, item); item 147 content/browser/database_browsertest.cc expected += item; item 80 content/browser/devtools/devtools_tracing_handler.cc std::string item; item 83 content/browser/devtools/devtools_tracing_handler.cc base::JSONWriter::Write(item_value, &item); item 86 content/browser/devtools/devtools_tracing_handler.cc buffer.append(item); item 52 content/browser/devtools/renderer_overrides_handler_browsertest.cc base::DictionaryValue* item; item 53 content/browser/devtools/renderer_overrides_handler_browsertest.cc if (!list->GetDictionary(i, &item)) item 56 content/browser/devtools/renderer_overrides_handler_browsertest.cc if (!item->GetString(name, &id)) item 358 content/browser/download/download_browsertest.cc DownloadItem* item, item 70 content/browser/download/download_item_impl.cc base::WeakPtr<DownloadItemImpl> item, item 74 content/browser/download/download_item_impl.cc if (success && item.get()) item 75 content/browser/download/download_item_impl.cc item->OnDownloadedFileRemoved(); item 1416 content/browser/download/download_item_impl.cc DownloadItem* item, item 1420 content/browser/download/download_item_impl.cc if (item) { item 1422 content/browser/download/download_item_impl.cc DCHECK_EQ(static_cast<DownloadItem*>(this), item); item 345 content/browser/download/download_item_impl.h void OnResumeRequestStarted(DownloadItem* item, item 113 content/browser/download/download_item_impl_unittest.cc explicit MockObserver(DownloadItem* item) item 114 content/browser/download/download_item_impl_unittest.cc : item_(item), item 115 content/browser/download/download_item_impl_unittest.cc last_state_(item->GetState()), item 238 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item, item 245 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)) item 249 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)); item 254 content/browser/download/download_item_impl_unittest.cc item->Start(download_file.Pass(), request_handle.Pass()); item 273 content/browser/download/download_item_impl_unittest.cc MockDownloadFile* DoIntermediateRename(DownloadItemImpl* item, item 275 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 276 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->GetTargetFilePath().empty()); item 279 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 294 content/browser/download/download_item_impl_unittest.cc void CleanupItem(DownloadItemImpl* item, item 297 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(expected_state, item->GetState()); item 301 content/browser/download/download_item_impl_unittest.cc item->Cancel(true); item 307 content/browser/download/download_item_impl_unittest.cc void DestroyDownloadItem(DownloadItem* item) { item 308 content/browser/download/download_item_impl_unittest.cc allocated_downloads_.erase(item); item 309 content/browser/download/download_item_impl_unittest.cc delete item; item 342 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 343 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 345 content/browser/download/download_item_impl_unittest.cc item->DestinationUpdate(kDownloadChunkSize, kDownloadSpeed, std::string()); item 347 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(kDownloadSpeed, item->CurrentSpeed()); item 370 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 371 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 373 content/browser/download/download_item_impl_unittest.cc item->OnAllDataSaved(DownloadItem::kEmptyFileHash); item 376 content/browser/download/download_item_impl_unittest.cc item->MarkAsComplete(); item 381 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 382 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 384 content/browser/download/download_item_impl_unittest.cc item->OnDownloadedFileRemoved(); item 389 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 391 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 393 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 398 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 404 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 405 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 407 content/browser/download/download_item_impl_unittest.cc DestroyDownloadItem(item); item 415 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 416 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 419 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 425 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 435 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, download_file, DownloadItem::INTERRUPTED); item 443 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 444 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 447 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 451 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 459 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, download_file, DownloadItem::INTERRUPTED); item 467 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 468 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 471 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 474 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 482 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 490 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, download_file, DownloadItem::INTERRUPTED); item 497 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 499 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()); item 500 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 507 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)) item 530 content/browser/download/download_item_impl_unittest.cc item->Start(download_file.Pass(), request_handle.Pass()); item 547 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 554 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, mock_download_file, DownloadItem::INTERRUPTED); item 558 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 559 content/browser/download/download_item_impl_unittest.cc MockDownloadFile* download_file = AddDownloadFileToDownloadItem(item, NULL); item 562 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 564 content/browser/download/download_item_impl_unittest.cc item->Remove(); item 611 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 614 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 615 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 631 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(new_intermediate_path, item->GetFullPath()); item 633 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, download_file, DownloadItem::IN_PROGRESS); item 637 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 638 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 646 content/browser/download/download_item_impl_unittest.cc item->Start(download_file.Pass(), request_handle.Pass()); item 648 content/browser/download/download_item_impl_unittest.cc item->Pause(); item 651 content/browser/download/download_item_impl_unittest.cc ASSERT_TRUE(item->IsPaused()); item 653 content/browser/download/download_item_impl_unittest.cc item->Resume(); item 658 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, mock_download_file, DownloadItem::IN_PROGRESS); item 662 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 665 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 669 content/browser/download/download_item_impl_unittest.cc item->GetFileNameToReportUser().value()); item 677 content/browser/download/download_item_impl_unittest.cc item->GetFileNameToReportUser().value()); item 678 content/browser/download/download_item_impl_unittest.cc item->SetDisplayName(base::FilePath(FILE_PATH_LITERAL("new.name"))); item 680 content/browser/download/download_item_impl_unittest.cc item->GetFileNameToReportUser().value()); item 681 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, download_file, DownloadItem::IN_PROGRESS); item 688 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 692 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)); item 693 content/browser/download/download_item_impl_unittest.cc item->Start(download_file.Pass(), request_handle.Pass()); item 696 content/browser/download/download_item_impl_unittest.cc CleanupItem(item, mock_download_file, DownloadItem::IN_PROGRESS); item 701 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 704 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 720 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 728 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 737 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 740 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 760 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 762 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 769 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError(reason); item 771 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 772 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(reason, item->GetLastReason()); item 775 content/browser/download/download_item_impl_unittest.cc item->Cancel(true); item 776 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::CANCELLED, item->GetState()); item 777 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_USER_CANCELED, item->GetLastReason()); item 783 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 786 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 787 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 789 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 807 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 808 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->GetFullPath().empty()); item 809 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(final_path, item->GetTargetFilePath()); item 818 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 821 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 822 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 824 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 843 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 844 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(new_intermediate_path, item->GetFullPath()); item 845 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(final_path, item->GetTargetFilePath()); item 853 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 856 content/browser/download/download_item_impl_unittest.cc AddDownloadFileToDownloadItem(item, &callback); item 857 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 859 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 877 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 878 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED, item->GetLastReason()); item 879 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->GetFullPath().empty()); item 880 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(final_path, item->GetTargetFilePath()); item 884 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 885 content/browser/download/download_item_impl_unittest.cc MockDownloadFile* download_file = AddDownloadFileToDownloadItem(item, NULL); item 889 content/browser/download/download_item_impl_unittest.cc item->Cancel(true); item 890 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::CANCELLED, item->GetState()); item 894 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 896 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->GetFileExternallyRemoved()); item 897 content/browser/download/download_item_impl_unittest.cc item->OnDownloadedFileRemoved(); item 898 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->GetFileExternallyRemoved()); item 902 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 904 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()); item 905 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 907 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(0l, item->CurrentSpeed()); item 908 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("", item->GetHashState()); item 909 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(0l, item->GetReceivedBytes()); item 910 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(0l, item->GetTotalBytes()); item 912 content/browser/download/download_item_impl_unittest.cc item->SetTotalBytes(100l); item 913 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(100l, item->GetTotalBytes()); item 916 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(20l, item->CurrentSpeed()); item 917 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("deadbeef", item->GetHashState()); item 918 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(10l, item->GetReceivedBytes()); item 919 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(100l, item->GetTotalBytes()); item 923 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(20l, item->CurrentSpeed()); item 924 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("livebeef", item->GetHashState()); item 925 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(200l, item->GetReceivedBytes()); item 926 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(0l, item->GetTotalBytes()); item 931 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 933 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 935 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()); item 936 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 938 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 939 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, item->GetLastReason()); item 947 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 949 content/browser/download/download_item_impl_unittest.cc item->GetLastReason()); item 953 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 955 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()); item 956 content/browser/download/download_item_impl_unittest.cc MockObserver observer(item); item 958 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 959 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("", item->GetHash()); item 960 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("", item->GetHashState()); item 961 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->AllDataSaved()); item 967 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 968 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("", item->GetHash()); item 969 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("deadbeef", item->GetHashState()); item 970 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->AllDataSaved()); item 974 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 976 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("livebeef", item->GetHash()); item 977 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ("", item->GetHashState()); item 978 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->AllDataSaved()); item 982 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 984 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 987 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 988 content/browser/download/download_item_impl_unittest.cc ASSERT_FALSE(item->GetTargetFilePath().empty()); item 989 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->CanShowInFolder()); item 990 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->CanOpenDownload()); item 996 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1001 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1004 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1005 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->CanShowInFolder()); item 1006 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->CanOpenDownload()); item 1010 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1012 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1013 content/browser/download/download_item_impl_unittest.cc item->SetIsTemporary(true); item 1016 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1017 content/browser/download/download_item_impl_unittest.cc ASSERT_FALSE(item->GetTargetFilePath().empty()); item 1018 content/browser/download/download_item_impl_unittest.cc ASSERT_TRUE(item->IsTemporary()); item 1019 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanShowInFolder()); item 1020 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanOpenDownload()); item 1023 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1031 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1034 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1035 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanShowInFolder()); item 1036 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanOpenDownload()); item 1040 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1042 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1045 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 1049 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::INTERRUPTED, item->GetState()); item 1050 content/browser/download/download_item_impl_unittest.cc ASSERT_FALSE(item->GetTargetFilePath().empty()); item 1051 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanShowInFolder()); item 1052 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanOpenDownload()); item 1056 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1058 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1061 content/browser/download/download_item_impl_unittest.cc item->Cancel(true); item 1064 content/browser/download/download_item_impl_unittest.cc ASSERT_EQ(DownloadItem::CANCELLED, item->GetState()); item 1065 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanShowInFolder()); item 1066 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->CanOpenDownload()); item 1075 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1077 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1080 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1082 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1083 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1084 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->IsDangerous()); item 1090 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(item, _)) item 1096 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1103 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1105 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1110 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1114 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1118 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1121 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1122 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->IsDangerous()); item 1128 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(item, _)) item 1134 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1141 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1143 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1148 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1152 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1156 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->IsDangerous()); item 1157 content/browser/download/download_item_impl_unittest.cc item->OnContentCheckCompleted( item 1159 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1162 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1163 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->IsDangerous()); item 1169 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(item, _)) item 1175 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1176 content/browser/download/download_item_impl_unittest.cc EXPECT_TRUE(item->IsDangerous()); item 1178 content/browser/download/download_item_impl_unittest.cc item->ValidateDangerousDownload(); item 1179 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DOWNLOAD_DANGER_TYPE_USER_VALIDATED, item->GetDangerType()); item 1181 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1188 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1190 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS); item 1195 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) item 1201 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationCompleted(std::string()); item 1205 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1210 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1213 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::IN_PROGRESS, item->GetState()); item 1214 content/browser/download/download_item_impl_unittest.cc EXPECT_FALSE(item->IsDangerous()); item 1220 content/browser/download/download_item_impl_unittest.cc EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(item, _)) item 1226 content/browser/download/download_item_impl_unittest.cc EXPECT_EQ(DownloadItem::COMPLETE, item->GetState()); item 1230 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1232 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE); item 1233 content/browser/download/download_item_impl_unittest.cc ASSERT_TRUE(item->IsDangerous()); item 1242 content/browser/download/download_item_impl_unittest.cc item->StealDangerousDownload( item 1254 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1256 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE); item 1257 content/browser/download/download_item_impl_unittest.cc base::FilePath full_path = item->GetFullPath(); item 1262 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 1264 content/browser/download/download_item_impl_unittest.cc ASSERT_TRUE(item->IsDangerous()); item 1268 content/browser/download/download_item_impl_unittest.cc item->StealDangerousDownload( item 1280 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* item = CreateDownloadItem(); item 1282 content/browser/download/download_item_impl_unittest.cc DoIntermediateRename(item, DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE); item 1284 content/browser/download/download_item_impl_unittest.cc item->DestinationObserverAsWeakPtr()->DestinationError( item 1286 content/browser/download/download_item_impl_unittest.cc ASSERT_TRUE(item->IsDangerous()); item 1290 content/browser/download/download_item_impl_unittest.cc item->StealDangerousDownload( item 268 content/browser/download/download_manager_impl.cc DownloadItemImpl* item, const DownloadTargetCallback& callback) { item 274 content/browser/download/download_manager_impl.cc if (!delegate_ || !delegate_->DetermineDownloadTarget(item, callback)) { item 275 content/browser/download/download_manager_impl.cc base::FilePath target_path = item->GetForcedFilePath(); item 285 content/browser/download/download_manager_impl.cc DownloadItemImpl* item, const base::Closure& complete_callback) { item 287 content/browser/download/download_manager_impl.cc delegate_->ShouldCompleteDownload(item, complete_callback)) { item 304 content/browser/download/download_manager_impl.cc DownloadItemImpl* item, const ShouldOpenDownloadCallback& callback) { item 311 content/browser/download/download_manager_impl.cc return delegate_->ShouldOpenDownload(item, callback); item 447 content/browser/download/download_manager_impl.cc DownloadItemImpl* item = it->second; item 448 content/browser/download/download_manager_impl.cc CheckForFileRemoval(item); item 636 content/browser/download/download_manager_impl.cc DownloadItemImpl* item = item_factory_->CreatePersistedItem( item 654 content/browser/download/download_manager_impl.cc downloads_[id] = item; item 655 content/browser/download/download_manager_impl.cc FOR_EACH_OBSERVER(Observer, observers_, OnDownloadCreated(this, item)); item 656 content/browser/download/download_manager_impl.cc VLOG(20) << __FUNCTION__ << "() download = " << item->DebugString(true); item 657 content/browser/download/download_manager_impl.cc return item; item 701 content/browser/download/download_manager_impl.cc DownloadItemImpl* item = it->second; item 702 content/browser/download/download_manager_impl.cc if ((item->GetState() == DownloadItem::COMPLETE) && item 703 content/browser/download/download_manager_impl.cc !item->GetOpened()) item 145 content/browser/download/download_manager_impl.h DownloadItemImpl* item, const DownloadTargetCallback& callback) OVERRIDE; item 147 content/browser/download/download_manager_impl.h DownloadItemImpl* item, const base::Closure& complete_callback) OVERRIDE; item 151 content/browser/download/download_manager_impl.h DownloadItemImpl* item, item 187 content/browser/download/download_manager_impl_unittest.cc bool(DownloadItem* item, item 497 content/browser/download/download_manager_impl_unittest.cc item = mock_download_item_factory_->PopItem()) { item 498 content/browser/download/download_manager_impl_unittest.cc EXPECT_CALL(*item, GetState()) item 525 content/browser/download/download_manager_impl_unittest.cc MockDownloadItemImpl& item(*mock_download_item_factory_->GetItem(id)); item 530 content/browser/download/download_manager_impl_unittest.cc item.Start(scoped_ptr<DownloadFile>(), req_handle.Pass()); item 532 content/browser/download/download_manager_impl_unittest.cc return item; item 567 content/browser/download/download_manager_impl_unittest.cc void DetermineDownloadTarget(DownloadItemImpl* item) { item 569 content/browser/download/download_manager_impl_unittest.cc item, base::Bind( item 636 content/browser/download/download_manager_impl_unittest.cc MockDownloadItemImpl& item(AddItemToManager()); item 637 content/browser/download/download_manager_impl_unittest.cc EXPECT_CALL(item, GetState()) item 641 content/browser/download/download_manager_impl_unittest.cc DetermineDownloadTarget(&item, _)) item 643 content/browser/download/download_manager_impl_unittest.cc DetermineDownloadTarget(&item); item 650 content/browser/download/download_manager_impl_unittest.cc MockDownloadItemImpl& item(AddItemToManager()); item 654 content/browser/download/download_manager_impl_unittest.cc DetermineDownloadTarget(&item, _)) item 656 content/browser/download/download_manager_impl_unittest.cc EXPECT_CALL(item, GetForcedFilePath()) item 661 content/browser/download/download_manager_impl_unittest.cc DetermineDownloadTarget(&item); item 673 content/browser/download/download_manager_impl_unittest.cc MockDownloadItemImpl& item(AddItemToManager()); item 674 content/browser/download/download_manager_impl_unittest.cc EXPECT_EQ(i, item.GetId()); item 675 content/browser/download/download_manager_impl_unittest.cc EXPECT_CALL(item, GetStartTime()) item 47 content/browser/download/download_resource_handler.cc DownloadItem* item, item 53 content/browser/download/download_resource_handler.cc started_cb.Run(item, interrupt_reason); item 257 content/browser/download/download_resource_handler.cc DownloadItem* item, item 266 content/browser/download/download_resource_handler.cc &CallStartedCBOnUIThread, started_cb_, item, interrupt_reason)); item 105 content/browser/download/download_resource_handler.h void CallStartedCB(DownloadItem* item, item 92 content/browser/download/drag_download_file.cc void OnDownloadStarted(DownloadItem* item, item 95 content/browser/download/drag_download_file.cc if (!item) { item 101 content/browser/download/drag_download_file.cc download_item_ = item; item 106 content/browser/download/drag_download_file.cc virtual void OnDownloadUpdated(DownloadItem* item) OVERRIDE { item 108 content/browser/download/drag_download_file.cc DCHECK_EQ(download_item_, item); item 124 content/browser/download/drag_download_file.cc virtual void OnDownloadDestroyed(DownloadItem* item) OVERRIDE { item 126 content/browser/download/drag_download_file.cc DCHECK_EQ(download_item_, item); item 330 content/browser/download/save_package.cc DownloadItemImpl* item) { item 332 content/browser/download/save_package.cc DCHECK(item); item 333 content/browser/download/save_package.cc download_ = item; item 129 content/browser/download/save_package.h DownloadItemImpl* item); item 524 content/browser/fileapi/fileapi_message_filter.cc const std::string& uuid, const BlobData::Item& item) { item 526 content/browser/fileapi/fileapi_message_filter.cc if (item.type() == BlobData::Item::TYPE_FILE_FILESYSTEM) { item 527 content/browser/fileapi/fileapi_message_filter.cc FileSystemURL filesystem_url(context_->CrackURL(item.filesystem_url())); item 534 content/browser/fileapi/fileapi_message_filter.cc if (item.type() == BlobData::Item::TYPE_FILE && item 535 content/browser/fileapi/fileapi_message_filter.cc !security_policy_->CanReadFile(process_id_, item.path())) { item 539 content/browser/fileapi/fileapi_message_filter.cc if (item.length() == 0) { item 543 content/browser/fileapi/fileapi_message_filter.cc ignore_result(blob_storage_host_->AppendBlobDataItem(uuid, item)); item 565 content/browser/fileapi/fileapi_message_filter.cc BlobData::Item item; item 566 content/browser/fileapi/fileapi_message_filter.cc item.SetToSharedBytes(static_cast<char*>(shared_memory.memory()), item 568 content/browser/fileapi/fileapi_message_filter.cc ignore_result(blob_storage_host_->AppendBlobDataItem(uuid, item)); item 618 content/browser/fileapi/fileapi_message_filter.cc const GURL& url, const BlobData::Item& item) { item 628 content/browser/fileapi/fileapi_message_filter.cc if (item.type() != BlobData::Item::TYPE_BYTES) { item 632 content/browser/fileapi/fileapi_message_filter.cc stream->AddData(item.bytes(), item.length()); item 134 content/browser/fileapi/fileapi_message_filter.h const webkit_blob::BlobData::Item& item); item 155 content/browser/fileapi/fileapi_message_filter.h const GURL& url, const webkit_blob::BlobData::Item& item); item 209 content/browser/fileapi/fileapi_message_filter_unittest.cc webkit_blob::BlobData::Item item; item 211 content/browser/fileapi/fileapi_message_filter_unittest.cc item.SetToBytes(kFakeData.data(), kFakeData.size()); item 212 content/browser/fileapi/fileapi_message_filter_unittest.cc StreamHostMsg_AppendBlobDataItem append_message(kUrl, item); item 250 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc size_t item = event.number; item 252 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (item >= WebGamepad::axesLengthCap) item 254 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.axes[item] = event.value / kMaxLinuxAxisValue; item 255 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (item >= pad.axesLength) item 256 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.axesLength = item + 1; item 258 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (item >= WebGamepad::buttonsLengthCap) item 260 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.buttons[item].pressed = event.value; item 261 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.buttons[item].value = event.value ? 1.0 : 0.0; item 262 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc if (item >= pad.buttonsLength) item 263 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc pad.buttonsLength = item + 1; item 201 content/browser/gamepad/gamepad_standard_mappings_linux.cc MappingData& item = AvailableMappings[i]; item 202 content/browser/gamepad/gamepad_standard_mappings_linux.cc if (vendor_id == item.vendor_id && product_id == item.product_id) item 203 content/browser/gamepad/gamepad_standard_mappings_linux.cc return item.function; item 123 content/browser/gamepad/gamepad_standard_mappings_win.cc MappingData& item = AvailableMappings[i]; item 124 content/browser/gamepad/gamepad_standard_mappings_win.cc if (vendor_id == item.vendor_id && product_id == item.product_id) item 125 content/browser/gamepad/gamepad_standard_mappings_win.cc return item.function; item 549 content/browser/geolocation/network_location_provider_unittest.cc const Geoposition* item = item 551 content/browser/geolocation/network_location_provider_unittest.cc ASSERT_TRUE(item) << i; item 552 content/browser/geolocation/network_location_provider_unittest.cc EXPECT_EQ(pos.latitude, item->latitude) << i; item 553 content/browser/geolocation/network_location_provider_unittest.cc EXPECT_EQ(pos.longitude, item->longitude) << i; item 307 content/browser/indexed_db/indexed_db_internals_ui.cc virtual void OnDownloadOpened(DownloadItem* item) OVERRIDE {} item 308 content/browser/indexed_db/indexed_db_internals_ui.cc virtual void OnDownloadRemoved(DownloadItem* item) OVERRIDE {} item 309 content/browser/indexed_db/indexed_db_internals_ui.cc virtual void OnDownloadDestroyed(DownloadItem* item) OVERRIDE {} item 315 content/browser/indexed_db/indexed_db_internals_ui.cc void FileDeleter::OnDownloadUpdated(DownloadItem* item) { item 316 content/browser/indexed_db/indexed_db_internals_ui.cc switch (item->GetState()) { item 322 content/browser/indexed_db/indexed_db_internals_ui.cc item->RemoveObserver(this); item 342 content/browser/indexed_db/indexed_db_internals_ui.cc DownloadItem* item, item 351 content/browser/indexed_db/indexed_db_internals_ui.cc item->AddObserver(new FileDeleter(temp_path)); item 55 content/browser/indexed_db/indexed_db_internals_ui.h DownloadItem* item, item 50 content/browser/loader/resource_dispatcher_host_browsertest.cc DownloadItem* item) OVERRIDE { item 84 content/browser/loader/upload_data_stream_builder.cc const BlobData::Item& item = handle->data()->items().at(i); item 85 content/browser/loader/upload_data_stream_builder.cc DCHECK_NE(BlobData::Item::TYPE_BLOB, item.type()); item 86 content/browser/loader/upload_data_stream_builder.cc resolved_elements->push_back(&item); item 42 content/browser/renderer_data_memoizing_store.h int Store(T* item, int process_id) { item 43 content/browser/renderer_data_memoizing_store.h DCHECK(item); item 49 content/browser/renderer_data_memoizing_store.h typename ReverseItemMap::iterator item_iter = item_to_id_.find(item); item 56 content/browser/renderer_data_memoizing_store.h id_to_item_[item_id] = item; item 57 content/browser/renderer_data_memoizing_store.h item_to_id_[item] = item_id; item 100 content/browser/renderer_data_memoizing_store.h bool Retrieve(int item_id, scoped_refptr<T>* item) { item 106 content/browser/renderer_data_memoizing_store.h if (item) item 107 content/browser/renderer_data_memoizing_store.h *item = iter->second; item 59 content/child/webblobregistry_impl.cc webkit_blob::BlobData::Item item; item 60 content/child/webblobregistry_impl.cc item.SetToFilePathRange( item 66 content/child/webblobregistry_impl.cc new BlobHostMsg_AppendBlobDataItem(uuid_str, item)); item 71 content/child/webblobregistry_impl.cc webkit_blob::BlobData::Item item; item 72 content/child/webblobregistry_impl.cc item.SetToBlobRange( item 77 content/child/webblobregistry_impl.cc new BlobHostMsg_AppendBlobDataItem(uuid_str, item)); item 84 content/child/webblobregistry_impl.cc webkit_blob::BlobData::Item item; item 85 content/child/webblobregistry_impl.cc item.SetToFileSystemUrlRange( item 91 content/child/webblobregistry_impl.cc new BlobHostMsg_AppendBlobDataItem(uuid_str, item)); item 125 content/child/webblobregistry_impl.cc webkit_blob::BlobData::Item item; item 126 content/child/webblobregistry_impl.cc item.SetToBytes(data.data(), data.size()); item 127 content/child/webblobregistry_impl.cc sender_->Send(new BlobHostMsg_AppendBlobDataItem(uuid_str, item)); item 171 content/child/webblobregistry_impl.cc webkit_blob::BlobData::Item item; item 172 content/child/webblobregistry_impl.cc item.SetToBytes(data.data(), data.size()); item 173 content/child/webblobregistry_impl.cc sender_->Send(new StreamHostMsg_AppendBlobDataItem(url, item)); item 176 content/child/webcrypto/platform_crypto_nss.cc SECItem item = { item 180 content/child/webcrypto/platform_crypto_nss.cc return item; item 546 content/child/webcrypto/platform_crypto_nss.cc void CopySECItemToVector(const SECItem& item, std::vector<uint8>* out) { item 547 content/child/webcrypto/platform_crypto_nss.cc out->assign(item.data, item.data + item.len); item 119 content/common/gpu/client/gl_helper_unittest.cc base::Value* item = NULL; item 120 content/common/gpu/client/gl_helper_unittest.cc if (list->Get(i, &item)) { item 122 content/common/gpu/client/gl_helper_unittest.cc CHECK(item->GetAsDictionary(&dict)); item 126 content/common/gpu/media/vaapi_wrapper.cc VADisplayAttribute item = {VADisplayAttribRenderMode, item 132 content/common/gpu/media/vaapi_wrapper.cc VAStatus va_res = vaSetDisplayAttributes(va_display_, &item, 1); item 133 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java public boolean onActionItemClicked(ActionMode mode, MenuItem item) { item 134 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java int id = item.getItemId(); item 84 content/public/browser/download_manager.h DownloadManager* manager, DownloadItem* item) {} item 88 content/public/browser/download_manager.h DownloadManager* manager, DownloadItem* item) {} item 16 content/public/browser/download_manager_delegate.cc DownloadItem* item, item 27 content/public/browser/download_manager_delegate.cc DownloadItem* item, item 33 content/public/browser/download_manager_delegate.cc DownloadItem* item, const DownloadOpenDelayedCallback& callback) { item 79 content/public/browser/download_manager_delegate.h virtual bool DetermineDownloadTarget(DownloadItem* item, item 92 content/public/browser/download_manager_delegate.h DownloadItem* item, item 99 content/public/browser/download_manager_delegate.h virtual bool ShouldOpenDownload(DownloadItem* item, item 42 content/public/browser/render_widget_host_view_mac_delegate.h - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item item 18 content/public/common/menu_item.cc MenuItem::MenuItem(const MenuItem& item) item 19 content/public/common/menu_item.cc : label(item.label), item 20 content/public/common/menu_item.cc tool_tip(item.tool_tip), item 21 content/public/common/menu_item.cc type(item.type), item 22 content/public/common/menu_item.cc action(item.action), item 23 content/public/common/menu_item.cc rtl(item.rtl), item 24 content/public/common/menu_item.cc has_directional_override(item.has_directional_override), item 25 content/public/common/menu_item.cc enabled(item.enabled), item 26 content/public/common/menu_item.cc checked(item.checked), item 27 content/public/common/menu_item.cc submenu(item.submenu) { item 28 content/public/common/menu_item.h MenuItem(const MenuItem& item); item 82 content/public/renderer/history_item_serialization.cc bool RecursivelyGenerateFrameState(const WebHistoryItem& item, item 84 content/public/renderer/history_item_serialization.cc state->url_string = item.urlString(); item 85 content/public/renderer/history_item_serialization.cc state->referrer = item.referrer(); item 86 content/public/renderer/history_item_serialization.cc state->referrer_policy = item.referrerPolicy(); item 87 content/public/renderer/history_item_serialization.cc state->target = item.target(); item 88 content/public/renderer/history_item_serialization.cc if (!item.stateObject().isNull()) item 89 content/public/renderer/history_item_serialization.cc state->state_object = item.stateObject().toString(); item 90 content/public/renderer/history_item_serialization.cc state->scroll_offset = item.scrollOffset(); item 91 content/public/renderer/history_item_serialization.cc state->item_sequence_number = item.itemSequenceNumber(); item 93 content/public/renderer/history_item_serialization.cc item.documentSequenceNumber(); item 94 content/public/renderer/history_item_serialization.cc state->page_scale_factor = item.pageScaleFactor(); item 95 content/public/renderer/history_item_serialization.cc ToNullableString16Vector(item.documentState(), &state->document_state); item 97 content/public/renderer/history_item_serialization.cc state->http_body.http_content_type = item.httpContentType(); item 98 content/public/renderer/history_item_serialization.cc const WebHTTPBody& http_body = item.httpBody(); item 110 content/public/renderer/history_item_serialization.cc const WebVector<WebHistoryItem>& children = item.children(); item 121 content/public/renderer/history_item_serialization.cc WebHistoryItem* item) { item 122 content/public/renderer/history_item_serialization.cc item->setURLString(state.url_string); item 123 content/public/renderer/history_item_serialization.cc item->setReferrer(state.referrer, state.referrer_policy); item 124 content/public/renderer/history_item_serialization.cc item->setTarget(state.target); item 126 content/public/renderer/history_item_serialization.cc item->setStateObject( item 129 content/public/renderer/history_item_serialization.cc item->setDocumentState(state.document_state); item 130 content/public/renderer/history_item_serialization.cc item->setScrollOffset(state.scroll_offset); item 131 content/public/renderer/history_item_serialization.cc item->setPageScaleFactor(state.page_scale_factor); item 137 content/public/renderer/history_item_serialization.cc item->setItemSequenceNumber(state.item_sequence_number); item 139 content/public/renderer/history_item_serialization.cc item->setDocumentSequenceNumber(state.document_sequence_number); item 141 content/public/renderer/history_item_serialization.cc item->setHTTPContentType(state.http_body.http_content_type); item 148 content/public/renderer/history_item_serialization.cc item->setHTTPBody(http_body); item 156 content/public/renderer/history_item_serialization.cc item->appendToChildren(child_item); item 164 content/public/renderer/history_item_serialization.cc PageState HistoryItemToPageState(const WebHistoryItem& item) { item 166 content/public/renderer/history_item_serialization.cc ToNullableString16Vector(item.getReferencedFilePaths(), item 169 content/public/renderer/history_item_serialization.cc if (!RecursivelyGenerateFrameState(item, &state.top)) item 184 content/public/renderer/history_item_serialization.cc WebHistoryItem item; item 185 content/public/renderer/history_item_serialization.cc item.initialize(); item 186 content/public/renderer/history_item_serialization.cc if (!RecursivelyGenerateHistoryItem(state.top, &item)) item 189 content/public/renderer/history_item_serialization.cc return item; item 20 content/public/renderer/history_item_serialization.h const blink::WebHistoryItem& item); item 22 content/public/test/download_test_observer.cc DownloadItem* item, DownloadUpdatedObserver::EventFilter filter) item 23 content/public/test/download_test_observer.cc : item_(item), item 27 content/public/test/download_test_observer.cc item->AddObserver(this); item 47 content/public/test/download_test_observer.cc void DownloadUpdatedObserver::OnDownloadUpdated(DownloadItem* item) { item 48 content/public/test/download_test_observer.cc DCHECK_EQ(item_, item); item 55 content/public/test/download_test_observer.cc void DownloadUpdatedObserver::OnDownloadDestroyed(DownloadItem* item) { item 56 content/public/test/download_test_observer.cc DCHECK_EQ(item_, item); item 117 content/public/test/download_test_observer.cc DownloadItem* item) { item 121 content/public/test/download_test_observer.cc OnDownloadUpdated(item); item 122 content/public/test/download_test_observer.cc DownloadSet::const_iterator finished_it(finished_downloads_.find(item)); item 125 content/public/test/download_test_observer.cc item->AddObserver(this); item 126 content/public/test/download_test_observer.cc downloads_observed_.insert(item); item 327 content/public/test/download_test_observer.cc DownloadItem* item) { item 435 content/public/test/download_test_observer.cc DownloadItem* item, item 439 content/public/test/download_test_observer.cc if (item) item 440 content/public/test/download_test_observer.cc download_id_ = item->GetId(); item 29 content/public/test/download_test_observer.h DownloadUpdatedObserver(DownloadItem* item, EventFilter filter); item 40 content/public/test/download_test_observer.h virtual void OnDownloadUpdated(DownloadItem* item) OVERRIDE; item 41 content/public/test/download_test_observer.h virtual void OnDownloadDestroyed(DownloadItem* item) OVERRIDE; item 91 content/public/test/download_test_observer.h DownloadManager* manager, DownloadItem* item) OVERRIDE; item 245 content/public/test/download_test_observer.h DownloadItem* item) OVERRIDE; item 298 content/public/test/download_test_observer.h void DownloadItemCreationCallback(DownloadItem* item, item 127 content/public/test/render_view_test.cc void RenderViewTest::GoBack(const blink::WebHistoryItem& item) { item 128 content/public/test/render_view_test.cc GoToOffset(-1, item); item 131 content/public/test/render_view_test.cc void RenderViewTest::GoForward(const blink::WebHistoryItem& item) { item 132 content/public/test/render_view_test.cc GoToOffset(1, item); item 82 content/public/test/render_view_test.h void GoBack(const blink::WebHistoryItem& item); item 83 content/public/test/render_view_test.h void GoForward(const blink::WebHistoryItem& item); item 26 content/renderer/drop_data_builder.cc const WebDragData::Item& item = item_list[i]; item 27 content/renderer/drop_data_builder.cc switch (item.storageType) { item 29 content/renderer/drop_data_builder.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeText)) { item 30 content/renderer/drop_data_builder.cc result.text = base::NullableString16(item.stringData, false); item 33 content/renderer/drop_data_builder.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeURIList)) { item 34 content/renderer/drop_data_builder.cc result.url = GURL(item.stringData); item 35 content/renderer/drop_data_builder.cc result.url_title = item.title; item 38 content/renderer/drop_data_builder.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeDownloadURL)) { item 39 content/renderer/drop_data_builder.cc result.download_metadata = item.stringData; item 42 content/renderer/drop_data_builder.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeHTML)) { item 43 content/renderer/drop_data_builder.cc result.html = base::NullableString16(item.stringData, false); item 44 content/renderer/drop_data_builder.cc result.html_base_url = item.baseURL; item 48 content/renderer/drop_data_builder.cc std::make_pair(item.stringType, item.stringData)); item 52 content/renderer/drop_data_builder.cc result.file_contents.assign(item.binaryData.data(), item 53 content/renderer/drop_data_builder.cc item.binaryData.size()); item 54 content/renderer/drop_data_builder.cc result.file_description_filename = item.title; item 59 content/renderer/drop_data_builder.cc base::FilePath::FromUTF16Unsafe(item.filenameData), item 60 content/renderer/drop_data_builder.cc base::FilePath::FromUTF16Unsafe(item.displayNameData))); item 30 content/renderer/media/tagged_list.h void AddAndTag(ItemType* item) { item 31 content/renderer/media/tagged_list.h items_.push_back(item); item 32 content/renderer/media/tagged_list.h tagged_items_.push_back(item); item 11 content/renderer/menu_item_builder.cc MenuItem MenuItemBuilder::Build(const blink::WebMenuItemInfo& item) { item 14 content/renderer/menu_item_builder.cc result.label = item.label; item 15 content/renderer/menu_item_builder.cc result.tool_tip = item.toolTip; item 16 content/renderer/menu_item_builder.cc result.type = static_cast<MenuItem::Type>(item.type); item 17 content/renderer/menu_item_builder.cc result.action = item.action; item 18 content/renderer/menu_item_builder.cc result.rtl = (item.textDirection == blink::WebTextDirectionRightToLeft); item 19 content/renderer/menu_item_builder.cc result.has_directional_override = item.hasTextDirectionOverride; item 20 content/renderer/menu_item_builder.cc result.enabled = item.enabled; item 21 content/renderer/menu_item_builder.cc result.checked = item.checked; item 22 content/renderer/menu_item_builder.cc for (size_t i = 0; i < item.subMenuItems.size(); ++i) item 23 content/renderer/menu_item_builder.cc result.submenu.push_back(MenuItemBuilder::Build(item.subMenuItems[i])); item 17 content/renderer/menu_item_builder.h static MenuItem Build(const blink::WebMenuItemInfo& item); item 146 content/renderer/pepper/url_request_info_util.cc const URLRequestInfoData::BodyItem& item = data->body[i]; item 147 content/renderer/pepper/url_request_info_util.cc if (item.is_file) { item 149 content/renderer/pepper/url_request_info_util.cc item.file_ref_pp_resource, item 150 content/renderer/pepper/url_request_info_util.cc item.start_offset, item 151 content/renderer/pepper/url_request_info_util.cc item.number_of_bytes, item 152 content/renderer/pepper/url_request_info_util.cc item.expected_last_modified_time, item 157 content/renderer/pepper/url_request_info_util.cc DCHECK(!item.data.empty()); item 158 content/renderer/pepper/url_request_info_util.cc http_body.appendData(WebData(item.data)); item 146 content/renderer/render_frame_impl.cc int64 ExtractPostId(const WebHistoryItem& item) { item 147 content/renderer/render_frame_impl.cc if (item.isNull()) item 150 content/renderer/render_frame_impl.cc if (item.httpBody().isNull()) item 153 content/renderer/render_frame_impl.cc return item.httpBody().identifier(); item 702 content/renderer/render_frame_impl.cc WebHistoryItem item = PageStateToHistoryItem(params.page_state); item 703 content/renderer/render_frame_impl.cc if (!item.isNull()) { item 706 content/renderer/render_frame_impl.cc CHECK(item.urlString() != WebString::fromUTF8(kSwappedOutURL)); item 707 content/renderer/render_frame_impl.cc frame->loadHistoryItem(item, cache_policy); item 1722 content/renderer/render_frame_impl.cc const blink::WebHistoryItem& item, item 1726 content/renderer/render_frame_impl.cc render_view_->webview()->updateForCommit(frame, item, commit_type, item 1953 content/renderer/render_frame_impl.cc const blink::WebHistoryItem& item, item 1970 content/renderer/render_frame_impl.cc didCommitProvisionalLoad(frame, item, commit_type); item 2596 content/renderer/render_frame_impl.cc WebHistoryItem item = frame->currentHistoryItem(); item 2597 content/renderer/render_frame_impl.cc if (item.isNull()) { item 2598 content/renderer/render_frame_impl.cc item.initialize(); item 2599 content/renderer/render_frame_impl.cc item.setURLString(request.url().spec().utf16()); item 2601 content/renderer/render_frame_impl.cc params.page_state = HistoryItemToPageState(item); item 2666 content/renderer/render_frame_impl.cc params.post_id = ExtractPostId(item); item 260 content/renderer/render_frame_impl.h const blink::WebHistoryItem& item, item 278 content/renderer/render_frame_impl.h const blink::WebHistoryItem& item, item 371 content/renderer/render_view_browsertest.cc const blink::WebHistoryItem item = PageStateToHistoryItem( item 373 content/renderer/render_view_browsertest.cc blink::WebHTTPBody body = item.httpBody(); item 585 content/renderer/render_view_impl.cc WebDragData::Item item; item 586 content/renderer/render_view_impl.cc item.storageType = WebDragData::Item::StorageTypeString; item 587 content/renderer/render_view_impl.cc item.stringType = WebString::fromUTF8(ui::Clipboard::kMimeTypeText); item 588 content/renderer/render_view_impl.cc item.stringData = drop_data.text.string(); item 589 content/renderer/render_view_impl.cc item_list.push_back(item); item 595 content/renderer/render_view_impl.cc WebDragData::Item item; item 596 content/renderer/render_view_impl.cc item.storageType = WebDragData::Item::StorageTypeString; item 597 content/renderer/render_view_impl.cc item.stringType = WebString::fromUTF8(ui::Clipboard::kMimeTypeURIList); item 598 content/renderer/render_view_impl.cc item.stringData = WebString::fromUTF8(drop_data.url.spec()); item 599 content/renderer/render_view_impl.cc item.title = drop_data.url_title; item 600 content/renderer/render_view_impl.cc item_list.push_back(item); item 604 content/renderer/render_view_impl.cc WebDragData::Item item; item 605 content/renderer/render_view_impl.cc item.storageType = WebDragData::Item::StorageTypeString; item 606 content/renderer/render_view_impl.cc item.stringType = WebString::fromUTF8(ui::Clipboard::kMimeTypeHTML); item 607 content/renderer/render_view_impl.cc item.stringData = drop_data.html.string(); item 608 content/renderer/render_view_impl.cc item.baseURL = drop_data.html_base_url; item 609 content/renderer/render_view_impl.cc item_list.push_back(item); item 616 content/renderer/render_view_impl.cc WebDragData::Item item; item 617 content/renderer/render_view_impl.cc item.storageType = WebDragData::Item::StorageTypeFilename; item 618 content/renderer/render_view_impl.cc item.filenameData = it->path.AsUTF16Unsafe(); item 619 content/renderer/render_view_impl.cc item.displayNameData = it->display_name.AsUTF16Unsafe(); item 620 content/renderer/render_view_impl.cc item_list.push_back(item); item 627 content/renderer/render_view_impl.cc WebDragData::Item item; item 628 content/renderer/render_view_impl.cc item.storageType = WebDragData::Item::StorageTypeString; item 629 content/renderer/render_view_impl.cc item.stringType = it->first; item 630 content/renderer/render_view_impl.cc item.stringData = it->second; item 631 content/renderer/render_view_impl.cc item_list.push_back(item); item 1372 content/renderer/render_view_impl.cc const WebHistoryItem& item = item 1374 content/renderer/render_view_impl.cc SendUpdateState(item); item 1377 content/renderer/render_view_impl.cc void RenderViewImpl::SendUpdateState(const WebHistoryItem& item) { item 1378 content/renderer/render_view_impl.cc if (item.isNull()) item 1382 content/renderer/render_view_impl.cc if (item.urlString() == WebString::fromUTF8(kSwappedOutURL)) item 1386 content/renderer/render_view_impl.cc routing_id_, page_id_, HistoryItemToPageState(item))); item 3019 content/renderer/render_view_impl.cc const WebHistoryItem& item = webview()->mainFrame()->currentHistoryItem(); item 3020 content/renderer/render_view_impl.cc SendUpdateState(item); item 808 content/renderer/render_view_impl.h void SendUpdateState(const blink::WebHistoryItem& item); item 54 content/renderer/stats_collection_controller.cc base::DictionaryValue item; item 57 content/renderer/stats_collection_controller.cc item.Set("load_start_ms", base::Value::CreateNullValue()); item 59 content/renderer/stats_collection_controller.cc item.SetDouble("load_start_ms", load_start_time.ToInternalValue() / 1000); item 62 content/renderer/stats_collection_controller.cc item.Set("load_duration_ms", base::Value::CreateNullValue()); item 64 content/renderer/stats_collection_controller.cc item.SetDouble("load_duration_ms", item 67 content/renderer/stats_collection_controller.cc base::JSONWriter::Write(&item, result); item 104 content/shell/browser/shell_download_manager_delegate.cc DownloadItem* item, item 107 content/shell/browser/shell_download_manager_delegate.cc WebKitTestController::Get()->IsMainWindow(item->GetWebContents()) && item 108 content/shell/browser/shell_download_manager_delegate.cc item->GetMimeType() == "text/html") { item 110 content/shell/browser/shell_download_manager_delegate.cc net::FilePathToFileURL(item->GetFullPath())); item 166 content/shell/browser/shell_download_manager_delegate.cc DownloadItem* item = download_manager_->GetDownload(download_id); item 167 content/shell/browser/shell_download_manager_delegate.cc if (!item || (item->GetState() != DownloadItem::IN_PROGRESS)) item 178 content/shell/browser/shell_download_manager_delegate.cc save_as.hwndOwner = item->GetWebContents()->GetView()->GetNativeView()-> item 198 content/shell/browser/shell_download_manager_delegate.cc parent_window = item->GetWebContents()->GetView()->GetTopLevelNativeWindow(); item 29 content/shell/browser/shell_download_manager_delegate.h DownloadItem* item, item 72 content/shell/browser/shell_gtk.cc GtkToolItem* item = NULL; item 75 content/shell/browser/shell_gtk.cc item = back_button_; item 78 content/shell/browser/shell_gtk.cc item = forward_button_; item 81 content/shell/browser/shell_gtk.cc item = stop_button_; item 87 content/shell/browser/shell_gtk.cc gtk_widget_set_sensitive(GTK_WIDGET(item), is_enabled); item 18 content/shell/renderer/test_runner/MockSpellCheck.cpp void append(WebVector<WebString>* data, const WebString& item) item 23 content/shell/renderer/test_runner/MockSpellCheck.cpp result[data->size()] = item; item 320 content/shell/renderer/test_runner/WebTestProxy.cpp string dumpHistoryItem(const WebHistoryItem& item, int indent, bool isCurrent) item 330 content/shell/renderer/test_runner/WebTestProxy.cpp string url = normalizeLayoutTestURL(item.urlString().utf8()); item 332 content/shell/renderer/test_runner/WebTestProxy.cpp if (!item.target().isEmpty()) { item 334 content/shell/renderer/test_runner/WebTestProxy.cpp result.append(item.target().utf8()); item 339 content/shell/renderer/test_runner/WebTestProxy.cpp const WebVector<WebHistoryItem>& children = item.children(); item 190 content/shell/renderer/test_runner/event_sender.cc for (const char** item = kEditableMenuStrings; *item; ++item) { item 191 content/shell/renderer/test_runner/event_sender.cc strings.push_back(*item); item 200 content/shell/renderer/test_runner/event_sender.cc for (const char** item = kNonEditableMenuStrings; *item; ++item) { item 201 content/shell/renderer/test_runner/event_sender.cc strings.push_back(*item); item 1524 content/shell/renderer/test_runner/event_sender.cc WebDragData::Item item; item 1525 content/shell/renderer/test_runner/event_sender.cc item.storageType = WebDragData::Item::StorageTypeFilename; item 1526 content/shell/renderer/test_runner/event_sender.cc item.filenameData = delegate_->getAbsoluteWebStringFromUTF8Path(files[i]); item 1527 content/shell/renderer/test_runner/event_sender.cc current_drag_data_.addItem(item); item 1528 content/shell/renderer/test_runner/event_sender.cc absolute_filenames[i] = item.filenameData; item 166 content/test/mock_webclipboard_impl.cc const WebDragData::Item& item = itemList[i]; item 167 content/test/mock_webclipboard_impl.cc switch (item.storageType) { item 169 content/test/mock_webclipboard_impl.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeText)) { item 170 content/test/mock_webclipboard_impl.cc m_plainText = item.stringData; item 173 content/test/mock_webclipboard_impl.cc if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeHTML)) { item 174 content/test/mock_webclipboard_impl.cc m_htmlText = item.stringData; item 177 content/test/mock_webclipboard_impl.cc m_customData.insert(std::make_pair(item.stringType, item.stringData)); item 539 courgette/adjustment_method.cc LabelInfo* item = trace.at(index); item 540 courgette/adjustment_method.cc Node*& slot = node->edges_[item]; item 542 courgette/adjustment_method.cc slot = new Node(item, node); item 66 courgette/encoded_program.cc uint32 item; item 67 courgette/encoded_program.cc ok = buffer->ReadVarint32(&item); item 69 courgette/encoded_program.cc ok = items->push_back(static_cast<typename V::value_type>(item)); item 717 courgette/encoded_program.cc void Add(uint16 item) { item 718 courgette/encoded_program.cc pod.relocs[(pod.block_size-8)/2] = item; item 398 courgette/memory_allocator.h CheckBool push_back(const T& item) WARN_UNUSED_RESULT { item 399 courgette/memory_allocator.h return append(&item, 1); item 60 crypto/ec_private_key_nss.cc SECItem item; item 62 crypto/ec_private_key_nss.cc rv = PK11_ReadRawAttribute(PK11_TypePrivKey, key, type, &item); item 68 crypto/ec_private_key_nss.cc output->assign(item.data, item.data + item.len); item 69 crypto/ec_private_key_nss.cc SECITEM_FreeItem(&item, PR_FALSE); item 170 crypto/mock_apple_keychain.h MockKeychainItemType item, item 178 crypto/mock_apple_keychain.h void SetTestDataString(MockKeychainItemType item, item 184 crypto/mock_apple_keychain.h void SetTestDataPort(MockKeychainItemType item, UInt32 value); item 185 crypto/mock_apple_keychain.h void SetTestDataProtocol(MockKeychainItemType item, SecProtocolType value); item 186 crypto/mock_apple_keychain.h void SetTestDataAuthType(MockKeychainItemType item, item 188 crypto/mock_apple_keychain.h void SetTestDataNegativeItem(MockKeychainItemType item, Boolean value); item 189 crypto/mock_apple_keychain.h void SetTestDataCreator(MockKeychainItemType item, OSType value); item 191 crypto/mock_apple_keychain.h void SetTestDataPasswordBytes(MockKeychainItemType item, item 196 crypto/mock_apple_keychain.h void SetTestDataPasswordString(MockKeychainItemType item, const char* value); item 100 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataBytes(MockKeychainItemType item, item 104 crypto/mock_apple_keychain_mac.cc SecKeychainAttribute* attribute = AttributeWithTag(keychain_attr_list_[item], item 118 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataString(MockKeychainItemType item, item 121 crypto/mock_apple_keychain_mac.cc SetTestDataBytes(item, tag, value, value ? strlen(value) : 0); item 124 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataPort(MockKeychainItemType item, item 126 crypto/mock_apple_keychain_mac.cc SecKeychainAttribute* attribute = AttributeWithTag(keychain_attr_list_[item], item 132 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataProtocol(MockKeychainItemType item, item 134 crypto/mock_apple_keychain_mac.cc SecKeychainAttribute* attribute = AttributeWithTag(keychain_attr_list_[item], item 140 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataAuthType(MockKeychainItemType item, item 143 crypto/mock_apple_keychain_mac.cc keychain_attr_list_[item], kSecAuthenticationTypeItemAttr); item 149 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataNegativeItem(MockKeychainItemType item, item 151 crypto/mock_apple_keychain_mac.cc SecKeychainAttribute* attribute = AttributeWithTag(keychain_attr_list_[item], item 157 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataCreator(MockKeychainItemType item, item 159 crypto/mock_apple_keychain_mac.cc SecKeychainAttribute* attribute = AttributeWithTag(keychain_attr_list_[item], item 165 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataPasswordBytes(MockKeychainItemType item, item 168 crypto/mock_apple_keychain_mac.cc keychain_data_[item].length = length; item 170 crypto/mock_apple_keychain_mac.cc if (keychain_data_[item].data) item 171 crypto/mock_apple_keychain_mac.cc free(keychain_data_[item].data); item 172 crypto/mock_apple_keychain_mac.cc keychain_data_[item].data = malloc(length); item 173 crypto/mock_apple_keychain_mac.cc memcpy(keychain_data_[item].data, data, length); item 175 crypto/mock_apple_keychain_mac.cc keychain_data_[item].data = NULL; item 179 crypto/mock_apple_keychain_mac.cc void MockAppleKeychain::SetTestDataPasswordString(MockKeychainItemType item, item 181 crypto/mock_apple_keychain_mac.cc SetTestDataPasswordBytes(item, value, value ? strlen(value) : 0); item 28 crypto/rsa_private_key_nss.cc SECItem item; item 30 crypto/rsa_private_key_nss.cc rv = PK11_ReadRawAttribute(PK11_TypePrivKey, key, type, &item); item 36 crypto/rsa_private_key_nss.cc output->assign(item.data, item.data + item.len); item 37 crypto/rsa_private_key_nss.cc SECITEM_FreeItem(&item, PR_FALSE); item 155 crypto/rsa_private_key_nss.cc for (SECMODModuleList* item = head; item != NULL; item = item->next) { item 156 crypto/rsa_private_key_nss.cc int slot_count = item->module->loaded ? item->module->slotCount : 0; item 159 crypto/rsa_private_key_nss.cc result->key_ = PK11_FindKeyByKeyID(item->module->slots[i], item 71 extensions/common/extension_api.cc const base::DictionaryValue* item = NULL; item 72 extensions/common/extension_api.cc CHECK(list->GetDictionary(i, &item)) item 75 extensions/common/extension_api.cc if (item->GetString(property_name, &value) && value == property_value) item 76 extensions/common/extension_api.cc return item; item 83 extensions/common/manifest_handlers/webview_info.cc const PartitionItem* const item = info->partition_items_[i]; item 84 extensions/common/manifest_handlers/webview_info.cc if (item->Matches(partition_id) && item 85 extensions/common/manifest_handlers/webview_info.cc extension->ResourceMatches(item->accessible_resources(), item 94 extensions/common/manifest_handlers/webview_info.cc void WebviewInfo::AddPartitionItem(scoped_ptr<PartitionItem> item) { item 95 extensions/common/manifest_handlers/webview_info.cc partition_items_.push_back(item.release()); item 32 extensions/common/manifest_handlers/webview_info.h void AddPartitionItem(scoped_ptr<PartitionItem> item); item 262 extensions/common/permissions/base_set_operators.h void insert(ElementType* item) { item 263 extensions/common/permissions/base_set_operators.h map_[item->id()].reset(item); item 224 extensions/common/url_pattern_set.cc std::string item; item 225 extensions/common/url_pattern_set.cc if (!value.GetString(i, &item)) item 227 extensions/common/url_pattern_set.cc patterns.push_back(item); item 166 gin/converter.h T item; item 167 gin/converter.h if (!Converter<T>::FromV8(isolate, array->Get(i), &item)) item 169 gin/converter.h result.push_back(item); item 354 ipc/ipc_message_utils.h P item; item 355 ipc/ipc_message_utils.h if (!ReadParam(m, iter, &item)) item 357 ipc/ipc_message_utils.h r->insert(item); item 99 jingle/notifier/listener/push_notifications_subscribe_task.cc buzz::XmlElement* item = new buzz::XmlElement( item 101 jingle/notifier/listener/push_notifications_subscribe_task.cc item->AddAttr(buzz::QName(buzz::STR_EMPTY, "channel"), item 103 jingle/notifier/listener/push_notifications_subscribe_task.cc item->AddAttr(buzz::QN_FROM, iter->from.c_str()); item 104 jingle/notifier/listener/push_notifications_subscribe_task.cc subscribe->AddElement(item); item 32 native_client_sdk/src/libraries/sdk_util/thread_safe_queue.h void Enqueue(T* item) { item 34 native_client_sdk/src/libraries/sdk_util/thread_safe_queue.h list_.push_back(item); item 49 native_client_sdk/src/libraries/sdk_util/thread_safe_queue.h T* item = list_.front(); item 51 native_client_sdk/src/libraries/sdk_util/thread_safe_queue.h return item; item 25 net/cert/nss_profile_filter_chromeos_unittest.cc for (SECMODModuleList* item = head; item != NULL; item = item->next) { item 26 net/cert/nss_profile_filter_chromeos_unittest.cc int slot_count = item->module->loaded ? item->module->slotCount : 0; item 28 net/cert/nss_profile_filter_chromeos_unittest.cc PK11SlotInfo* slot = item->module->slots[i]; item 172 net/cert/x509_certificate_mac.cc SecKeychainItemRef item = reinterpret_cast<SecKeychainItemRef>( item 178 net/cert/x509_certificate_mac.cc if (CFGetTypeID(item) == cert_type_id) { item 179 net/cert/x509_certificate_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>(item); item 234 net/cert/x509_util_nss.cc SECItem item; item 235 net/cert/x509_util_nss.cc item.len = static_cast<unsigned int>(data.length()); item 236 net/cert/x509_util_nss.cc item.data = reinterpret_cast<unsigned char*>( item 240 net/cert/x509_util_nss.cc arena, name.get(), SEC_ASN1_GET(CERT_NameTemplate), &item); item 1210 net/disk_cache/blockfile/backend_impl.cc std::pair<std::string, std::string> item; item 1212 net/disk_cache/blockfile/backend_impl.cc item.first = "Entries"; item 1213 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", data_->header.num_entries); item 1214 net/disk_cache/blockfile/backend_impl.cc stats->push_back(item); item 1216 net/disk_cache/blockfile/backend_impl.cc item.first = "Pending IO"; item 1217 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", num_pending_io_); item 1218 net/disk_cache/blockfile/backend_impl.cc stats->push_back(item); item 1220 net/disk_cache/blockfile/backend_impl.cc item.first = "Max size"; item 1221 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", max_size_); item 1222 net/disk_cache/blockfile/backend_impl.cc stats->push_back(item); item 1224 net/disk_cache/blockfile/backend_impl.cc item.first = "Current size"; item 1225 net/disk_cache/blockfile/backend_impl.cc item.second = base::StringPrintf("%d", data_->header.num_bytes); item 1226 net/disk_cache/blockfile/backend_impl.cc stats->push_back(item); item 1228 net/disk_cache/blockfile/backend_impl.cc item.first = "Cache type"; item 1229 net/disk_cache/blockfile/backend_impl.cc item.second = "Blockfile Cache"; item 1230 net/disk_cache/blockfile/backend_impl.cc stats->push_back(item); item 687 net/disk_cache/blockfile/backend_impl_v3.cc std::pair<std::string, std::string> item; item 689 net/disk_cache/blockfile/backend_impl_v3.cc item.first = "Entries"; item 690 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", data_->header.num_entries); item 691 net/disk_cache/blockfile/backend_impl_v3.cc stats->push_back(item); item 693 net/disk_cache/blockfile/backend_impl_v3.cc item.first = "Pending IO"; item 694 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", num_pending_io_); item 695 net/disk_cache/blockfile/backend_impl_v3.cc stats->push_back(item); item 697 net/disk_cache/blockfile/backend_impl_v3.cc item.first = "Max size"; item 698 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", max_size_); item 699 net/disk_cache/blockfile/backend_impl_v3.cc stats->push_back(item); item 701 net/disk_cache/blockfile/backend_impl_v3.cc item.first = "Current size"; item 702 net/disk_cache/blockfile/backend_impl_v3.cc item.second = base::StringPrintf("%d", data_->header.num_bytes); item 703 net/disk_cache/blockfile/backend_impl_v3.cc stats->push_back(item); item 705 net/disk_cache/blockfile/backend_impl_v3.cc item.first = "Cache type"; item 706 net/disk_cache/blockfile/backend_impl_v3.cc item.second = "Blockfile Cache"; item 707 net/disk_cache/blockfile/backend_impl_v3.cc stats->push_back(item); item 177 net/disk_cache/blockfile/stats.cc std::pair<std::string, std::string> item; item 179 net/disk_cache/blockfile/stats.cc item.first = base::StringPrintf("Size%02d", i); item 180 net/disk_cache/blockfile/stats.cc item.second = base::StringPrintf("0x%08x", data_sizes_[i]); item 181 net/disk_cache/blockfile/stats.cc items->push_back(item); item 185 net/disk_cache/blockfile/stats.cc item.first = kCounterNames[i]; item 186 net/disk_cache/blockfile/stats.cc item.second = base::StringPrintf("0x%" PRIx64, counters_[i]); item 187 net/disk_cache/blockfile/stats.cc items->push_back(item); item 467 net/disk_cache/simple/simple_backend_impl.cc std::pair<std::string, std::string> item; item 468 net/disk_cache/simple/simple_backend_impl.cc item.first = "Cache type"; item 469 net/disk_cache/simple/simple_backend_impl.cc item.second = "Simple Cache"; item 470 net/disk_cache/simple/simple_backend_impl.cc stats->push_back(item); item 487 net/http/http_cache.cc scoped_ptr<WorkItem> item(new WorkItem(WI_CREATE_BACKEND, NULL, callback, item 495 net/http/http_cache.cc pending_op->pending_queue.push_back(item.release()); item 501 net/http/http_cache.cc pending_op->writer = item.release(); item 522 net/http/http_cache.cc WorkItem* item = new WorkItem( item 526 net/http/http_cache.cc pending_op->pending_queue.push_back(item); item 607 net/http/http_cache.cc WorkItem* item = new WorkItem(WI_DOOM_ENTRY, trans, NULL); item 610 net/http/http_cache.cc pending_op->pending_queue.push_back(item); item 616 net/http/http_cache.cc pending_op->writer = item; item 622 net/http/http_cache.cc item->ClearTransaction(); item 747 net/http/http_cache.cc WorkItem* item = new WorkItem(WI_OPEN_ENTRY, trans, entry); item 750 net/http/http_cache.cc pending_op->pending_queue.push_back(item); item 756 net/http/http_cache.cc pending_op->writer = item; item 763 net/http/http_cache.cc item->ClearTransaction(); item 776 net/http/http_cache.cc WorkItem* item = new WorkItem(WI_CREATE_ENTRY, trans, entry); item 779 net/http/http_cache.cc pending_op->pending_queue.push_back(item); item 785 net/http/http_cache.cc pending_op->writer = item; item 792 net/http/http_cache.cc item->ClearTransaction(); item 1047 net/http/http_cache.cc scoped_ptr<WorkItem> item(pending_op->writer); item 1056 net/http/http_cache.cc } else if (item->IsValid()) { item 1084 net/http/http_cache.cc item->NotifyTransaction(result, entry); item 1087 net/http/http_cache.cc item.reset(pending_items.front()); item 1090 net/http/http_cache.cc if (item->operation() == WI_DOOM_ENTRY) { item 1100 net/http/http_cache.cc item->NotifyTransaction(ERR_CACHE_RACE, NULL); item 1104 net/http/http_cache.cc if (item->operation() == WI_CREATE_ENTRY) { item 1107 net/http/http_cache.cc item->NotifyTransaction(ERR_CACHE_CREATE_FAILURE, NULL); item 1111 net/http/http_cache.cc item->NotifyTransaction(ERR_CACHE_RACE, NULL); item 1114 net/http/http_cache.cc item->NotifyTransaction(result, entry); item 1120 net/http/http_cache.cc item->NotifyTransaction(ERR_CACHE_RACE, NULL); item 1123 net/http/http_cache.cc item->NotifyTransaction(result, entry); item 1143 net/http/http_cache.cc scoped_ptr<WorkItem> item(pending_op->writer); item 1144 net/http/http_cache.cc WorkItemOperation op = item->operation(); item 1178 net/http/http_cache.cc if (!item->DoCallback(result, disk_cache_.get())) item 1179 net/http/http_cache.cc item->NotifyTransaction(result, NULL); item 814 net/http/http_response_headers.cc std::string::const_iterator item = value.begin() + kPrefixLen; item 816 net/http/http_response_headers.cc while (item != end) { item 819 net/http/http_response_headers.cc std::string::const_iterator item_next = std::find(item, end, ','); item 827 net/http/http_response_headers.cc HttpUtil::TrimLWS(&item, &item_end); item 830 net/http/http_response_headers.cc if (item_end > item) { item 831 net/http/http_response_headers.cc std::string name(&*item, item_end - item); item 837 net/http/http_response_headers.cc item = item_next; item 61 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp void unicodeToItem(const PRUnichar *uni, SECItem *item) item 65 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp SECITEM_AllocItem(NULL, item, sizeof(PRUnichar) * len); item 69 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp item->data[2*i ] = (unsigned char )(uni[i] << 8); item 70 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp item->data[2*i+1] = (unsigned char )(uni[i]); item 73 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp memcpy(item->data, uni, item->len); item 100 net/third_party/nss/ssl/bodge/secitem_array.c SECItem *item = &array->items[i]; item 102 net/third_party/nss/ssl/bodge/secitem_array.c if (item->data) { item 104 net/third_party/nss/ssl/bodge/secitem_array.c SECITEM_ZfreeItem(item, PR_FALSE); item 106 net/third_party/nss/ssl/bodge/secitem_array.c SECITEM_FreeItem(item, PR_FALSE); item 38 net/third_party/nss/ssl/ssl3ext.c static SECStatus ssl3_AppendToItem(SECItem *item, const unsigned char *buf, item 40 net/third_party/nss/ssl/ssl3ext.c static SECStatus ssl3_AppendNumberToItem(SECItem *item, PRUint32 num, item 97 net/third_party/nss/ssl/ssl3ext.c ssl3_AppendToItem(SECItem *item, const unsigned char *buf, PRUint32 bytes) item 99 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) item 102 net/third_party/nss/ssl/ssl3ext.c PORT_Memcpy(item->data, buf, bytes); item 103 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; item 104 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; item 114 net/third_party/nss/ssl/ssl3ext.c ssl3_AppendNumberToItem(SECItem *item, PRUint32 num, PRInt32 lenSize) item 130 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendToItem(item, &b[0], lenSize); item 1766 net/third_party/nss/ssl/ssl3ext.c ssl3_ConsumeFromItem(SECItem *item, unsigned char **buf, PRUint32 bytes) item 1768 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) item 1771 net/third_party/nss/ssl/ssl3ext.c *buf = item->data; item 1772 net/third_party/nss/ssl/ssl3ext.c item->data += bytes; item 1773 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; item 1519 net/third_party/nss/ssl/sslsecur.c SECItem * item = NULL; item 1527 net/third_party/nss/ssl/sslsecur.c item = (SECItem *)PORT_Alloc(sizeof(SECItem)); item 1528 net/third_party/nss/ssl/sslsecur.c if (item) { item 1531 net/third_party/nss/ssl/sslsecur.c item->len = SSL2_SESSIONID_BYTES; item 1532 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); item 1533 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl2.sessionID, item->len); item 1535 net/third_party/nss/ssl/sslsecur.c item->len = sid->u.ssl3.sessionIDLength; item 1536 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); item 1537 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl3.sessionID, item->len); item 1545 net/third_party/nss/ssl/sslsecur.c return item; item 59 net/tools/flip_server/flip_in_mem_edsm_server.cc std::string item; item 60 net/tools/flip_server/flip_in_mem_edsm_server.cc while (std::getline(ss, item, delim)) { item 61 net/tools/flip_server/flip_in_mem_edsm_server.cc elems.push_back(item); item 18 ppapi/native_client/src/trusted/plugin/nacl_http_response_headers.cc std::string item; item 19 ppapi/native_client/src/trusted/plugin/nacl_http_response_headers.cc while (std::getline(ss, item, delim)) { item 20 ppapi/native_client/src/trusted/plugin/nacl_http_response_headers.cc elems->push_back(item); item 25 ppapi/proxy/serialized_flash_menu.cc bool CheckMenuItem(int depth, const PP_Flash_MenuItem* item) { item 26 ppapi/proxy/serialized_flash_menu.cc if (item->type == PP_FLASH_MENUITEM_TYPE_SUBMENU) item 27 ppapi/proxy/serialized_flash_menu.cc return CheckMenu(depth, item->submenu); item 243 remoting/android/java/src/org/chromium/chromoting/Chromoting.java public boolean onOptionsItemSelected(MenuItem item) { item 244 remoting/android/java/src/org/chromium/chromoting/Chromoting.java switch (item.getItemId()) { item 254 remoting/android/java/src/org/chromium/chromoting/Chromoting.java return super.onOptionsItemSelected(item); item 84 remoting/android/java/src/org/chromium/chromoting/Desktop.java public boolean onOptionsItemSelected(MenuItem item) { item 85 remoting/android/java/src/org/chromium/chromoting/Desktop.java switch (item.getItemId()) { item 119 remoting/android/java/src/org/chromium/chromoting/Desktop.java return super.onOptionsItemSelected(item); item 134 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java public boolean onOptionsItemSelected(MenuItem item) { item 135 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java switch (item.getItemId()) { item 145 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java return super.onOptionsItemSelected(item); item 779 remoting/client/plugin/chromoting_instance.cc std::string item; item 781 remoting/client/plugin/chromoting_instance.cc !data.GetString("item", &item)) { item 790 remoting/client/plugin/chromoting_instance.cc event.set_data(item); item 659 sandbox/win/sandbox_poc/main_ui_window.cc LVITEM item; item 660 sandbox/win/sandbox_poc/main_ui_window.cc item.iItem = ListView_GetItemCount(list_view_); item 661 sandbox/win/sandbox_poc/main_ui_window.cc item.iSubItem = 0; item 662 sandbox/win/sandbox_poc/main_ui_window.cc item.mask = LVIF_TEXT | LVIF_PARAM; item 663 sandbox/win/sandbox_poc/main_ui_window.cc item.pszText = message_time; item 664 sandbox/win/sandbox_poc/main_ui_window.cc item.lParam = 0; item 666 sandbox/win/sandbox_poc/main_ui_window.cc ListView_InsertItem(list_view_, &item); item 41 sandbox/win/src/shared_handles.cc empty_slot->item = handle; item 54 sandbox/win/src/shared_handles.cc *handle = found->item; item 88 sandbox/win/src/shared_handles.h void* item; item 232 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 236 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 241 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 246 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 281 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 284 sync/engine/get_commit_ids.cc syncable::Id parent_id = item.GetParentId(); item 299 sync/engine/get_commit_ids.cc DVLOG(1) << "Parent was in conflict, omitting " << item; item 315 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 317 sync/engine/get_commit_ids.cc DCHECK(item.GetIsUnsynced()); item 318 sync/engine/get_commit_ids.cc int64 item_handle = item.GetMetahandle(); item 331 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 333 sync/engine/get_commit_ids.cc int64 item_handle = item.GetMetahandle(); item 339 sync/engine/get_commit_ids.cc TryAddItem(ready_unsynced_set, item, result); item 340 sync/engine/get_commit_ids.cc if (item.GetIsDel()) item 343 sync/engine/get_commit_ids.cc syncable::Id prev_id = item.GetPredecessorId(); item 366 sync/engine/get_commit_ids.cc const syncable::Entry& item, item 369 sync/engine/get_commit_ids.cc AddItemThenPredecessors(ready_unsynced_set, item, &dependencies); item 101 sync/syncable/parent_child_index_unittest.cc EntryKernel* item = new EntryKernel(); item 102 sync/syncable/parent_child_index_unittest.cc item->put(META_HANDLE, n); item 103 sync/syncable/parent_child_index_unittest.cc item->put(BASE_VERSION, 10); item 104 sync/syncable/parent_child_index_unittest.cc item->put(SERVER_VERSION, 10); item 105 sync/syncable/parent_child_index_unittest.cc item->put(IS_DIR, false); item 106 sync/syncable/parent_child_index_unittest.cc item->put(ID, GetClientUniqueId(n)); item 107 sync/syncable/parent_child_index_unittest.cc item->put(PARENT_ID, syncable::Id()); item 108 sync/syncable/parent_child_index_unittest.cc item->put(SERVER_PARENT_ID, syncable::Id()); item 109 sync/syncable/parent_child_index_unittest.cc item->put(UNIQUE_CLIENT_TAG, base::IntToString(n)); item 111 sync/syncable/parent_child_index_unittest.cc owned_entry_kernels_.push_back(item); item 112 sync/syncable/parent_child_index_unittest.cc return item; item 1260 sync/syncable/syncable_unittest.cc MutableEntry item(&trans, CREATE, BOOKMARKS, trans.root_id(), "Item"); item 1261 sync/syncable/syncable_unittest.cc ASSERT_TRUE(item.good()); item 1262 sync/syncable/syncable_unittest.cc item.PutId(id_factory.NewServerId()); item 1263 sync/syncable/syncable_unittest.cc item.PutSpecifics(specifics); item 1264 sync/syncable/syncable_unittest.cc item.PutBaseVersion(1); item 1265 sync/syncable/syncable_unittest.cc item.PutIsDir(false); item 1266 sync/syncable/syncable_unittest.cc item.PutIsDel(false); item 1267 sync/syncable/syncable_unittest.cc ASSERT_EQ(datatype, item.GetModelType()); item 1273 sync/syncable/syncable_unittest.cc ASSERT_TRUE(item.good()); item 307 third_party/harfbuzz-ng/src/hb-common.cc hb_language_item_t *item = lang_find_or_insert (str); item 309 third_party/harfbuzz-ng/src/hb-common.cc return likely (item) ? item->lang : HB_LANGUAGE_INVALID; item 509 third_party/harfbuzz-ng/src/hb-common.cc hb_user_data_item_t item = {key, data, destroy}; item 510 third_party/harfbuzz-ng/src/hb-common.cc bool ret = !!items.replace_or_insert (item, lock, replace); item 518 third_party/harfbuzz-ng/src/hb-common.cc hb_user_data_item_t item = {NULL }; item 520 third_party/harfbuzz-ng/src/hb-common.cc return items.find (key, &item, lock) ? item.data : NULL; item 411 third_party/harfbuzz-ng/src/hb-private.hh item_t *item = items.find (v); item 412 third_party/harfbuzz-ng/src/hb-private.hh if (item) { item 414 third_party/harfbuzz-ng/src/hb-private.hh item_t old = *item; item 415 third_party/harfbuzz-ng/src/hb-private.hh *item = v; item 420 third_party/harfbuzz-ng/src/hb-private.hh item = NULL; item 424 third_party/harfbuzz-ng/src/hb-private.hh item = items.push (); item 425 third_party/harfbuzz-ng/src/hb-private.hh if (likely (item)) item 426 third_party/harfbuzz-ng/src/hb-private.hh *item = v; item 429 third_party/harfbuzz-ng/src/hb-private.hh return item; item 436 third_party/harfbuzz-ng/src/hb-private.hh item_t *item = items.find (v); item 437 third_party/harfbuzz-ng/src/hb-private.hh if (item) { item 438 third_party/harfbuzz-ng/src/hb-private.hh item_t old = *item; item 439 third_party/harfbuzz-ng/src/hb-private.hh *item = items[items.len - 1]; item 452 third_party/harfbuzz-ng/src/hb-private.hh item_t *item = items.find (v); item 453 third_party/harfbuzz-ng/src/hb-private.hh if (item) item 454 third_party/harfbuzz-ng/src/hb-private.hh *i = *item; item 456 third_party/harfbuzz-ng/src/hb-private.hh return !!item; item 463 third_party/harfbuzz-ng/src/hb-private.hh item_t *item = items.find (v); item 464 third_party/harfbuzz-ng/src/hb-private.hh if (!item) { item 465 third_party/harfbuzz-ng/src/hb-private.hh item = items.push (); item 466 third_party/harfbuzz-ng/src/hb-private.hh if (likely (item)) item 467 third_party/harfbuzz-ng/src/hb-private.hh *item = v; item 470 third_party/harfbuzz-ng/src/hb-private.hh return item; item 1514 third_party/libevent/evdns.c struct server_reply_item **itemp, *item; item 1539 third_party/libevent/evdns.c item = malloc(sizeof(struct server_reply_item)); item 1540 third_party/libevent/evdns.c if (!item) item 1542 third_party/libevent/evdns.c item->next = NULL; item 1543 third_party/libevent/evdns.c if (!(item->name = strdup(name))) { item 1544 third_party/libevent/evdns.c free(item); item 1547 third_party/libevent/evdns.c item->type = type; item 1548 third_party/libevent/evdns.c item->dns_question_class = class; item 1549 third_party/libevent/evdns.c item->ttl = ttl; item 1550 third_party/libevent/evdns.c item->is_name = is_name != 0; item 1551 third_party/libevent/evdns.c item->datalen = 0; item 1552 third_party/libevent/evdns.c item->data = NULL; item 1554 third_party/libevent/evdns.c if (item->is_name) { item 1555 third_party/libevent/evdns.c if (!(item->data = strdup(data))) { item 1556 third_party/libevent/evdns.c free(item->name); item 1557 third_party/libevent/evdns.c free(item); item 1560 third_party/libevent/evdns.c item->datalen = (u16)-1; item 1562 third_party/libevent/evdns.c if (!(item->data = malloc(datalen))) { item 1563 third_party/libevent/evdns.c free(item->name); item 1564 third_party/libevent/evdns.c free(item); item 1567 third_party/libevent/evdns.c item->datalen = datalen; item 1568 third_party/libevent/evdns.c memcpy(item->data, data, datalen); item 1572 third_party/libevent/evdns.c *itemp = item; item 1668 third_party/libevent/evdns.c struct server_reply_item *item; item 1670 third_party/libevent/evdns.c item = req->answer; item 1672 third_party/libevent/evdns.c item = req->authority; item 1674 third_party/libevent/evdns.c item = req->additional; item 1675 third_party/libevent/evdns.c while (item) { item 1676 third_party/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->name, strlen(item->name), &table); item 1681 third_party/libevent/evdns.c APPEND16(item->type); item 1682 third_party/libevent/evdns.c APPEND16(item->dns_question_class); item 1683 third_party/libevent/evdns.c APPEND32(item->ttl); item 1684 third_party/libevent/evdns.c if (item->is_name) { item 1688 third_party/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->data, strlen(item->data), &table); item 1695 third_party/libevent/evdns.c APPEND16(item->datalen); item 1696 third_party/libevent/evdns.c if (j+item->datalen > (off_t)buf_len) item 1698 third_party/libevent/evdns.c memcpy(buf+j, item->data, item->datalen); item 1699 third_party/libevent/evdns.c j += item->datalen; item 1701 third_party/libevent/evdns.c item = item->next; item 161 third_party/libxml/src/xmlschemas.c #define WXS_SUBST_HEAD(item) (item)->refDecl item 227 third_party/libxml/src/xmlschemas.c #define WXS_IS_SIMPLE(item) \ item 228 third_party/libxml/src/xmlschemas.c ((item->type == XML_SCHEMA_TYPE_SIMPLE) || \ item 229 third_party/libxml/src/xmlschemas.c ((item->type == XML_SCHEMA_TYPE_BASIC) && \ item 230 third_party/libxml/src/xmlschemas.c (item->builtInType != XML_SCHEMAS_ANYTYPE))) item 246 third_party/libxml/src/xmlschemas.c #define WXS_IS_TYPE_NOT_FIXED_1(item) \ item 247 third_party/libxml/src/xmlschemas.c (((item)->type != XML_SCHEMA_TYPE_BASIC) && \ item 248 third_party/libxml/src/xmlschemas.c (((item)->flags & XML_SCHEMAS_TYPE_FIXUP_1) == 0)) item 256 third_party/libxml/src/xmlschemas.c #define WXS_HAS_COMPLEX_CONTENT(item) \ item 257 third_party/libxml/src/xmlschemas.c ((item->contentType == XML_SCHEMA_CONTENT_MIXED) || \ item 258 third_party/libxml/src/xmlschemas.c (item->contentType == XML_SCHEMA_CONTENT_EMPTY) || \ item 259 third_party/libxml/src/xmlschemas.c (item->contentType == XML_SCHEMA_CONTENT_ELEMENTS)) item 261 third_party/libxml/src/xmlschemas.c #define WXS_HAS_SIMPLE_CONTENT(item) \ item 262 third_party/libxml/src/xmlschemas.c ((item->contentType == XML_SCHEMA_CONTENT_SIMPLE) || \ item 263 third_party/libxml/src/xmlschemas.c (item->contentType == XML_SCHEMA_CONTENT_BASIC)) item 265 third_party/libxml/src/xmlschemas.c #define WXS_HAS_MIXED_CONTENT(item) \ item 266 third_party/libxml/src/xmlschemas.c (item->contentType == XML_SCHEMA_CONTENT_MIXED) item 301 third_party/libxml/src/xmlschemas.c #define WXS_ADD_LOCAL(ctx, item) \ item 302 third_party/libxml/src/xmlschemas.c xmlSchemaAddItemSize(&(WXS_BUCKET(ctx)->locals), 10, item) item 304 third_party/libxml/src/xmlschemas.c #define WXS_ADD_GLOBAL(ctx, item) \ item 305 third_party/libxml/src/xmlschemas.c xmlSchemaAddItemSize(&(WXS_BUCKET(ctx)->globals), 5, item) item 307 third_party/libxml/src/xmlschemas.c #define WXS_ADD_PENDING(ctx, item) \ item 308 third_party/libxml/src/xmlschemas.c xmlSchemaAddItemSize(&((ctx)->constructor->pending), 10, item) item 330 third_party/libxml/src/xmlschemas.c #define INODE_NILLED(item) (item->flags & XML_SCHEMA_ELEM_INFO_NILLED) item 556 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item; /* The redefining component. */ item 646 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item; /* The resolved referenced item. */ item 1077 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentTypeStr(xmlSchemaBasicItemPtr item); item 1168 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentTypeStr(xmlSchemaBasicItemPtr item) item 1170 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1172 third_party/libxml/src/xmlschemas.c if (WXS_IS_COMPLEX(WXS_TYPE_CAST item)) item 1177 third_party/libxml/src/xmlschemas.c return(xmlSchemaItemTypeToStr(item->type)); item 1192 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentNode(xmlSchemaBasicItemPtr item) item 1194 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1196 third_party/libxml/src/xmlschemas.c return (((xmlSchemaElementPtr) item)->node); item 1198 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributePtr) item)->node); item 1201 third_party/libxml/src/xmlschemas.c return (((xmlSchemaTypePtr) item)->node); item 1204 third_party/libxml/src/xmlschemas.c return (((xmlSchemaWildcardPtr) item)->node); item 1206 third_party/libxml/src/xmlschemas.c return (((xmlSchemaParticlePtr) item)->node); item 1210 third_party/libxml/src/xmlschemas.c return (((xmlSchemaModelGroupPtr) item)->node); item 1212 third_party/libxml/src/xmlschemas.c return (((xmlSchemaModelGroupDefPtr) item)->node); item 1214 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributeGroupPtr) item)->node); item 1218 third_party/libxml/src/xmlschemas.c return (((xmlSchemaIDCPtr) item)->node); item 1220 third_party/libxml/src/xmlschemas.c return(((xmlSchemaQNameRefPtr) item)->node); item 1226 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributeUsePtr) item)->node); item 1240 third_party/libxml/src/xmlschemas.c xmlSchemaGetNextComponent(xmlSchemaBasicItemPtr item) item 1242 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1244 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaElementPtr) item)->next); item 1246 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaAttributePtr) item)->next); item 1249 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaTypePtr) item)->next); item 1254 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaParticlePtr) item)->next); item 1262 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaAttributeGroupPtr) item)->next); item 1266 third_party/libxml/src/xmlschemas.c return ((xmlSchemaBasicItemPtr) ((xmlSchemaIDCPtr) item)->next); item 1317 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentName(xmlSchemaBasicItemPtr item) item 1319 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1321 third_party/libxml/src/xmlschemas.c return (((xmlSchemaElementPtr) item)->name); item 1323 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributePtr) item)->name); item 1325 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributeGroupPtr) item)->name); item 1329 third_party/libxml/src/xmlschemas.c return (((xmlSchemaTypePtr) item)->name); item 1331 third_party/libxml/src/xmlschemas.c return (((xmlSchemaModelGroupDefPtr) item)->name); item 1335 third_party/libxml/src/xmlschemas.c return (((xmlSchemaIDCPtr) item)->name); item 1337 third_party/libxml/src/xmlschemas.c if (WXS_ATTRUSE_DECL(item) != NULL) { item 1339 third_party/libxml/src/xmlschemas.c WXS_BASIC_CAST WXS_ATTRUSE_DECL(item))); item 1343 third_party/libxml/src/xmlschemas.c return (((xmlSchemaQNameRefPtr) item)->name); item 1345 third_party/libxml/src/xmlschemas.c return (((xmlSchemaNotationPtr) item)->name); item 1372 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentTargetNs(xmlSchemaBasicItemPtr item) item 1374 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1376 third_party/libxml/src/xmlschemas.c return (((xmlSchemaElementPtr) item)->targetNamespace); item 1378 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributePtr) item)->targetNamespace); item 1380 third_party/libxml/src/xmlschemas.c return (((xmlSchemaAttributeGroupPtr) item)->targetNamespace); item 1385 third_party/libxml/src/xmlschemas.c return (((xmlSchemaTypePtr) item)->targetNamespace); item 1387 third_party/libxml/src/xmlschemas.c return (((xmlSchemaModelGroupDefPtr) item)->targetNamespace); item 1391 third_party/libxml/src/xmlschemas.c return (((xmlSchemaIDCPtr) item)->targetNamespace); item 1393 third_party/libxml/src/xmlschemas.c if (WXS_ATTRUSE_DECL(item) != NULL) { item 1395 third_party/libxml/src/xmlschemas.c WXS_BASIC_CAST WXS_ATTRUSE_DECL(item))); item 1400 third_party/libxml/src/xmlschemas.c return (((xmlSchemaQNameRefPtr) item)->targetNamespace); item 1402 third_party/libxml/src/xmlschemas.c return (((xmlSchemaNotationPtr) item)->targetNamespace); item 1414 third_party/libxml/src/xmlschemas.c void *item) item 1417 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentTargetNs((xmlSchemaBasicItemPtr) item), item 1418 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentName((xmlSchemaBasicItemPtr) item))); item 1422 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentDesignation(xmlChar **buf, void *item) item 1426 third_party/libxml/src/xmlschemas.c *buf = xmlStrcat(*buf, WXS_ITEM_TYPE_NAME(item)); item 1429 third_party/libxml/src/xmlschemas.c (xmlSchemaBasicItemPtr) item)); item 1567 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 1580 third_party/libxml/src/xmlschemas.c } else if (item != NULL) { item 1581 third_party/libxml/src/xmlschemas.c switch (item->type) { item 1583 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr type = WXS_TYPE_CAST item; item 1598 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr type = WXS_TYPE_CAST item; item 1621 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr type = WXS_TYPE_CAST item; item 1638 third_party/libxml/src/xmlschemas.c ause = WXS_ATTR_USE_CAST item; item 1654 third_party/libxml/src/xmlschemas.c attr = (xmlSchemaAttributePtr) item; item 1664 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentDesignation(buf, item); item 1669 third_party/libxml/src/xmlschemas.c elem = (xmlSchemaElementPtr) item; item 1680 third_party/libxml/src/xmlschemas.c if (item->type == XML_SCHEMA_TYPE_IDC_UNIQUE) item 1682 third_party/libxml/src/xmlschemas.c else if (item->type == XML_SCHEMA_TYPE_IDC_KEY) item 1686 third_party/libxml/src/xmlschemas.c *buf = xmlStrcat(*buf, ((xmlSchemaIDCPtr) item)->name); item 1692 third_party/libxml/src/xmlschemas.c ((xmlSchemaWildcardPtr) item)->processContents)); item 1708 third_party/libxml/src/xmlschemas.c *buf = xmlStrcat(*buf, xmlSchemaFacetTypeToString(item->type)); item 1714 third_party/libxml/src/xmlschemas.c *buf = xmlStrcat(*buf, xmlSchemaGetComponentQName(&str, item)); item 1723 third_party/libxml/src/xmlschemas.c *buf = xmlStrdup(WXS_ITEM_TYPE_NAME(item)); item 1726 third_party/libxml/src/xmlschemas.c *buf = xmlStrdup(WXS_ITEM_TYPE_NAME(item)); item 1728 third_party/libxml/src/xmlschemas.c *buf = xmlStrcat(*buf, xmlSchemaGetComponentQName(&str, item)); item 2297 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 2304 third_party/libxml/src/xmlschemas.c if ((node == NULL) && (item != NULL) && item 2306 third_party/libxml/src/xmlschemas.c node = WXS_ITEM_NODE(item); item 2307 third_party/libxml/src/xmlschemas.c xmlSchemaFormatItemForReport(&msg, NULL, item, NULL); item 2322 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 2327 third_party/libxml/src/xmlschemas.c xmlSchemaCustomErr4(actxt, error, node, item, item 2395 third_party/libxml/src/xmlschemas.c xmlSchemaIsGlobalItem(xmlSchemaTypePtr item) item 2397 third_party/libxml/src/xmlschemas.c switch (item->type) { item 2400 third_party/libxml/src/xmlschemas.c if (item->flags & XML_SCHEMAS_TYPE_GLOBAL) item 2406 third_party/libxml/src/xmlschemas.c if ( ((xmlSchemaElementPtr) item)->flags & item 2411 third_party/libxml/src/xmlschemas.c if ( ((xmlSchemaAttributePtr) item)->flags & item 2901 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 2910 third_party/libxml/src/xmlschemas.c xmlSchemaFormatItemForReport(&des, NULL, item, itemElem); item 2914 third_party/libxml/src/xmlschemas.c if ((itemElem == NULL) && (item != NULL)) item 2915 third_party/libxml/src/xmlschemas.c itemElem = WXS_ITEM_NODE(item); item 2937 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 2942 third_party/libxml/src/xmlschemas.c xmlSchemaPCustomErrExt(ctxt, error, item, itemElem, message, item 3320 third_party/libxml/src/xmlschemas.c xmlSchemaItemListAdd(xmlSchemaItemListPtr list, void *item) item 3340 third_party/libxml/src/xmlschemas.c list->items[list->nbItems++] = item; item 3347 third_party/libxml/src/xmlschemas.c void *item) item 3369 third_party/libxml/src/xmlschemas.c list->items[list->nbItems++] = item; item 3374 third_party/libxml/src/xmlschemas.c xmlSchemaItemListInsert(xmlSchemaItemListPtr list, void *item, int idx) item 3398 third_party/libxml/src/xmlschemas.c list->items[list->nbItems++] = item; item 3403 third_party/libxml/src/xmlschemas.c list->items[idx] = item; item 3413 third_party/libxml/src/xmlschemas.c void *item, item 3440 third_party/libxml/src/xmlschemas.c list->items[list->nbItems++] = item; item 3445 third_party/libxml/src/xmlschemas.c list->items[idx] = item; item 3660 third_party/libxml/src/xmlschemas.c xmlSchemaAddItemSize(xmlSchemaItemListPtr *list, int initialSize, void *item) item 3667 third_party/libxml/src/xmlschemas.c xmlSchemaItemListAddSize(*list, initialSize, item); item 3822 third_party/libxml/src/xmlschemas.c xmlSchemaFreeQNameRef(xmlSchemaQNameRefPtr item) item 3824 third_party/libxml/src/xmlschemas.c xmlFree(item); item 3984 third_party/libxml/src/xmlschemas.c xmlSchemaFreeModelGroupDef(xmlSchemaModelGroupDefPtr item) item 3986 third_party/libxml/src/xmlschemas.c if (item->annot != NULL) item 3987 third_party/libxml/src/xmlschemas.c xmlSchemaFreeAnnot(item->annot); item 3988 third_party/libxml/src/xmlschemas.c xmlFree(item); item 3998 third_party/libxml/src/xmlschemas.c xmlSchemaFreeModelGroup(xmlSchemaModelGroupPtr item) item 4000 third_party/libxml/src/xmlschemas.c if (item->annot != NULL) item 4001 third_party/libxml/src/xmlschemas.c xmlSchemaFreeAnnot(item->annot); item 4002 third_party/libxml/src/xmlschemas.c xmlFree(item); item 4011 third_party/libxml/src/xmlschemas.c xmlSchemaTreeItemPtr item; item 4016 third_party/libxml/src/xmlschemas.c item = items[i]; item 4017 third_party/libxml/src/xmlschemas.c if (item == NULL) item 4019 third_party/libxml/src/xmlschemas.c switch (item->type) { item 4022 third_party/libxml/src/xmlschemas.c xmlSchemaFreeType((xmlSchemaTypePtr) item); item 4025 third_party/libxml/src/xmlschemas.c xmlSchemaFreeAttribute((xmlSchemaAttributePtr) item); item 4028 third_party/libxml/src/xmlschemas.c xmlSchemaFreeAttributeUse((xmlSchemaAttributeUsePtr) item); item 4032 third_party/libxml/src/xmlschemas.c (xmlSchemaAttributeUseProhibPtr) item); item 4035 third_party/libxml/src/xmlschemas.c xmlSchemaFreeElement((xmlSchemaElementPtr) item); item 4038 third_party/libxml/src/xmlschemas.c if (item->annot != NULL) item 4039 third_party/libxml/src/xmlschemas.c xmlSchemaFreeAnnot(item->annot); item 4040 third_party/libxml/src/xmlschemas.c xmlFree(item); item 4045 third_party/libxml/src/xmlschemas.c xmlSchemaFreeModelGroup((xmlSchemaModelGroupPtr) item); item 4049 third_party/libxml/src/xmlschemas.c (xmlSchemaAttributeGroupPtr) item); item 4053 third_party/libxml/src/xmlschemas.c (xmlSchemaModelGroupDefPtr) item); item 4057 third_party/libxml/src/xmlschemas.c xmlSchemaFreeWildcard((xmlSchemaWildcardPtr) item); item 4062 third_party/libxml/src/xmlschemas.c xmlSchemaFreeIDC((xmlSchemaIDCPtr) item); item 4065 third_party/libxml/src/xmlschemas.c xmlSchemaFreeNotation((xmlSchemaNotationPtr) item); item 4068 third_party/libxml/src/xmlschemas.c xmlSchemaFreeQNameRef((xmlSchemaQNameRefPtr) item); item 4075 third_party/libxml/src/xmlschemas.c (const xmlChar *) WXS_ITEM_TYPE_NAME(item)); item 5214 third_party/libxml/src/xmlschemas.c void *item, item 5228 third_party/libxml/src/xmlschemas.c ret->item = item; item 5403 third_party/libxml/src/xmlschemas.c ret->item = NULL; item 6452 third_party/libxml/src/xmlschemas.c void *item; item 6457 third_party/libxml/src/xmlschemas.c item = xmlSchemaParseLocalAttribute(ctxt, schema, *child, item 6460 third_party/libxml/src/xmlschemas.c item = xmlSchemaParseAttributeGroupRef(ctxt, schema, *child); item 6461 third_party/libxml/src/xmlschemas.c if ((item != NULL) && (hasRefs != NULL)) item 6464 third_party/libxml/src/xmlschemas.c if (item != NULL) { item 6471 third_party/libxml/src/xmlschemas.c if (xmlSchemaItemListAddSize(*list, 2, item) == -1) item 6815 third_party/libxml/src/xmlschemas.c xmlSchemaParticlePtr item ATTRIBUTE_UNUSED, item 7693 third_party/libxml/src/xmlschemas.c (pctxt->redef->item->type == item 7918 third_party/libxml/src/xmlschemas.c xmlChar *item; item 7928 third_party/libxml/src/xmlschemas.c item = xmlStrndup(cur, end - cur); item 7929 third_party/libxml/src/xmlschemas.c if (xmlStrEqual(item, BAD_CAST "extension")) { item 7935 third_party/libxml/src/xmlschemas.c } else if (xmlStrEqual(item, BAD_CAST "restriction")) { item 7941 third_party/libxml/src/xmlschemas.c } else if (xmlStrEqual(item, BAD_CAST "substitution")) { item 7947 third_party/libxml/src/xmlschemas.c } else if (xmlStrEqual(item, BAD_CAST "list")) { item 7953 third_party/libxml/src/xmlschemas.c } else if (xmlStrEqual(item, BAD_CAST "union")) { item 7961 third_party/libxml/src/xmlschemas.c if (item != NULL) item 7962 third_party/libxml/src/xmlschemas.c xmlFree(item); item 8069 third_party/libxml/src/xmlschemas.c xmlSchemaAnnotPtr cur = item->annot; \ item 8070 third_party/libxml/src/xmlschemas.c if (item->annot == NULL) { \ item 8071 third_party/libxml/src/xmlschemas.c item->annot = annot; \ item 8074 third_party/libxml/src/xmlschemas.c cur = item->annot; \ item 8097 third_party/libxml/src/xmlschemas.c xmlSchemaElementPtr item = (xmlSchemaElementPtr) annItem; item 8102 third_party/libxml/src/xmlschemas.c xmlSchemaAttributePtr item = (xmlSchemaAttributePtr) annItem; item 8108 third_party/libxml/src/xmlschemas.c xmlSchemaWildcardPtr item = (xmlSchemaWildcardPtr) annItem; item 8116 third_party/libxml/src/xmlschemas.c xmlSchemaAnnotItemPtr item = (xmlSchemaAnnotItemPtr) annItem; item 8121 third_party/libxml/src/xmlschemas.c xmlSchemaAttributeGroupPtr item = item 8127 third_party/libxml/src/xmlschemas.c xmlSchemaNotationPtr item = (xmlSchemaNotationPtr) annItem; item 8143 third_party/libxml/src/xmlschemas.c xmlSchemaFacetPtr item = (xmlSchemaFacetPtr) annItem; item 8149 third_party/libxml/src/xmlschemas.c xmlSchemaTypePtr item = (xmlSchemaTypePtr) annItem; item 8154 third_party/libxml/src/xmlschemas.c xmlSchemaModelGroupDefPtr item = (xmlSchemaModelGroupDefPtr) annItem; item 8161 third_party/libxml/src/xmlschemas.c xmlSchemaModelGroupPtr item = (xmlSchemaModelGroupPtr) annItem; item 8193 third_party/libxml/src/xmlschemas.c xmlSchemaIDCSelectPtr item; item 8217 third_party/libxml/src/xmlschemas.c item = (xmlSchemaIDCSelectPtr) xmlMalloc(sizeof(xmlSchemaIDCSelect)); item 8218 third_party/libxml/src/xmlschemas.c if (item == NULL) { item 8224 third_party/libxml/src/xmlschemas.c memset(item, 0, sizeof(xmlSchemaIDCSelect)); item 8235 third_party/libxml/src/xmlschemas.c item->xpath = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr); item 8240 third_party/libxml/src/xmlschemas.c if (xmlSchemaCheckCSelectorXPath(ctxt, idc, item, attr, item 8271 third_party/libxml/src/xmlschemas.c return (item); item 8291 third_party/libxml/src/xmlschemas.c xmlSchemaIDCPtr item = NULL; item 8332 third_party/libxml/src/xmlschemas.c item = xmlSchemaAddIDC(ctxt, schema, name, targetNamespace, item 8334 third_party/libxml/src/xmlschemas.c if (item == NULL) item 8352 third_party/libxml/src/xmlschemas.c item->ref = xmlSchemaNewQNameRef(ctxt, XML_SCHEMA_TYPE_IDC_KEY, item 8354 third_party/libxml/src/xmlschemas.c if (item->ref == NULL) item 8358 third_party/libxml/src/xmlschemas.c &(item->ref->targetNamespace), item 8359 third_party/libxml/src/xmlschemas.c &(item->ref->name)); item 8361 third_party/libxml/src/xmlschemas.c item->ref->targetNamespace); item 8369 third_party/libxml/src/xmlschemas.c item->annot = xmlSchemaParseAnnotation(ctxt, child, 1); item 8383 third_party/libxml/src/xmlschemas.c item->selector = xmlSchemaParseIDCSelectorAndField(ctxt, item 8384 third_party/libxml/src/xmlschemas.c item, child, 0); item 8392 third_party/libxml/src/xmlschemas.c item, child, 1); item 8394 third_party/libxml/src/xmlschemas.c field->index = item->nbFields; item 8395 third_party/libxml/src/xmlschemas.c item->nbFields++; item 8399 third_party/libxml/src/xmlschemas.c item->fields = field; item 8418 third_party/libxml/src/xmlschemas.c return (item); item 9331 third_party/libxml/src/xmlschemas.c xmlSchemaParticlePtr item; item 9374 third_party/libxml/src/xmlschemas.c item = xmlSchemaAddParticle(ctxt, node, min, max); item 9375 third_party/libxml/src/xmlschemas.c if (item == NULL) item 9381 third_party/libxml/src/xmlschemas.c item->children = (xmlSchemaTreeItemPtr) item 9383 third_party/libxml/src/xmlschemas.c xmlSchemaPCheckParticleCorrect_2(ctxt, item, node, min, max); item 9393 third_party/libxml/src/xmlschemas.c item->annot = xmlSchemaParseAnnotation(ctxt, child, 1); item 9408 third_party/libxml/src/xmlschemas.c return ((xmlSchemaTreeItemPtr) item); item 9433 third_party/libxml/src/xmlschemas.c xmlSchemaModelGroupDefPtr item; item 9452 third_party/libxml/src/xmlschemas.c item = xmlSchemaAddModelGroupDefinition(ctxt, schema, name, item 9454 third_party/libxml/src/xmlschemas.c if (item == NULL) item 9479 third_party/libxml/src/xmlschemas.c item->annot = xmlSchemaParseAnnotation(ctxt, child, 1); item 9483 third_party/libxml/src/xmlschemas.c item->children = xmlSchemaParseModelGroup(ctxt, schema, child, item 9487 third_party/libxml/src/xmlschemas.c item->children = xmlSchemaParseModelGroup(ctxt, schema, child, item 9491 third_party/libxml/src/xmlschemas.c item->children = xmlSchemaParseModelGroup(ctxt, schema, child, item 9504 third_party/libxml/src/xmlschemas.c return (item); item 11196 third_party/libxml/src/xmlschemas.c xmlSchemaModelGroupPtr item; item 11207 third_party/libxml/src/xmlschemas.c item = xmlSchemaAddModelGroup(ctxt, schema, type, node); item 11208 third_party/libxml/src/xmlschemas.c if (item == NULL) item 11228 third_party/libxml/src/xmlschemas.c particle->children = (xmlSchemaTreeItemPtr) item; item 11275 third_party/libxml/src/xmlschemas.c item->annot = xmlSchemaParseAnnotation(ctxt, child, 1); item 11311 third_party/libxml/src/xmlschemas.c item->children = (xmlSchemaTreeItemPtr) part; item 11348 third_party/libxml/src/xmlschemas.c (ctxt->redef->item->type == XML_SCHEMA_TYPE_GROUP) && item 11418 third_party/libxml/src/xmlschemas.c item->children = part; item 11438 third_party/libxml/src/xmlschemas.c WXS_ADD_PENDING(ctxt, item); item 11443 third_party/libxml/src/xmlschemas.c return ((xmlSchemaTreeItemPtr) item); item 14082 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 14126 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item), item, cur, item 14149 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item), item, cur, item 14200 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item), item, cur, item 14233 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item), item, cur, item 14276 third_party/libxml/src/xmlschemas.c NULL, item, item 14304 third_party/libxml/src/xmlschemas.c NULL, item, item 14307 third_party/libxml/src/xmlschemas.c WXS_ITEM_TYPE_NAME(item), item 14325 third_party/libxml/src/xmlschemas.c NULL, item, item 14364 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 14910 third_party/libxml/src/xmlschemas.c xmlSchemaCheckTypeDefCircular(xmlSchemaTypePtr item, item 14913 third_party/libxml/src/xmlschemas.c if ((item == NULL) || item 14914 third_party/libxml/src/xmlschemas.c (item->type == XML_SCHEMA_TYPE_BASIC) || item 14915 third_party/libxml/src/xmlschemas.c (item->baseType == NULL)) item 14917 third_party/libxml/src/xmlschemas.c xmlSchemaCheckTypeDefCircularInternal(ctxt, item, item 14918 third_party/libxml/src/xmlschemas.c item->baseType); item 18909 third_party/libxml/src/xmlschemas.c xmlSchemaCheckGroupDefCircular(xmlSchemaModelGroupDefPtr item, item 18918 third_party/libxml/src/xmlschemas.c if ((item == NULL) || item 18919 third_party/libxml/src/xmlschemas.c (item->type != XML_SCHEMA_TYPE_GROUP) || item 18920 third_party/libxml/src/xmlschemas.c (item->children == NULL)) item 18925 third_party/libxml/src/xmlschemas.c circ = xmlSchemaGetCircModelGrDefRef(item, item->children->children); item 18940 third_party/libxml/src/xmlschemas.c item->targetNamespace, item->name)); item 19023 third_party/libxml/src/xmlschemas.c (ref->item != NULL)) item 19025 third_party/libxml/src/xmlschemas.c gr = WXS_ATTR_GROUP_CAST ref->item; item 19101 third_party/libxml/src/xmlschemas.c circ->item = NULL; item 19128 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item, item 19170 third_party/libxml/src/xmlschemas.c if ((WXS_QNAME_CAST use)->item == NULL) item 19172 third_party/libxml/src/xmlschemas.c gr = WXS_ATTR_GROUP_CAST (WXS_QNAME_CAST use)->item; item 19203 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item)); item 19425 third_party/libxml/src/xmlschemas.c if (ref->item != NULL) item 19438 third_party/libxml/src/xmlschemas.c ref->item = WXS_BASIC_CAST group; item 20284 third_party/libxml/src/xmlschemas.c xmlSchemaResolveAttrTypeReferences(xmlSchemaAttributePtr item, item 20293 third_party/libxml/src/xmlschemas.c if (item->flags & XML_SCHEMAS_ATTR_INTERNAL_RESOLVED) item 20295 third_party/libxml/src/xmlschemas.c item->flags |= XML_SCHEMAS_ATTR_INTERNAL_RESOLVED; item 20296 third_party/libxml/src/xmlschemas.c if (item->subtypes != NULL) item 20298 third_party/libxml/src/xmlschemas.c if (item->typeName != NULL) { item 20301 third_party/libxml/src/xmlschemas.c type = xmlSchemaGetType(ctxt->schema, item->typeName, item 20302 third_party/libxml/src/xmlschemas.c item->typeNs); item 20306 third_party/libxml/src/xmlschemas.c WXS_BASIC_CAST item, item->node, item 20307 third_party/libxml/src/xmlschemas.c "type", item->typeName, item->typeNs, item 20311 third_party/libxml/src/xmlschemas.c item->subtypes = type; item 20317 third_party/libxml/src/xmlschemas.c item->subtypes = xmlSchemaGetBuiltInType(XML_SCHEMAS_ANYSIMPLETYPE); item 20339 third_party/libxml/src/xmlschemas.c idc->ref->item = (xmlSchemaBasicItemPtr) item 20342 third_party/libxml/src/xmlschemas.c if (idc->ref->item == NULL) { item 20354 third_party/libxml/src/xmlschemas.c } else if (idc->ref->item->type == XML_SCHEMA_TYPE_IDC_KEYREF) { item 20363 third_party/libxml/src/xmlschemas.c idc->ref->item = NULL; item 20367 third_party/libxml/src/xmlschemas.c ((xmlSchemaIDCPtr) idc->ref->item)->nbFields) { item 20371 third_party/libxml/src/xmlschemas.c refer = (xmlSchemaIDCPtr) idc->ref->item; item 20412 third_party/libxml/src/xmlschemas.c (((xmlSchemaTypePtr) item)->flags & XML_SCHEMAS_TYPE_REDEFINED) item 20415 third_party/libxml/src/xmlschemas.c (((xmlSchemaModelGroupDefPtr) item)->flags & XML_SCHEMA_MODEL_GROUP_DEF_REDEFINED) item 20418 third_party/libxml/src/xmlschemas.c (((xmlSchemaAttributeGroupPtr) item)->flags & XML_SCHEMAS_ATTRGROUP_REDEFINED) item 20425 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr prev, item; item 20432 third_party/libxml/src/xmlschemas.c item = redef->item; item 20447 third_party/libxml/src/xmlschemas.c redef->targetBucket, item->type, item 20471 third_party/libxml/src/xmlschemas.c node = WXS_ITEM_NODE(item); item 20481 third_party/libxml/src/xmlschemas.c WXS_ITEM_TYPE_NAME(item), item 20494 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20510 third_party/libxml/src/xmlschemas.c ((xmlSchemaTypePtr) item)->baseType = item 20549 third_party/libxml/src/xmlschemas.c (WXS_QNAME_CAST redef->reference)->item = prev; item 20574 third_party/libxml/src/xmlschemas.c node = WXS_ITEM_NODE(redef->item); item 20600 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item; item 20610 third_party/libxml/src/xmlschemas.c item = redef->item; item 20612 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20654 third_party/libxml/src/xmlschemas.c item, redef->target, item 20655 third_party/libxml/src/xmlschemas.c (WXS_ATTR_GROUP_CAST item)->attrUses, item 20657 third_party/libxml/src/xmlschemas.c (WXS_ATTR_GROUP_CAST item)->attributeWildcard, item 20675 third_party/libxml/src/xmlschemas.c xmlSchemaBasicItemPtr item; item 20706 third_party/libxml/src/xmlschemas.c item = bucket->globals->items[i]; item 20708 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20711 third_party/libxml/src/xmlschemas.c if (WXS_REDEFINED_TYPE(item)) item 20713 third_party/libxml/src/xmlschemas.c name = (WXS_TYPE_CAST item)->name; item 20717 third_party/libxml/src/xmlschemas.c name = (WXS_ELEM_CAST item)->name; item 20721 third_party/libxml/src/xmlschemas.c name = (WXS_ATTR_CAST item)->name; item 20725 third_party/libxml/src/xmlschemas.c if (WXS_REDEFINED_MODEL_GROUP_DEF(item)) item 20727 third_party/libxml/src/xmlschemas.c name = (WXS_MODEL_GROUPDEF_CAST item)->name; item 20731 third_party/libxml/src/xmlschemas.c if (WXS_REDEFINED_ATTR_GROUP(item)) item 20733 third_party/libxml/src/xmlschemas.c name = (WXS_ATTR_GROUP_CAST item)->name; item 20739 third_party/libxml/src/xmlschemas.c name = (WXS_IDC_CAST item)->name; item 20743 third_party/libxml/src/xmlschemas.c name = ((xmlSchemaNotationPtr) item)->name; item 20759 third_party/libxml/src/xmlschemas.c err = xmlHashAddEntry(*table, name, item); item 20765 third_party/libxml/src/xmlschemas.c WXS_ITEM_NODE(item), item 20766 third_party/libxml/src/xmlschemas.c WXS_BASIC_CAST item, item 20768 third_party/libxml/src/xmlschemas.c WXS_ITEM_TYPE_NAME(item), item 20769 third_party/libxml/src/xmlschemas.c xmlSchemaGetComponentQName(&str, item)); item 20795 third_party/libxml/src/xmlschemas.c xmlSchemaTreeItemPtr item, *items; item 20864 third_party/libxml/src/xmlschemas.c item = items[i]; item 20865 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20868 third_party/libxml/src/xmlschemas.c (xmlSchemaElementPtr) item, pctxt); item 20874 third_party/libxml/src/xmlschemas.c (xmlSchemaTypePtr) item, pctxt); item 20879 third_party/libxml/src/xmlschemas.c (xmlSchemaAttributePtr) item, pctxt); item 20884 third_party/libxml/src/xmlschemas.c (xmlSchemaAttributeUsePtr) item, pctxt); item 20888 third_party/libxml/src/xmlschemas.c if ((WXS_QNAME_CAST item)->itemType == item 20892 third_party/libxml/src/xmlschemas.c WXS_QNAME_CAST item, pctxt); item 20900 third_party/libxml/src/xmlschemas.c WXS_MODEL_GROUP_CAST item); item 20907 third_party/libxml/src/xmlschemas.c (xmlSchemaIDCPtr) item, pctxt); item 20916 third_party/libxml/src/xmlschemas.c WXS_ATTR_PROHIB_CAST item, pctxt); item 20935 third_party/libxml/src/xmlschemas.c item = items[i]; item 20939 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20943 third_party/libxml/src/xmlschemas.c (xmlSchemaTypePtr) item, pctxt); item 20950 third_party/libxml/src/xmlschemas.c (xmlSchemaModelGroupDefPtr) item, pctxt); item 20957 third_party/libxml/src/xmlschemas.c (xmlSchemaAttributeGroupPtr) item, pctxt); item 20977 third_party/libxml/src/xmlschemas.c item = items[i]; item 20978 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20982 third_party/libxml/src/xmlschemas.c WXS_MODEL_GROUP_CAST item); item 20994 third_party/libxml/src/xmlschemas.c item = items[i]; item 20995 third_party/libxml/src/xmlschemas.c switch (item->type) { item 20997 third_party/libxml/src/xmlschemas.c if ((! WXS_ATTR_GROUP_EXPANDED(item)) && item 20998 third_party/libxml/src/xmlschemas.c WXS_ATTR_GROUP_HAS_REFS(item)) item 21001 third_party/libxml/src/xmlschemas.c WXS_ATTR_GROUP_CAST item); item 21017 third_party/libxml/src/xmlschemas.c item = items[i]; item 21018 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21020 third_party/libxml/src/xmlschemas.c if (WXS_IS_TYPE_NOT_FIXED_1((xmlSchemaTypePtr) item)) { item 21022 third_party/libxml/src/xmlschemas.c (xmlSchemaTypePtr) item); item 21037 third_party/libxml/src/xmlschemas.c item = items[i]; item 21038 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21040 third_party/libxml/src/xmlschemas.c if (((xmlSchemaTypePtr) item)->memberTypes != NULL) { item 21042 third_party/libxml/src/xmlschemas.c (xmlSchemaTypePtr) item); item 21057 third_party/libxml/src/xmlschemas.c item = items[i]; item 21058 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21060 third_party/libxml/src/xmlschemas.c if (WXS_IS_TYPE_NOT_FIXED(WXS_TYPE_CAST item)) { item 21061 third_party/libxml/src/xmlschemas.c xmlSchemaFixupSimpleTypeStageTwo(pctxt, WXS_TYPE_CAST item); item 21078 third_party/libxml/src/xmlschemas.c item = items[i]; item 21079 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21081 third_party/libxml/src/xmlschemas.c xmlSchemaCheckAttrPropsCorrect(pctxt, WXS_ATTR_CAST item); item 21094 third_party/libxml/src/xmlschemas.c item = items[i]; item 21095 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21097 third_party/libxml/src/xmlschemas.c if (((xmlSchemaAttributeUsePtr)item)->defValue != NULL) { item 21099 third_party/libxml/src/xmlschemas.c WXS_ATTR_USE_CAST item); item 21114 third_party/libxml/src/xmlschemas.c item = items[i]; item 21115 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21117 third_party/libxml/src/xmlschemas.c if (( (WXS_ATTR_GROUP_CAST item)->attrUses != NULL) && item 21118 third_party/libxml/src/xmlschemas.c ( (WXS_LIST_CAST (WXS_ATTR_GROUP_CAST item)->attrUses)->nbItems > 1)) item 21120 third_party/libxml/src/xmlschemas.c xmlSchemaCheckAGPropsCorrect(pctxt, WXS_ATTR_GROUP_CAST item); item 21143 third_party/libxml/src/xmlschemas.c item = con->pending->items[i]; item 21144 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21146 third_party/libxml/src/xmlschemas.c if (WXS_IS_TYPE_NOT_FIXED(WXS_TYPE_CAST item)) { item 21147 third_party/libxml/src/xmlschemas.c xmlSchemaFixupComplexType(pctxt, WXS_TYPE_CAST item); item 21169 third_party/libxml/src/xmlschemas.c item = items[i]; item 21170 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21172 third_party/libxml/src/xmlschemas.c elemDecl = (xmlSchemaElementPtr) item; item 21210 third_party/libxml/src/xmlschemas.c item = items[i]; item 21211 third_party/libxml/src/xmlschemas.c switch (item->type) { item 21213 third_party/libxml/src/xmlschemas.c xmlSchemaBuildContentModel((xmlSchemaTypePtr) item, pctxt); item 22033 third_party/libxml/src/xmlschemas.c xmlSchemaPSVIIDCNodePtr item) item 22058 third_party/libxml/src/xmlschemas.c vctxt->idcNodes[vctxt->nbIdcNodes++] = item; item 23175 third_party/libxml/src/xmlschemas.c refIdc = (xmlSchemaIDCPtr) idc->ref->item; item 23777 third_party/libxml/src/xmlschemas.c if ((xmlSchemaIDCPtr) matcher->aidc->def->ref->item == item 24116 third_party/libxml/src/xmlschemas.c #define ACTIVATE_ATTRIBUTE(item) vctxt->inode = (xmlSchemaNodeInfoPtr) item; item 25918 third_party/libxml/src/xmlschemas.c xmlSchemaElementPtr item, item 25921 third_party/libxml/src/xmlschemas.c inode->decl = item; item 25926 third_party/libxml/src/xmlschemas.c if (item->type == XML_SCHEMA_TYPE_ELEMENT) { item 27502 third_party/libxml/src/xmlschemas.c xmlSchemaPSVIIDCNodePtr item; item 27505 third_party/libxml/src/xmlschemas.c item = vctxt->idcNodes[i]; item 27506 third_party/libxml/src/xmlschemas.c xmlFree(item->keys); item 27507 third_party/libxml/src/xmlschemas.c xmlFree(item); item 27568 third_party/libxml/src/xmlschemas.c xmlSchemaPSVIIDCNodePtr item; item 27571 third_party/libxml/src/xmlschemas.c item = ctxt->idcNodes[i]; item 27572 third_party/libxml/src/xmlschemas.c xmlFree(item->keys); item 27573 third_party/libxml/src/xmlschemas.c xmlFree(item); item 416 third_party/libxml/src/xpath.c void *item, item 442 third_party/libxml/src/xpath.c list->items[list->number++] = item; item 1085 third_party/libxslt/libexslt/date.c #define FORMAT_ITEM(num, cur, limit, item) \ item 1090 third_party/libxslt/libexslt/date.c *cur++ = item; \ item 393 third_party/libxslt/libxslt/preproc.c xsltStyleItemSortPtr item = (xsltStyleItemSortPtr) comp; item 394 third_party/libxslt/libxslt/preproc.c if (item->locale != (xsltLocale)0) item 395 third_party/libxslt/libxslt/preproc.c xsltFreeLocale(item->locale); item 396 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 397 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 411 third_party/libxslt/libxslt/preproc.c xsltStyleItemCopyOfPtr item = (xsltStyleItemCopyOfPtr) comp; item 412 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 413 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 417 third_party/libxslt/libxslt/preproc.c xsltStyleItemValueOfPtr item = (xsltStyleItemValueOfPtr) comp; item 418 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 419 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 429 third_party/libxslt/libxslt/preproc.c xsltStyleItemApplyTemplatesPtr item = item 431 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 432 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 438 third_party/libxslt/libxslt/preproc.c xsltStyleItemIfPtr item = (xsltStyleItemIfPtr) comp; item 439 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 440 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 444 third_party/libxslt/libxslt/preproc.c xsltStyleItemForEachPtr item = item 446 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 447 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 453 third_party/libxslt/libxslt/preproc.c xsltStyleItemWithParamPtr item = item 455 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 456 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 460 third_party/libxslt/libxslt/preproc.c xsltStyleItemParamPtr item = item 462 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 463 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 467 third_party/libxslt/libxslt/preproc.c xsltStyleItemVariablePtr item = item 469 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 470 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 474 third_party/libxslt/libxslt/preproc.c xsltStyleItemWhenPtr item = item 476 third_party/libxslt/libxslt/preproc.c if (item->comp != NULL) item 477 third_party/libxslt/libxslt/preproc.c xmlXPathFreeCompExpr(item->comp); item 444 third_party/libxslt/libxslt/xslt.c xsltFreeNsAliasList(xsltNsAliasPtr item) item 448 third_party/libxslt/libxslt/xslt.c while (item) { item 449 third_party/libxslt/libxslt/xslt.c tmp = item; item 450 third_party/libxslt/libxslt/xslt.c item = item->next; item 458 third_party/libxslt/libxslt/xslt.c xsltFreeNamespaceMap(xsltNsMapPtr item) item 462 third_party/libxslt/libxslt/xslt.c while (item) { item 463 third_party/libxslt/libxslt/xslt.c tmp = item; item 464 third_party/libxslt/libxslt/xslt.c item = item->next; item 2023 third_party/libxslt/libxslt/xslt.c xsltStyleItemLRElementInfoPtr item, item 2034 third_party/libxslt/libxslt/xslt.c (item == NULL) || (item->effectiveNs != NULL)) item 2037 third_party/libxslt/libxslt/xslt.c if (item->inScopeNs == NULL) item 2043 third_party/libxslt/libxslt/xslt.c for (i = 0; i < item->inScopeNs->totalNumber; i++) { item 2044 third_party/libxslt/libxslt/xslt.c ns = item->inScopeNs->list[i]; item 2175 third_party/libxslt/libxslt/xslt.c item->effectiveNs = effNs; item 2199 third_party/libxslt/libxslt/xslt.c xsltStyleItemLRElementInfoPtr item; item 2204 third_party/libxslt/libxslt/xslt.c item = (xsltStyleItemLRElementInfoPtr) item 2206 third_party/libxslt/libxslt/xslt.c if (item == NULL) { item 2213 third_party/libxslt/libxslt/xslt.c memset(item, 0, sizeof(xsltStyleItemLRElementInfo)); item 2214 third_party/libxslt/libxslt/xslt.c item->type = XSLT_FUNC_LITERAL_RESULT_ELEMENT; item 2218 third_party/libxslt/libxslt/xslt.c item->next = cctxt->style->preComps; item 2219 third_party/libxslt/libxslt/xslt.c cctxt->style->preComps = (xsltElemPreCompPtr) item; item 2224 third_party/libxslt/libxslt/xslt.c item->inScopeNs = cctxt->inode->inScopeNs; item 2227 third_party/libxslt/libxslt/xslt.c xsltLREBuildEffectiveNsNodes(cctxt, item, elem, isLRE); item 2229 third_party/libxslt/libxslt/xslt.c cctxt->inode->litResElemInfo = item; item 2359 third_party/libxslt/libxslt/xslt.c inode->item = NULL; item 4243 third_party/libxslt/libxslt/xslt.c xsltStyleItemUknownPtr item; item 4245 third_party/libxslt/libxslt/xslt.c item = (xsltStyleItemUknownPtr) xmlMalloc(sizeof(xsltStyleItemUknown)); item 4246 third_party/libxslt/libxslt/xslt.c if (item == NULL) { item 4253 third_party/libxslt/libxslt/xslt.c memset(item, 0, sizeof(xsltStyleItemUknown)); item 4254 third_party/libxslt/libxslt/xslt.c item->type = XSLT_FUNC_UNKOWN_FORWARDS_COMPAT; item 4258 third_party/libxslt/libxslt/xslt.c item->next = cctxt->style->preComps; item 4259 third_party/libxslt/libxslt/xslt.c cctxt->style->preComps = (xsltElemPreCompPtr) item; item 4260 third_party/libxslt/libxslt/xslt.c return(item); item 5432 third_party/libxslt/libxslt/xslt.c xsltStyleItemIncludePtr item; item 5438 third_party/libxslt/libxslt/xslt.c item = (xsltStyleItemIncludePtr) xmlMalloc(sizeof(xsltStyleItemInclude)); item 5439 third_party/libxslt/libxslt/xslt.c if (item == NULL) { item 5445 third_party/libxslt/libxslt/xslt.c memset(item, 0, sizeof(xsltStyleItemInclude)); item 5447 third_party/libxslt/libxslt/xslt.c node->psvi = item; item 5448 third_party/libxslt/libxslt/xslt.c item->inst = node; item 5449 third_party/libxslt/libxslt/xslt.c item->type = XSLT_FUNC_INCLUDE; item 5451 third_party/libxslt/libxslt/xslt.c item->next = cctxt->style->preComps; item 5452 third_party/libxslt/libxslt/xslt.c cctxt->style->preComps = (xsltElemPreCompPtr) item; item 5454 third_party/libxslt/libxslt/xslt.c return(item); item 510 third_party/libxslt/libxslt/xsltInternals.h void *item, item 1147 third_party/libxslt/libxslt/xsltInternals.h xsltElemPreCompPtr item; item 1267 third_party/libxslt/libxslt/xsltInternals.h xsltElemPreCompPtr item; /* The compiled information */ item 318 third_party/libxslt/libxslt/xsltutils.c void *item, item 344 third_party/libxslt/libxslt/xsltutils.c list->items[list->number++] = item; item 69 third_party/npapi/npspy/extern/nspr/plhash.h void (PR_CALLBACK *freeTable)(void *pool, void *item); item 566 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java RawMessageSet.Item item = items.get(i); item 568 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java output.writeBytes(3, item.getMessage()); item 569 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java output.writeInt32(2, item.getTypeId()); item 362 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc raw.item(0).type_id()); item 365 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc raw.item(1).type_id()); item 366 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_EQ(kUnknownTypeId, raw.item(2).type_id()); item 369 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_TRUE(message1.ParseFromString(raw.item(0).message())); item 373 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_TRUE(message2.ParseFromString(raw.item(1).message())); item 376 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_EQ("bar", raw.item(2).message()); item 435 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc unittest::RawMessageSet::Item* item = raw.add_item(); item 436 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc item->set_type_id( item 440 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message.SerializeToString(item->mutable_message()); item 444 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc unittest::RawMessageSet::Item* item = raw.add_item(); item 445 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc item->set_type_id( item 449 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message.SerializeToString(item->mutable_message()); item 453 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc unittest::RawMessageSet::Item* item = raw.add_item(); item 454 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc item->set_type_id(kUnknownTypeId); item 455 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc item->set_message("bar"); item 1033 third_party/simplejson/_speedups.c PyObject *item; item 1096 third_party/simplejson/_speedups.c item = PyTuple_Pack(2, key, val); item 1097 third_party/simplejson/_speedups.c if (item == NULL) item 1101 third_party/simplejson/_speedups.c if (PyList_Append(pairs, item) == -1) { item 1102 third_party/simplejson/_speedups.c Py_DECREF(item); item 1105 third_party/simplejson/_speedups.c Py_DECREF(item); item 1181 third_party/simplejson/_speedups.c PyObject *item; item 1245 third_party/simplejson/_speedups.c item = PyTuple_Pack(2, key, val); item 1246 third_party/simplejson/_speedups.c if (item == NULL) item 1250 third_party/simplejson/_speedups.c if (PyList_Append(pairs, item) == -1) { item 1251 third_party/simplejson/_speedups.c Py_DECREF(item); item 1254 third_party/simplejson/_speedups.c Py_DECREF(item); item 2329 third_party/simplejson/_speedups.c PyObject *item = NULL; item 2402 third_party/simplejson/_speedups.c item = PyTuple_Pack(2, key, value); item 2403 third_party/simplejson/_speedups.c if (item == NULL) item 2405 third_party/simplejson/_speedups.c PyList_SET_ITEM(items, i, item); item 2424 third_party/simplejson/_speedups.c while ((item = PyIter_Next(iter))) { item 2426 third_party/simplejson/_speedups.c if (!PyTuple_Check(item) || Py_SIZE(item) != 2) { item 2430 third_party/simplejson/_speedups.c key = PyTuple_GET_ITEM(item, 0); item 2433 third_party/simplejson/_speedups.c value = PyTuple_GET_ITEM(item, 1); item 2463 third_party/simplejson/_speedups.c Py_DECREF(item); item 2493 third_party/simplejson/_speedups.c Py_CLEAR(item); item 68 third_party/tcmalloc/chromium/src/internal_logging.cc bool Add(const LogItem& item); item 123 third_party/tcmalloc/chromium/src/internal_logging.cc bool Logger::Add(const LogItem& item) { item 130 third_party/tcmalloc/chromium/src/internal_logging.cc switch (item.tag_) { item 132 third_party/tcmalloc/chromium/src/internal_logging.cc return AddStr(item.u_.str, strlen(item.u_.str)); item 134 third_party/tcmalloc/chromium/src/internal_logging.cc return AddNum(item.u_.unum, 10); item 136 third_party/tcmalloc/chromium/src/internal_logging.cc if (item.u_.snum < 0) { item 140 third_party/tcmalloc/chromium/src/internal_logging.cc && AddNum(- static_cast<uint64_t>(item.u_.snum), 10); item 142 third_party/tcmalloc/chromium/src/internal_logging.cc return AddNum(static_cast<uint64_t>(item.u_.snum), 10); item 146 third_party/tcmalloc/chromium/src/internal_logging.cc && AddNum(reinterpret_cast<uintptr_t>(item.u_.ptr), 16); item 67 third_party/tcmalloc/vendor/src/internal_logging.cc bool Add(const LogItem& item); item 122 third_party/tcmalloc/vendor/src/internal_logging.cc bool Logger::Add(const LogItem& item) { item 129 third_party/tcmalloc/vendor/src/internal_logging.cc switch (item.tag_) { item 131 third_party/tcmalloc/vendor/src/internal_logging.cc return AddStr(item.u_.str, strlen(item.u_.str)); item 133 third_party/tcmalloc/vendor/src/internal_logging.cc return AddNum(item.u_.unum, 10); item 135 third_party/tcmalloc/vendor/src/internal_logging.cc if (item.u_.snum < 0) { item 139 third_party/tcmalloc/vendor/src/internal_logging.cc && AddNum(- static_cast<uint64_t>(item.u_.snum), 10); item 141 third_party/tcmalloc/vendor/src/internal_logging.cc return AddNum(static_cast<uint64_t>(item.u_.snum), 10); item 145 third_party/tcmalloc/vendor/src/internal_logging.cc && AddNum(reinterpret_cast<uintptr_t>(item.u_.ptr), 16); item 3627 third_party/wtl/include/atlctrls.h LVITEM item = { 0 }; item 3628 third_party/wtl/include/atlctrls.h item.mask = nMask; item 3629 third_party/wtl/include/atlctrls.h item.iItem = nItem; item 3630 third_party/wtl/include/atlctrls.h item.iSubItem = 0; item 3631 third_party/wtl/include/atlctrls.h item.pszText = (LPTSTR)lpszItem; item 3632 third_party/wtl/include/atlctrls.h item.state = nState; item 3633 third_party/wtl/include/atlctrls.h item.stateMask = nStateMask; item 3634 third_party/wtl/include/atlctrls.h item.iImage = nImage; item 3635 third_party/wtl/include/atlctrls.h item.lParam = lParam; item 3636 third_party/wtl/include/atlctrls.h return InsertItem(&item); item 4014 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4015 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4016 third_party/wtl/include/atlctrls.h item.mask = nMask; item 4017 third_party/wtl/include/atlctrls.h item.pszText = (LPTSTR) lpszItem; item 4018 third_party/wtl/include/atlctrls.h item.iImage = nImage; item 4019 third_party/wtl/include/atlctrls.h item.iSelectedImage = nSelectedImage; item 4020 third_party/wtl/include/atlctrls.h item.state = nState; item 4021 third_party/wtl/include/atlctrls.h item.stateMask = nStateMask; item 4022 third_party/wtl/include/atlctrls.h item.lParam = lParam; item 4023 third_party/wtl/include/atlctrls.h return (BOOL)::SendMessage(m_hWnd, TVM_SETITEM, 0, (LPARAM)&item); item 4031 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4032 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4033 third_party/wtl/include/atlctrls.h item.mask = TVIF_TEXT; item 4034 third_party/wtl/include/atlctrls.h item.pszText = lpstrText; item 4035 third_party/wtl/include/atlctrls.h item.cchTextMax = nLen; item 4037 third_party/wtl/include/atlctrls.h return (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4046 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4047 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4048 third_party/wtl/include/atlctrls.h item.mask = TVIF_TEXT; item 4058 third_party/wtl/include/atlctrls.h item.pszText = lpstrText; item 4059 third_party/wtl/include/atlctrls.h item.cchTextMax = nLen; item 4060 third_party/wtl/include/atlctrls.h bRet = (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4061 third_party/wtl/include/atlctrls.h if(!bRet || (lstrlen(item.pszText) < nLen - 1)) item 4082 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4083 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4084 third_party/wtl/include/atlctrls.h item.mask = TVIF_TEXT; item 4090 third_party/wtl/include/atlctrls.h item.pszText = strText.GetBufferSetLength(nLen); item 4091 third_party/wtl/include/atlctrls.h if(item.pszText == NULL) item 4096 third_party/wtl/include/atlctrls.h item.cchTextMax = nLen; item 4097 third_party/wtl/include/atlctrls.h bRet = (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4098 third_party/wtl/include/atlctrls.h if(!bRet || (lstrlen(item.pszText) < nLen - 1)) item 4115 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4116 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4117 third_party/wtl/include/atlctrls.h item.mask = TVIF_IMAGE|TVIF_SELECTEDIMAGE; item 4118 third_party/wtl/include/atlctrls.h BOOL bRes = (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4121 third_party/wtl/include/atlctrls.h nImage = item.iImage; item 4122 third_party/wtl/include/atlctrls.h nSelectedImage = item.iSelectedImage; item 4139 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4140 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4141 third_party/wtl/include/atlctrls.h item.mask = TVIF_STATE; item 4142 third_party/wtl/include/atlctrls.h item.state = 0; item 4143 third_party/wtl/include/atlctrls.h item.stateMask = nStateMask; item 4144 third_party/wtl/include/atlctrls.h ::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4145 third_party/wtl/include/atlctrls.h return (item.state & nStateMask); item 4158 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4159 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4160 third_party/wtl/include/atlctrls.h item.mask = TVIF_PARAM; item 4161 third_party/wtl/include/atlctrls.h BOOL bRet = (BOOL)::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4162 third_party/wtl/include/atlctrls.h return (DWORD_PTR)(bRet ? item.lParam : NULL); item 4193 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 4194 third_party/wtl/include/atlctrls.h item.hItem = hItem; item 4195 third_party/wtl/include/atlctrls.h item.mask = TVIF_CHILDREN; item 4196 third_party/wtl/include/atlctrls.h ::SendMessage(m_hWnd, TVM_GETITEM, 0, (LPARAM)&item); item 4197 third_party/wtl/include/atlctrls.h return item.cChildren; item 4404 third_party/wtl/include/atlctrls.h tvis.item.mask = nMask; item 4405 third_party/wtl/include/atlctrls.h tvis.item.pszText = (LPTSTR) lpszItem; item 4406 third_party/wtl/include/atlctrls.h tvis.item.iImage = nImage; item 4407 third_party/wtl/include/atlctrls.h tvis.item.iSelectedImage = nSelectedImage; item 4408 third_party/wtl/include/atlctrls.h tvis.item.state = nState; item 4409 third_party/wtl/include/atlctrls.h tvis.item.stateMask = nStateMask; item 4410 third_party/wtl/include/atlctrls.h tvis.item.lParam = lParam; item 4899 third_party/wtl/include/atlctrls.h tvis.item.mask = nMask; item 4900 third_party/wtl/include/atlctrls.h tvis.item.pszText = (LPTSTR) lpszItem; item 4901 third_party/wtl/include/atlctrls.h tvis.item.iImage = nImage; item 4902 third_party/wtl/include/atlctrls.h tvis.item.iSelectedImage = nSelectedImage; item 4903 third_party/wtl/include/atlctrls.h tvis.item.state = nState; item 4904 third_party/wtl/include/atlctrls.h tvis.item.stateMask = nStateMask; item 4905 third_party/wtl/include/atlctrls.h tvis.item.lParam = lParam; item 5205 third_party/wtl/include/atlctrls.h ins.item.mask = TVIF_TEXT; item 5206 third_party/wtl/include/atlctrls.h ins.item.pszText = (LPTSTR)lpstrItem; item 5209 third_party/wtl/include/atlctrls.h ins.item.mask |= TVIF_IMAGE | TVIF_SELECTEDIMAGE; item 5210 third_party/wtl/include/atlctrls.h ins.item.iImage = nImageIndex; item 5211 third_party/wtl/include/atlctrls.h ins.item.iSelectedImage = nImageIndex; item 5220 third_party/wtl/include/atlctrls.h TVITEM item = { 0 }; item 5221 third_party/wtl/include/atlctrls.h item.mask = TVIF_HANDLE | TVIF_IMAGE; item 5222 third_party/wtl/include/atlctrls.h item.hItem = m_hTreeItem; item 5223 third_party/wtl/include/atlctrls.h m_pTreeView->GetItem(&item); item 5224 third_party/wtl/include/atlctrls.h return item.iImage; item 3126 third_party/wtl/include/atldlgs.h DLGITEMTEMPLATEEX item = {dwHelpID, ATL::CControlWinTraits::GetWndExStyle(0) | dwExStyle, ATL::CControlWinTraits::GetWndStyle(0) | dwStyle, nX, nY, nWidth, nHeight, wId}; item 3127 third_party/wtl/include/atldlgs.h AddData(&item, sizeof(item)); item 3134 third_party/wtl/include/atldlgs.h DLGITEMTEMPLATE item = {ATL::CControlWinTraits::GetWndStyle(0) | dwStyle, ATL::CControlWinTraits::GetWndExStyle(0) | dwExStyle, nX, nY, nWidth, nHeight, wId}; item 3135 third_party/wtl/include/atldlgs.h AddData(&item, sizeof(item)); item 60 tools/gn/build_settings.cc void BuildSettings::ItemDefined(scoped_ptr<Item> item) const { item 61 tools/gn/build_settings.cc DCHECK(item); item 63 tools/gn/build_settings.cc item_defined_callback_.Run(item.Pass()); item 81 tools/gn/build_settings.h void ItemDefined(scoped_ptr<Item> item) const; item 63 tools/gn/builder.cc void Builder::ItemDefined(scoped_ptr<Item> item) { item 64 tools/gn/builder.cc ScopedTrace trace(TraceItem::TRACE_DEFINE_TARGET, item->label()); item 65 tools/gn/builder.cc trace.SetToolchain(item->settings()->toolchain_label()); item 67 tools/gn/builder.cc BuilderRecord::ItemType type = BuilderRecord::TypeOfItem(item.get()); item 71 tools/gn/builder.cc GetOrCreateRecordOfType(item->label(), item->defined_from(), type, &err); item 78 tools/gn/builder.cc if (record->item()) { item 79 tools/gn/builder.cc err = Err(item->defined_from(), "Duplicate definition.", item 80 tools/gn/builder.cc "The item\n " + item->label().GetUserVisibleName(false) + item 82 tools/gn/builder.cc err.AppendSubErr(Err(record->item()->defined_from(), item 88 tools/gn/builder.cc record->set_item(item.Pass()); item 100 tools/gn/builder.cc loader_->ToolchainLoaded(record->item()->AsToolchain()); item 118 tools/gn/builder.cc return record->item(); item 125 tools/gn/builder.cc if (!record->item()) item 127 tools/gn/builder.cc return record->item()->AsToolchain(); item 145 tools/gn/builder.cc i->second->should_generate() && i->second->item()) item 146 tools/gn/builder.cc result.push_back(i->second->item()->AsTarget()); item 190 tools/gn/builder.cc if (!dest->item()) { item 226 tools/gn/builder.cc Target* target = record->item()->AsTarget(); item 286 tools/gn/builder.cc const Item* item = record->item(); item 287 tools/gn/builder.cc if (!item) { item 293 tools/gn/builder.cc if (!BuilderRecord::IsItemOfType(item, type)) { item 297 tools/gn/builder.cc item->GetItemTypeName() + " instead of a " + item 368 tools/gn/builder.cc Target* target = record->item()->AsTarget(); item 379 tools/gn/builder.cc record->item()->OnResolved(); item 410 tools/gn/builder.cc cur.ptr = record->item()->AsTarget(); item 424 tools/gn/builder.cc cur.ptr = record->item()->AsConfig(); item 35 tools/gn/builder.h void ItemDefined(scoped_ptr<Item> item); item 36 tools/gn/builder_record.cc bool BuilderRecord::IsItemOfType(const Item* item, ItemType type) { item 39 tools/gn/builder_record.cc return !!item->AsTarget(); item 41 tools/gn/builder_record.cc return !!item->AsConfig(); item 43 tools/gn/builder_record.cc return !!item->AsToolchain(); item 51 tools/gn/builder_record.cc BuilderRecord::ItemType BuilderRecord::TypeOfItem(const Item* item) { item 52 tools/gn/builder_record.cc if (item->AsTarget()) item 54 tools/gn/builder_record.cc if (item->AsConfig()) item 56 tools/gn/builder_record.cc if (item->AsToolchain()) item 51 tools/gn/builder_record.h static bool IsItemOfType(const Item* item, ItemType type); item 54 tools/gn/builder_record.h static ItemType TypeOfItem(const Item* item); item 56 tools/gn/builder_record.h Item* item() { return item_.get(); } item 57 tools/gn/builder_record.h const Item* item() const { return item_.get(); } item 58 tools/gn/builder_record.h void set_item(scoped_ptr<Item> item) { item_ = item.Pass(); } item 116 tools/gn/builder_unittest.cc EXPECT_TRUE(a_record->item()); item 122 tools/gn/builder_unittest.cc EXPECT_FALSE(b_record->item()); item 49 tools/gn/command_gen.cc const Item* item = record->item(); item 50 tools/gn/command_gen.cc const Target* target = item->AsTarget(); item 62 tools/gn/command_gen.cc deps.push_back((*iter)->item()); item 23 tools/gn/command_refs.cc if (!record->item()) item 25 tools/gn/command_refs.cc return record->item()->defined_from()->GetRange().begin().file() item 115 tools/gn/command_refs.cc record->item()->label().GetUserVisibleName(false) + " -> " + item 72 tools/gn/commands.cc const Item* item = setup->builder()->GetItem(label); item 73 tools/gn/commands.cc if (!item) { item 79 tools/gn/commands.cc const Target* target = item->AsTarget(); item 55 tools/gn/ninja_writer.cc all_records[i]->item()->AsTarget()); item 107 tools/gn/setup.cc scoped_ptr<Item> item) { item 108 tools/gn/setup.cc DCHECK(item); item 110 tools/gn/setup.cc base::Passed(&item))); item 29 tools/gn/trace.cc void Add(TraceItem* item) { item 31 tools/gn/trace.cc events_.push_back(item); item 174 tools/gn/trace.cc void AddTrace(TraceItem* item) { item 175 tools/gn/trace.cc trace_log->Add(item); item 232 tools/gn/trace.cc const TraceItem& item = *events[i]; item 236 tools/gn/trace.cc out << "{\"pid\":0,\"tid\":" << item.thread_id(); item 237 tools/gn/trace.cc out << ",\"ts\":" << item.begin().ToInternalValue(); item 239 tools/gn/trace.cc out << ",\"dur\":" << item.delta().InMicroseconds(); item 242 tools/gn/trace.cc base::EscapeJSONString(item.name(), true, "e_buffer); item 246 tools/gn/trace.cc switch (item.type()) { item 266 tools/gn/trace.cc if (!item.toolchain().empty() || !item.cmdline().empty()) { item 269 tools/gn/trace.cc if (!item.toolchain().empty()) { item 271 tools/gn/trace.cc base::EscapeJSONString(item.toolchain(), true, "e_buffer); item 275 tools/gn/trace.cc if (!item.cmdline().empty()) { item 277 tools/gn/trace.cc base::EscapeJSONString(item.cmdline(), true, "e_buffer); item 86 tools/gn/trace.h void AddTrace(TraceItem* item); item 252 tools/gn/visibility.cc bool Visibility::FillItemVisibility(Item* item, Scope* scope, Err* err) { item 255 tools/gn/visibility.cc item->visibility().Set(scope->GetSourceDir(), *vis_value, err); item 257 tools/gn/visibility.cc item->visibility().SetPublic(); item 86 tools/gn/visibility.h static bool FillItemVisibility(Item* item, Scope* scope, Err* err); item 112 ui/app_list/app_list_folder_item.cc AppListItem* item, item 115 ui/app_list/app_list_folder_item.cc if (item->id() == top_items_[i]->id()) { item 224 ui/app_list/app_list_folder_item.cc AppListItem* item) { item 230 ui/app_list/app_list_folder_item.cc AppListItem* item) { item 237 ui/app_list/app_list_folder_item.cc AppListItem* item) { item 249 ui/app_list/app_list_folder_item.cc AppListItem* item = item_list_->item_at(i); item 250 ui/app_list/app_list_folder_item.cc item->AddObserver(this); item 251 ui/app_list/app_list_folder_item.cc top_items_.push_back(item); item 54 ui/app_list/app_list_folder_item.h AppListItem* item, const gfx::Rect& folder_icon_bounds); item 87 ui/app_list/app_list_folder_item.h virtual void OnListItemAdded(size_t index, AppListItem* item) OVERRIDE; item 89 ui/app_list/app_list_folder_item.h AppListItem* item) OVERRIDE;; item 92 ui/app_list/app_list_folder_item.h AppListItem* item) OVERRIDE; item 27 ui/app_list/app_list_item_list.cc AppListItem* item = app_list_items_[i]; item 28 ui/app_list/app_list_item_list.cc if (item->id() == id) item 29 ui/app_list/app_list_item_list.cc return item; item 36 ui/app_list/app_list_item_list.cc AppListItem* item = app_list_items_[i]; item 37 ui/app_list/app_list_item_list.cc if (item->id() == id) { item 90 ui/app_list/app_list_item_list.cc void AppListItemList::SetItemPosition(AppListItem* item, item 92 ui/app_list/app_list_item_list.cc DCHECK(item); item 94 ui/app_list/app_list_item_list.cc if (!FindItemIndex(item->id(), &from_index)) { item 95 ui/app_list/app_list_item_list.cc LOG(ERROR) << "SetItemPosition: Not in list: " << item->id().substr(0, 8); item 98 ui/app_list/app_list_item_list.cc DCHECK(app_list_items_[from_index] == item); item 107 ui/app_list/app_list_item_list.cc size_t to_index = GetItemSortOrderIndex(new_position, item->id()); item 109 ui/app_list/app_list_item_list.cc DVLOG(2) << "SetItemPosition: No change: " << item->id().substr(0, 8); item 110 ui/app_list/app_list_item_list.cc item->set_position(new_position); item 115 ui/app_list/app_list_item_list.cc to_index = GetItemSortOrderIndex(new_position, item->id()); item 116 ui/app_list/app_list_item_list.cc DVLOG(2) << "SetItemPosition: " << item->id().substr(0, 8) << " -> " item 119 ui/app_list/app_list_item_list.cc item->set_position(new_position); item 120 ui/app_list/app_list_item_list.cc app_list_items_.insert(app_list_items_.begin() + to_index, item); item 123 ui/app_list/app_list_item_list.cc OnListItemMoved(from_index, to_index, item)); item 152 ui/app_list/app_list_item_list.cc AppListItem* item = item_ptr.get(); item 153 ui/app_list/app_list_item_list.cc CHECK(std::find(app_list_items_.begin(), app_list_items_.end(), item) item 155 ui/app_list/app_list_item_list.cc EnsureValidItemPosition(item); item 156 ui/app_list/app_list_item_list.cc size_t index = GetItemSortOrderIndex(item->position(), item->id()); item 160 ui/app_list/app_list_item_list.cc OnListItemAdded(index, item)); item 161 ui/app_list/app_list_item_list.cc return item; item 165 ui/app_list/app_list_item_list.cc scoped_ptr<AppListItem> item = RemoveItem(id); item 180 ui/app_list/app_list_item_list.cc AppListItem* item = app_list_items_[index]; item 184 ui/app_list/app_list_item_list.cc OnListItemRemoved(index, item)); item 185 ui/app_list/app_list_item_list.cc return make_scoped_ptr<AppListItem>(item); item 189 ui/app_list/app_list_item_list.cc scoped_ptr<AppListItem> item = RemoveItemAt(index); item 193 ui/app_list/app_list_item_list.cc void AppListItemList::EnsureValidItemPosition(AppListItem* item) { item 194 ui/app_list/app_list_item_list.cc syncer::StringOrdinal position = item->position(); item 203 ui/app_list/app_list_item_list.cc item->set_position(position); item 49 ui/app_list/app_list_item_list.h void SetItemPosition(AppListItem* item, syncer::StringOrdinal new_position); item 93 ui/app_list/app_list_item_list.h void EnsureValidItemPosition(AppListItem* item); item 18 ui/app_list/app_list_item_list_observer.h virtual void OnListItemAdded(size_t index, AppListItem* item) {} item 22 ui/app_list/app_list_item_list_observer.h virtual void OnListItemRemoved(size_t index, AppListItem* item) {} item 28 ui/app_list/app_list_item_list_observer.h AppListItem* item) {} item 26 ui/app_list/app_list_item_list_unittest.cc virtual void OnListItemAdded(size_t index, AppListItem* item) OVERRIDE { item 30 ui/app_list/app_list_item_list_unittest.cc virtual void OnListItemRemoved(size_t index, AppListItem* item) OVERRIDE { item 36 ui/app_list/app_list_item_list_unittest.cc AppListItem* item) OVERRIDE { item 88 ui/app_list/app_list_item_list_unittest.cc scoped_ptr<AppListItem> item(new AppListItem(name)); item 95 ui/app_list/app_list_item_list_unittest.cc item->set_position(position); item 96 ui/app_list/app_list_item_list_unittest.cc return item.Pass(); item 100 ui/app_list/app_list_item_list_unittest.cc scoped_ptr<AppListItem> item(CreateItem(name)); item 101 ui/app_list/app_list_item_list_unittest.cc return item_list_.AddItem(item.Pass()); item 46 ui/app_list/app_list_model.cc AppListItem* item = top_level_item_list_->FindItem(id); item 47 ui/app_list/app_list_model.cc if (item) item 48 ui/app_list/app_list_model.cc return item; item 59 ui/app_list/app_list_model.cc AppListItem* item = top_level_item_list_->FindItem(id); item 60 ui/app_list/app_list_model.cc if (item && item->GetItemType() == AppListFolderItem::kItemType) item 61 ui/app_list/app_list_model.cc return static_cast<AppListFolderItem*>(item); item 62 ui/app_list/app_list_model.cc DCHECK(!item); item 66 ui/app_list/app_list_model.cc AppListItem* AppListModel::AddItem(scoped_ptr<AppListItem> item) { item 67 ui/app_list/app_list_model.cc DCHECK(!item->IsInFolder()); item 68 ui/app_list/app_list_model.cc DCHECK(!top_level_item_list()->FindItem(item->id())); item 69 ui/app_list/app_list_model.cc return AddItemToItemListAndNotify(item.Pass()); item 72 ui/app_list/app_list_model.cc AppListItem* AppListModel::AddItemToFolder(scoped_ptr<AppListItem> item, item 75 ui/app_list/app_list_model.cc return AddItem(item.Pass()); item 76 ui/app_list/app_list_model.cc DVLOG(2) << "AddItemToFolder: " << item->id() << ": " << folder_id; item 77 ui/app_list/app_list_model.cc DCHECK(!item->IsInFolder() || item->folder_id() == folder_id); item 78 ui/app_list/app_list_model.cc DCHECK(item->GetItemType() != AppListFolderItem::kItemType); item 80 ui/app_list/app_list_model.cc DCHECK(!dest_folder->item_list()->FindItem(item->id())) item 82 ui/app_list/app_list_model.cc return AddItemToFolderItemAndNotify(dest_folder, item.Pass()); item 148 ui/app_list/app_list_model.cc void AppListModel::MoveItemToFolder(AppListItem* item, item 151 ui/app_list/app_list_model.cc << " <- " << item->ToDebugString(); item 152 ui/app_list/app_list_model.cc if (item->folder_id() == folder_id) item 155 ui/app_list/app_list_model.cc scoped_ptr<AppListItem> item_ptr = RemoveItem(item); item 162 ui/app_list/app_list_model.cc bool AppListModel::MoveItemToFolderAt(AppListItem* item, item 167 ui/app_list/app_list_model.cc << " <- " << item->ToDebugString(); item 168 ui/app_list/app_list_model.cc if (item->folder_id() == folder_id) item 170 ui/app_list/app_list_model.cc AppListFolderItem* src_folder = FindOrCreateFolderItem(item->folder_id()); item 177 ui/app_list/app_list_model.cc scoped_ptr<AppListItem> item_ptr = RemoveItem(item); item 190 ui/app_list/app_list_model.cc void AppListModel::SetItemPosition(AppListItem* item, item 192 ui/app_list/app_list_model.cc if (!item->IsInFolder()) { item 193 ui/app_list/app_list_model.cc top_level_item_list_->SetItemPosition(item, new_position); item 199 ui/app_list/app_list_model.cc AppListFolderItem* folder = FindFolderItem(item->folder_id()); item 201 ui/app_list/app_list_model.cc folder->item_list()->SetItemPosition(item, new_position); item 204 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 207 ui/app_list/app_list_model.cc void AppListModel::SetItemName(AppListItem* item, const std::string& name) { item 208 ui/app_list/app_list_model.cc item->SetName(name); item 209 ui/app_list/app_list_model.cc DVLOG(2) << "AppListModel::SetItemName: " << item->ToDebugString(); item 212 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 215 ui/app_list/app_list_model.cc void AppListModel::SetItemNameAndShortName(AppListItem* item, item 218 ui/app_list/app_list_model.cc item->SetNameAndShortName(name, short_name); item 220 ui/app_list/app_list_model.cc << item->ToDebugString(); item 223 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 227 ui/app_list/app_list_model.cc AppListItem* item = FindItem(id); item 228 ui/app_list/app_list_model.cc if (!item) item 230 ui/app_list/app_list_model.cc if (!item->IsInFolder()) { item 231 ui/app_list/app_list_model.cc DCHECK_EQ(0u, item->ChildItemCount()) item 235 ui/app_list/app_list_model.cc OnAppListItemWillBeDeleted(item)); item 239 ui/app_list/app_list_model.cc AppListFolderItem* folder = FindFolderItem(item->folder_id()); item 240 ui/app_list/app_list_model.cc DCHECK(folder) << "Folder not found for item: " << item->ToDebugString(); item 241 ui/app_list/app_list_model.cc scoped_ptr<AppListItem> child_item = RemoveItemFromFolder(folder, item); item 242 ui/app_list/app_list_model.cc DCHECK_EQ(item, child_item.get()); item 245 ui/app_list/app_list_model.cc OnAppListItemWillBeDeleted(item)); item 258 ui/app_list/app_list_model.cc AppListItem* item) { item 261 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 286 ui/app_list/app_list_model.cc AppListItem* item = top_level_item_list_->AddItem(item_ptr.Pass()); item 289 ui/app_list/app_list_model.cc OnAppListItemAdded(item)); item 290 ui/app_list/app_list_model.cc return item; item 296 ui/app_list/app_list_model.cc AppListItem* item = top_level_item_list_->AddItem(item_ptr.Pass()); item 299 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 300 ui/app_list/app_list_model.cc return item; item 306 ui/app_list/app_list_model.cc AppListItem* item = folder->item_list()->AddItem(item_ptr.Pass()); item 307 ui/app_list/app_list_model.cc item->set_folder_id(folder->id()); item 310 ui/app_list/app_list_model.cc OnAppListItemUpdated(item)); item 311 ui/app_list/app_list_model.cc return item; item 314 ui/app_list/app_list_model.cc scoped_ptr<AppListItem> AppListModel::RemoveItem(AppListItem* item) { item 315 ui/app_list/app_list_model.cc if (!item->IsInFolder()) item 316 ui/app_list/app_list_model.cc return top_level_item_list_->RemoveItem(item->id()); item 318 ui/app_list/app_list_model.cc AppListFolderItem* folder = FindFolderItem(item->folder_id()); item 319 ui/app_list/app_list_model.cc return RemoveItemFromFolder(folder, item); item 324 ui/app_list/app_list_model.cc AppListItem* item) { item 326 ui/app_list/app_list_model.cc DCHECK_EQ(item->folder_id(), folder_id); item 327 ui/app_list/app_list_model.cc scoped_ptr<AppListItem> result = folder->item_list()->RemoveItem(item->id()); item 57 ui/app_list/app_list_model.h AppListItem* AddItem(scoped_ptr<AppListItem> item); item 62 ui/app_list/app_list_model.h AppListItem* AddItemToFolder(scoped_ptr<AppListItem> item, item 79 ui/app_list/app_list_model.h void MoveItemToFolder(AppListItem* item, const std::string& folder_id); item 88 ui/app_list/app_list_model.h bool MoveItemToFolderAt(AppListItem* item, item 95 ui/app_list/app_list_model.h void SetItemPosition(AppListItem* item, item 99 ui/app_list/app_list_model.h void SetItemName(AppListItem* item, const std::string& name); item 102 ui/app_list/app_list_model.h void SetItemNameAndShortName(AppListItem* item, item 123 ui/app_list/app_list_model.h AppListItem* item) OVERRIDE; item 143 ui/app_list/app_list_model.h scoped_ptr<AppListItem> RemoveItem(AppListItem* item); item 149 ui/app_list/app_list_model.h AppListItem* item); item 20 ui/app_list/app_list_model_observer.h virtual void OnAppListItemAdded(AppListItem* item) {} item 23 ui/app_list/app_list_model_observer.h virtual void OnAppListItemWillBeDeleted(AppListItem* item) {} item 26 ui/app_list/app_list_model_observer.h virtual void OnAppListItemUpdated(AppListItem* item) {} item 40 ui/app_list/app_list_model_unittest.cc virtual void OnAppListItemAdded(AppListItem* item) OVERRIDE { item 44 ui/app_list/app_list_model_unittest.cc virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE { item 48 ui/app_list/app_list_model_unittest.cc virtual void OnAppListItemUpdated(AppListItem* item) OVERRIDE { item 90 ui/app_list/app_list_model_unittest.cc AppListItem* item) { item 91 ui/app_list/app_list_model_unittest.cc return item->observers_.HasObserver(folder); item 31 ui/app_list/cocoa/item_drag_controller.h - (void)initiate:(AppsGridViewItem*)item item 39 ui/app_list/cocoa/item_drag_controller.h - (void)complete:(AppsGridViewItem*)item item 47 ui/app_list/test/app_list_test_model.cc AppListItem* AppListTestModel::AddItem(AppListItem* item) { item 48 ui/app_list/test/app_list_test_model.cc return AppListModel::AddItem(make_scoped_ptr(item)); item 51 ui/app_list/test/app_list_test_model.cc AppListItem* AppListTestModel::AddItemToFolder(AppListItem* item, item 53 ui/app_list/test/app_list_test_model.cc return AppListModel::AddItemToFolder(make_scoped_ptr(item), folder_id); item 56 ui/app_list/test/app_list_test_model.cc void AppListTestModel::MoveItemToFolder(AppListItem* item, item 58 ui/app_list/test/app_list_test_model.cc AppListModel::MoveItemToFolder(item, folder_id); item 75 ui/app_list/test/app_list_test_model.cc AppListTestItem* item = CreateAndAddItem(GetItemName(start_index)); item 76 ui/app_list/test/app_list_test_model.cc std::string merged_item_id = item->id(); item 109 ui/app_list/test/app_list_test_model.cc AppListTestItem* item = new AppListTestItem(id, this); item 118 ui/app_list/test/app_list_test_model.cc item->SetPosition(position); item 119 ui/app_list/test/app_list_test_model.cc SetItemName(item, id); item 120 ui/app_list/test/app_list_test_model.cc return item; item 126 ui/app_list/test/app_list_test_model.cc AppListItem* item = AppListModel::AddItem(test_item.PassAs<AppListItem>()); item 127 ui/app_list/test/app_list_test_model.cc return static_cast<AppListTestItem*>(item); item 130 ui/app_list/test/app_list_test_model.cc AppListItem* item = top_level_item_list()->item_at(index); item 131 ui/app_list/test/app_list_test_model.cc item->SetHighlighted(true); item 134 ui/app_list/test/app_list_test_model.cc void AppListTestModel::ItemActivated(AppListTestItem* item) { item 135 ui/app_list/test/app_list_test_model.cc last_activated_ = item; item 41 ui/app_list/test/app_list_test_model.h AppListItem* AddItem(AppListItem* item); item 42 ui/app_list/test/app_list_test_model.h AppListItem* AddItemToFolder(AppListItem* item, const std::string& folder_id); item 43 ui/app_list/test/app_list_test_model.h void MoveItemToFolder(AppListItem* item, const std::string& folder_id); item 76 ui/app_list/test/app_list_test_model.h void ItemActivated(AppListTestItem* item); item 131 ui/app_list/views/app_list_folder_view.cc void AppListFolderView::OnAppListItemWillBeDeleted(AppListItem* item) { item 132 ui/app_list/views/app_list_folder_view.cc if (item == folder_item_) { item 293 ui/app_list/views/app_list_folder_view.cc void AppListFolderView::NavigateBack(AppListFolderItem* item, item 295 ui/app_list/views/app_list_folder_view.cc container_view_->ShowApps(item); item 302 ui/app_list/views/app_list_folder_view.cc void AppListFolderView::SetItemName(AppListFolderItem* item, item 304 ui/app_list/views/app_list_folder_view.cc model_->SetItemName(item, name); item 68 ui/app_list/views/app_list_folder_view.h virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE; item 86 ui/app_list/views/app_list_folder_view.h virtual void NavigateBack(AppListFolderItem* item, item 89 ui/app_list/views/app_list_folder_view.h virtual void SetItemName(AppListFolderItem* item, item 58 ui/app_list/views/app_list_item_view.cc AppListItem* item) item 60 ui/app_list/views/app_list_item_view.cc item_(item), item 41 ui/app_list/views/app_list_item_view.h AppListItemView(AppsGridView* apps_grid_view, AppListItem* item); item 56 ui/app_list/views/app_list_item_view.h AppListItem* item() const { return item_; } item 49 ui/app_list/views/app_list_main_view.cc AppListItem* item, item 52 ui/app_list/views/app_list_main_view.cc item_(item) { item 191 ui/app_list/views/app_list_main_view.cc AppListItem* item = model_->top_level_item_list()->item_at(i); item 192 ui/app_list/views/app_list_main_view.cc if (item->icon().HasRepresentation(scale)) item 195 ui/app_list/views/app_list_main_view.cc pending_icon_loaders_.push_back(new IconLoader(this, item, scale)); item 222 ui/app_list/views/app_list_main_view.cc void AppListMainView::ActivateApp(AppListItem* item, int event_flags) { item 224 ui/app_list/views/app_list_main_view.cc if (item->GetItemType() == AppListFolderItem::kItemType) item 225 ui/app_list/views/app_list_main_view.cc contents_view_->ShowFolderContent(static_cast<AppListFolderItem*>(item)); item 227 ui/app_list/views/app_list_main_view.cc item->Activate(event_flags); item 84 ui/app_list/views/app_list_main_view.h virtual void ActivateApp(AppListItem* item, int event_flags) OVERRIDE; item 181 ui/app_list/views/apps_grid_view.cc bool IsFolderItem(AppListItem* item) { item 182 ui/app_list/views/apps_grid_view.cc return (item->GetItemType() == AppListFolderItem::kItemType); item 185 ui/app_list/views/apps_grid_view.cc bool IsOEMFolderItem(AppListItem* item) { item 186 ui/app_list/views/apps_grid_view.cc return IsFolderItem(item) && item 187 ui/app_list/views/apps_grid_view.cc (static_cast<AppListFolderItem*>(item))->folder_type() == item 481 ui/app_list/views/apps_grid_view.cc drag_view_->item()->id(), item 720 ui/app_list/views/apps_grid_view.cc AppListItemView* view = new AppListItemView(this, original_drag_view->item()); item 1359 ui/app_list/views/apps_grid_view.cc static_cast<AppListFolderItem*>(folder_item_view->item()); item 1361 ui/app_list/views/apps_grid_view.cc drag_item_view->item(), icon_ideal_bounds); item 1481 ui/app_list/views/apps_grid_view.cc drag_view_->item()->icon(), item 1504 ui/app_list/views/apps_grid_view.cc if (IsFolderItem(drag_view_->item())) item 1516 ui/app_list/views/apps_grid_view.cc if (drag_and_drop_host_->StartDrag(drag_view_->item()->id(), item 1590 ui/app_list/views/apps_grid_view.cc static_cast<AppListItemView*>(item_view)->item()->id(); item 1593 ui/app_list/views/apps_grid_view.cc const std::string& target_view_item_id = target_view->item()->id(); item 1636 ui/app_list/views/apps_grid_view.cc AppListItem* reparent_item = static_cast<AppListItemView*>(item_view)->item(); item 1667 ui/app_list/views/apps_grid_view.cc AppListItem* reparent_item = static_cast<AppListItemView*>(item_view)->item(); item 1674 ui/app_list/views/apps_grid_view.cc AppListItem* target_item = target_view->item(); item 1757 ui/app_list/views/apps_grid_view.cc drag_item_view->item()->icon(), item 1815 ui/app_list/views/apps_grid_view.cc delegate_->ActivateApp(static_cast<AppListItemView*>(sender)->item(), item 1820 ui/app_list/views/apps_grid_view.cc void AppsGridView::OnListItemAdded(size_t index, AppListItem* item) { item 1833 ui/app_list/views/apps_grid_view.cc void AppsGridView::OnListItemRemoved(size_t index, AppListItem* item) { item 1863 ui/app_list/views/apps_grid_view.cc AppListItem* item) { item 1932 ui/app_list/views/apps_grid_view.cc static_cast<AppListItemView*>(target_view)->item(); item 1980 ui/app_list/views/apps_grid_view.cc !IsFolderItem(static_cast<AppListItemView*>(drag_view_)->item())) { item 357 ui/app_list/views/apps_grid_view.h virtual void OnListItemAdded(size_t index, AppListItem* item) OVERRIDE; item 358 ui/app_list/views/apps_grid_view.h virtual void OnListItemRemoved(size_t index, AppListItem* item) OVERRIDE; item 361 ui/app_list/views/apps_grid_view.h AppListItem* item) OVERRIDE; item 25 ui/app_list/views/apps_grid_view_delegate.h virtual void ActivateApp(AppListItem* item, int event_flags) = 0; item 687 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item = model_->CreateAndAddItem("Item with short name"); item 688 ui/app_list/views/apps_grid_view_unittest.cc model_->SetItemNameAndShortName(item, expected_tooltip, expected_text); item 704 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item = model_->CreateAndAddItem(title); item 705 ui/app_list/views/apps_grid_view_unittest.cc model_->SetItemNameAndShortName(item, title, ""); item 178 ui/app_list/views/contents_view.cc void ContentsView::ShowFolderContent(AppListFolderItem* item) { item 179 ui/app_list/views/contents_view.cc apps_container_view_->ShowActiveFolder(item); item 18 ui/app_list/views/folder_header_view_delegate.h virtual void NavigateBack(AppListFolderItem* item, item 25 ui/app_list/views/folder_header_view_delegate.h virtual void SetItemName(AppListFolderItem* item, item 34 ui/app_list/views/folder_header_view_unittest.cc virtual void NavigateBack(AppListFolderItem* item, item 39 ui/app_list/views/folder_header_view_unittest.cc virtual void SetItemName(AppListFolderItem* item, item 73 ui/base/cocoa/menu_controller.h - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item; item 50 ui/base/models/button_menu_item_model.cc Item item = { command_id, TYPE_BUTTON, l10n_util::GetStringUTF16(string_id), item 52 ui/base/models/button_menu_item_model.cc items_.push_back(item); item 57 ui/base/models/button_menu_item_model.cc Item item = { command_id, TYPE_BUTTON, base::string16(), icon_idr, false }; item 58 ui/base/models/button_menu_item_model.cc items_.push_back(item); item 62 ui/base/models/button_menu_item_model.cc Item item = { command_id, TYPE_BUTTON_LABEL, item 64 ui/base/models/button_menu_item_model.cc items_.push_back(item); item 68 ui/base/models/button_menu_item_model.cc Item item = { 0, TYPE_SPACE, base::string16(), -1, false }; item 69 ui/base/models/button_menu_item_model.cc items_.push_back(item); item 27 ui/base/models/list_model.h void AddAt(size_t index, ItemType* item) { item 29 ui/base/models/list_model.h items_.insert(items_.begin() + index, item); item 34 ui/base/models/list_model.h void Add(ItemType* item) { item 35 ui/base/models/list_model.h AddAt(item_count(), item); item 42 ui/base/models/list_model.h ItemType* item = items_[index]; item 45 ui/base/models/list_model.h return make_scoped_ptr<ItemType>(item); item 57 ui/base/models/list_model.h scoped_ptr<ItemType> item = RemoveAt(index); item 76 ui/base/models/list_model.h ItemType* item = items_[index]; item 78 ui/base/models/list_model.h items_.insert(items_.begin() + target_index, item); item 88 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 90 ui/base/models/simple_menu_model.cc AppendItem(item); item 99 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 101 ui/base/models/simple_menu_model.cc AppendItem(item); item 111 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 114 ui/base/models/simple_menu_model.cc AppendItem(item); item 137 ui/base/models/simple_menu_model.cc Item item = { kSeparatorId, base::string16(), base::string16(), item 140 ui/base/models/simple_menu_model.cc AppendItem(item); item 151 ui/base/models/simple_menu_model.cc Item item = { command_id, base::string16(), base::string16(), item 154 ui/base/models/simple_menu_model.cc AppendItem(item); item 160 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 162 ui/base/models/simple_menu_model.cc AppendItem(item); item 173 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 175 ui/base/models/simple_menu_model.cc InsertItemAtIndex(item, index); item 190 ui/base/models/simple_menu_model.cc Item item = { kSeparatorId, base::string16(), base::string16(), item 193 ui/base/models/simple_menu_model.cc InsertItemAtIndex(item, index); item 199 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 201 ui/base/models/simple_menu_model.cc InsertItemAtIndex(item, index); item 213 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 216 ui/base/models/simple_menu_model.cc InsertItemAtIndex(item, index); item 229 ui/base/models/simple_menu_model.cc Item item = { command_id, label, base::string16(), base::string16(), item 232 ui/base/models/simple_menu_model.cc InsertItemAtIndex(item, index); item 439 ui/base/models/simple_menu_model.cc void SimpleMenuModel::AppendItem(const Item& item) { item 440 ui/base/models/simple_menu_model.cc ValidateItem(item); item 441 ui/base/models/simple_menu_model.cc items_.push_back(item); item 445 ui/base/models/simple_menu_model.cc void SimpleMenuModel::InsertItemAtIndex(const Item& item, int index) { item 446 ui/base/models/simple_menu_model.cc ValidateItem(item); item 447 ui/base/models/simple_menu_model.cc items_.insert(items_.begin() + index, item); item 451 ui/base/models/simple_menu_model.cc void SimpleMenuModel::ValidateItem(const Item& item) { item 453 ui/base/models/simple_menu_model.cc if (item.type == TYPE_SEPARATOR) { item 454 ui/base/models/simple_menu_model.cc DCHECK_EQ(item.command_id, kSeparatorId); item 456 ui/base/models/simple_menu_model.cc DCHECK_GE(item.command_id, 0); item 188 ui/base/models/simple_menu_model.h void AppendItem(const Item& item); item 189 ui/base/models/simple_menu_model.h void InsertItemAtIndex(const Item& item, int index); item 190 ui/base/models/simple_menu_model.h void ValidateItem(const Item& item); item 126 ui/base/x/selection_utils.cc const scoped_refptr<base::RefCountedMemory>& item) { item 128 ui/base/x/selection_utils.cc data_.insert(std::make_pair(atom, item)); item 74 ui/base/x/selection_utils.h void Insert(::Atom atom, const scoped_refptr<base::RefCountedMemory>& item); item 26 ui/gfx/render_text_pango.cc GSList* GSListPrevious(GSList* head, GSList* item) { item 28 ui/gfx/render_text_pango.cc for (GSList* cur = head; cur != item; cur = cur->next) { item 37 ui/gfx/render_text_pango.cc bool IsForwardMotion(VisualCursorDirection direction, const PangoItem* item) { item 38 ui/gfx/render_text_pango.cc bool rtl = item->analysis.level & 1; item 128 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(it->data)->item; item 129 ui/gfx/render_text_pango.cc const int start = LayoutIndexToTextIndex(item->offset); item 130 ui/gfx/render_text_pango.cc const int end = LayoutIndexToTextIndex(item->offset + item->length); item 133 ui/gfx/render_text_pango.cc ScopedPangoFontDescription desc(pango_font_describe(item->analysis.font)); item 160 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; item 162 ui/gfx/render_text_pango.cc if (IsForwardMotion(direction, item)) { item 163 ui/gfx/render_text_pango.cc if (caret < LayoutIndexToTextIndex(item->offset + item->length)) { item 168 ui/gfx/render_text_pango.cc if (caret > LayoutIndexToTextIndex(item->offset)) { item 180 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; item 181 ui/gfx/render_text_pango.cc return IsForwardMotion(direction, item) ? item 182 ui/gfx/render_text_pango.cc FirstSelectionModelInsideRun(item) : LastSelectionModelInsideRun(item); item 203 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; item 205 ui/gfx/render_text_pango.cc if (IsForwardMotion(direction, item) ? item 433 ui/gfx/render_text_pango.cc pango_font_describe(run->item->analysis.font)); item 502 ui/gfx/render_text_pango.cc PangoItem* item = reinterpret_cast<PangoLayoutRun*>(run->data)->item; item 503 ui/gfx/render_text_pango.cc Range item_range(item->offset, item->offset + item->length); item 512 ui/gfx/render_text_pango.cc const PangoItem* item) { item 514 ui/gfx/render_text_pango.cc LayoutIndexToTextIndex(item->offset), CURSOR_FORWARD); item 519 ui/gfx/render_text_pango.cc const PangoItem* item) { item 521 ui/gfx/render_text_pango.cc LayoutIndexToTextIndex(item->offset + item->length), CURSOR_BACKWARD); item 527 ui/gfx/render_text_pango.cc return LayoutIndexToTextIndex(run->item->offset + item 28 ui/message_center/fake_notifier_settings_provider.cc NotifierGroupItem item; item 29 ui/message_center/fake_notifier_settings_provider.cc item.group = new NotifierGroup(gfx::Image(), item 33 ui/message_center/fake_notifier_settings_provider.cc item.notifiers = notifiers; item 34 ui/message_center/fake_notifier_settings_provider.cc items_.push_back(item); item 109 ui/message_center/fake_notifier_settings_provider.cc NotifierGroupItem item; item 110 ui/message_center/fake_notifier_settings_provider.cc item.group = group; item 111 ui/message_center/fake_notifier_settings_provider.cc item.notifiers = notifiers; item 112 ui/message_center/fake_notifier_settings_provider.cc items_.push_back(item); item 122 ui/message_center/views/notification_view.cc ItemView(const message_center::NotificationItem& item); item 132 ui/message_center/views/notification_view.cc ItemView::ItemView(const message_center::NotificationItem& item) { item 136 ui/message_center/views/notification_view.cc views::Label* title = new views::Label(item.title); item 143 ui/message_center/views/notification_view.cc views::Label* message = new views::Label(item.message); item 339 ui/views/controls/menu/menu_controller.cc : item(NULL), item 525 ui/views/controls/menu/menu_controller.cc MenuItemView* selected = state_.item; item 570 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, SELECTION_OPEN_SUBMENU); item 582 ui/views/controls/menu/menu_controller.cc DCHECK(state_.item); item 641 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, item 686 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, item 805 ui/views/controls/menu/menu_controller.cc MenuItemView* item = state_.item; item 806 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 826 ui/views/controls/menu/menu_controller.cc item->GetRootMenuItem()); item 881 ui/views/controls/menu/menu_controller.cc BuildPathsAndCalculateDiff(pending_state_.item, menu_item, ¤t_path, item 887 ui/views/controls/menu/menu_controller.cc bool pending_item_changed = pending_state_.item != menu_item; item 888 ui/views/controls/menu/menu_controller.cc if (pending_item_changed && pending_state_.item) { item 889 ui/views/controls/menu/menu_controller.cc CustomButton* button = GetFirstHotTrackedView(pending_state_.item); item 916 ui/views/controls/menu/menu_controller.cc pending_state_.item = menu_item; item 958 ui/views/controls/menu/menu_controller.cc part.menu->GetRootMenuItem() != state_.item->GetRootMenuItem())) { item 972 ui/views/controls/menu/menu_controller.cc if (!state_.item) { item 990 ui/views/controls/menu/menu_controller.cc menu_stack_.back().item, screen_loc); item 1027 ui/views/controls/menu/menu_controller.cc MenuItemView* item = state_.item; item 1028 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1034 ui/views/controls/menu/menu_controller.cc View::ConvertPointFromScreen(item, &press_loc); item 1036 ui/views/controls/menu/menu_controller.cc View::ConvertPointToWidget(item, &widget_loc); item 1038 ui/views/controls/menu/menu_controller.cc source->GetWidget(), gfx::Size(item->width(), item->height()))); item 1039 ui/views/controls/menu/menu_controller.cc item->PaintButton(canvas.get(), MenuItemView::PB_FOR_DRAG); item 1042 ui/views/controls/menu/menu_controller.cc item->GetDelegate()->WriteDragData(item, &data); item 1043 ui/views/controls/menu/menu_controller.cc drag_utils::SetDragImageOnDataObject(*canvas, item->size(), item 1047 ui/views/controls/menu/menu_controller.cc int drag_ops = item->GetDelegate()->GetDragOperations(item); item 1050 ui/views/controls/menu/menu_controller.cc item->GetWidget()->RunShellDrag(NULL, data, widget_loc, drag_ops, item 1101 ui/views/controls/menu/menu_controller.cc if (pending_state_.item) { item 1102 ui/views/controls/menu/menu_controller.cc if (pending_state_.item->HasSubmenu()) { item 1107 ui/views/controls/menu/menu_controller.cc pending_state_.item->enabled()) { item 1108 ui/views/controls/menu/menu_controller.cc Accept(pending_state_.item, 0); item 1118 ui/views/controls/menu/menu_controller.cc if (!state_.item->GetParentMenuItem() || item 1119 ui/views/controls/menu/menu_controller.cc (!state_.item->GetParentMenuItem()->GetParentMenuItem() && item 1120 ui/views/controls/menu/menu_controller.cc (!state_.item->HasSubmenu() || item 1121 ui/views/controls/menu/menu_controller.cc !state_.item->GetSubmenu()->IsShowing()))) { item 1195 ui/views/controls/menu/menu_controller.cc CustomButton* hot_view = GetFirstHotTrackedView(pending_state_.item); item 1245 ui/views/controls/menu/menu_controller.cc void MenuController::Accept(MenuItemView* item, int event_flags) { item 1247 ui/views/controls/menu/menu_controller.cc result_ = item; item 1248 ui/views/controls/menu/menu_controller.cc if (item && !menu_stack_.empty() && item 1249 ui/views/controls/menu/menu_controller.cc !item->GetDelegate()->ShouldCloseAllMenusOnExecute(item->GetCommand())) { item 1286 ui/views/controls/menu/menu_controller.cc if (!alt_menu || (state_.item && state_.item->GetRootMenuItem() == alt_menu)) item 1332 ui/views/controls/menu/menu_controller.cc if (state_.item == pending_state_.item && state_.submenu_open) item 1334 ui/views/controls/menu/menu_controller.cc SetSelection(pending_state_.item, selection_types); item 1349 ui/views/controls/menu/menu_controller.cc MenuItemView* last_item = i->item; item 1350 ui/views/controls/menu/menu_controller.cc for (MenuItemView* item = last_item; item; item 1351 ui/views/controls/menu/menu_controller.cc item = item->GetParentMenuItem()) { item 1352 ui/views/controls/menu/menu_controller.cc CloseMenu(item); item 1353 ui/views/controls/menu/menu_controller.cc last_item = item; item 1356 ui/views/controls/menu/menu_controller.cc i->item = last_item; item 1408 ui/views/controls/menu/menu_controller.cc return GetMenuPartByScreenCoordinateUsingMenu(state_.item, screen_loc); item 1412 ui/views/controls/menu/menu_controller.cc MenuItemView* item, item 1415 ui/views/controls/menu/menu_controller.cc for (; item; item = item->GetParentMenuItem()) { item 1416 ui/views/controls/menu/menu_controller.cc if (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && item 1417 ui/views/controls/menu/menu_controller.cc GetMenuPartByScreenCoordinateImpl(item->GetSubmenu(), screen_loc, item 1478 ui/views/controls/menu/menu_controller.cc BuildPathsAndCalculateDiff(state_.item, pending_state_.item, ¤t_path, item 1495 ui/views/controls/menu/menu_controller.cc int menu_depth = MenuDepth(state_.item); item 1505 ui/views/controls/menu/menu_controller.cc if (!state_.item) { item 1522 ui/views/controls/menu/menu_controller.cc if (state_.item->HasSubmenu()) { item 1523 ui/views/controls/menu/menu_controller.cc OpenMenu(state_.item); item 1527 ui/views/controls/menu/menu_controller.cc } else if (state_.item->HasSubmenu() && item 1528 ui/views/controls/menu/menu_controller.cc state_.item->GetSubmenu()->IsShowing()) { item 1529 ui/views/controls/menu/menu_controller.cc state_.item->GetSubmenu()->Hide(); item 1536 ui/views/controls/menu/menu_controller.cc for (MenuItemView* item = state_.item; item && !found; item 1537 ui/views/controls/menu/menu_controller.cc item = item->GetParentMenuItem()) { item 1538 ui/views/controls/menu/menu_controller.cc found = (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && item 1539 ui/views/controls/menu/menu_controller.cc item->GetSubmenu() == scroll_task_->submenu()); item 1546 ui/views/controls/menu/menu_controller.cc void MenuController::CloseMenu(MenuItemView* item) { item 1547 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1548 ui/views/controls/menu/menu_controller.cc if (!item->HasSubmenu()) item 1550 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->Hide(); item 1553 ui/views/controls/menu/menu_controller.cc void MenuController::OpenMenu(MenuItemView* item) { item 1554 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1555 ui/views/controls/menu/menu_controller.cc if (item->GetSubmenu()->IsShowing()) { item 1559 ui/views/controls/menu/menu_controller.cc OpenMenuImpl(item, true); item 1563 ui/views/controls/menu/menu_controller.cc void MenuController::OpenMenuImpl(MenuItemView* item, bool show) { item 1567 ui/views/controls/menu/menu_controller.cc int old_count = item->GetSubmenu()->child_count(); item 1568 ui/views/controls/menu/menu_controller.cc item->GetDelegate()->WillShowMenu(item); item 1569 ui/views/controls/menu/menu_controller.cc if (old_count != item->GetSubmenu()->child_count()) { item 1571 ui/views/controls/menu/menu_controller.cc item->AddEmptyMenus(); item 1578 ui/views/controls/menu/menu_controller.cc CalculateBubbleMenuBounds(item, prefer_leading, &resulting_direction) : item 1579 ui/views/controls/menu/menu_controller.cc CalculateMenuBounds(item, prefer_leading, &resulting_direction); item 1587 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->ShowAt(owner_, bounds, do_capture); item 1588 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->GetWidget()->SetNativeWindowProperty( item 1592 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->Reposition(bounds); item 1597 ui/views/controls/menu/menu_controller.cc void MenuController::MenuChildrenChanged(MenuItemView* item) { item 1598 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1604 ui/views/controls/menu/menu_controller.cc const MenuItemView* ancestor = state_.item; item 1605 ui/views/controls/menu/menu_controller.cc while (ancestor && ancestor != item) item 1608 ui/views/controls/menu/menu_controller.cc ancestor = pending_state_.item; item 1609 ui/views/controls/menu/menu_controller.cc while (ancestor && ancestor != item) item 1614 ui/views/controls/menu/menu_controller.cc SetSelection(item, SELECTION_OPEN_SUBMENU | SELECTION_UPDATE_IMMEDIATELY); item 1615 ui/views/controls/menu/menu_controller.cc if (item->HasSubmenu()) item 1616 ui/views/controls/menu/menu_controller.cc OpenMenuImpl(item, false); item 1643 ui/views/controls/menu/menu_controller.cc void MenuController::BuildMenuItemPath(MenuItemView* item, item 1645 ui/views/controls/menu/menu_controller.cc if (!item) item 1647 ui/views/controls/menu/menu_controller.cc BuildMenuItemPath(item->GetParentMenuItem(), path); item 1648 ui/views/controls/menu/menu_controller.cc path->push_back(item); item 1671 ui/views/controls/menu/menu_controller.cc gfx::Rect MenuController::CalculateMenuBounds(MenuItemView* item, item 1674 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1676 ui/views/controls/menu/menu_controller.cc SubmenuView* submenu = item->GetSubmenu(); item 1683 ui/views/controls/menu/menu_controller.cc item->GetDelegate()->GetMaxWidthForMenu(item))); item 1692 ui/views/controls/menu/menu_controller.cc const MenuConfig& menu_config = item->GetMenuConfig(); item 1694 ui/views/controls/menu/menu_controller.cc if (!item->GetParentMenuItem()) { item 1732 ui/views/controls/menu/menu_controller.cc if (item->actual_menu_position() == MenuItemView::POSITION_BELOW_BOUNDS) { item 1735 ui/views/controls/menu/menu_controller.cc } else if (item->actual_menu_position() == item 1774 ui/views/controls/menu/menu_controller.cc item->set_actual_menu_position(orientation); item 1779 ui/views/controls/menu/menu_controller.cc item->set_actual_menu_position(MenuItemView::POSITION_ABOVE_BOUNDS); item 1781 ui/views/controls/menu/menu_controller.cc } else if (item->actual_menu_position() == item 1787 ui/views/controls/menu/menu_controller.cc item->set_actual_menu_position(MenuItemView::POSITION_BELOW_BOUNDS); item 1800 ui/views/controls/menu/menu_controller.cc View::ConvertPointToScreen(item, &item_loc); item 1811 ui/views/controls/menu/menu_controller.cc x = item_loc.x() + item->width() - submenu_horizontal_inset; item 1827 ui/views/controls/menu/menu_controller.cc x = item_loc.x() + item->width() - submenu_horizontal_inset; item 1849 ui/views/controls/menu/menu_controller.cc gfx::Rect MenuController::CalculateBubbleMenuBounds(MenuItemView* item, item 1852 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1853 ui/views/controls/menu/menu_controller.cc DCHECK(!item->GetParentMenuItem()); item 1858 ui/views/controls/menu/menu_controller.cc SubmenuView* submenu = item->GetSubmenu(); item 1891 ui/views/controls/menu/menu_controller.cc item->GetDelegate()->GetMaxWidthForMenu(item))); item 1930 ui/views/controls/menu/menu_controller.cc int MenuController::MenuDepth(MenuItemView* item) { item 1931 ui/views/controls/menu/menu_controller.cc return item ? (MenuDepth(item->GetParentMenuItem()) + 1) : 0; item 1935 ui/views/controls/menu/menu_controller.cc MenuItemView* item = pending_state_.item; item 1936 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 1937 ui/views/controls/menu/menu_controller.cc if (pending_state_.submenu_open && item->HasSubmenu() && item 1938 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->IsShowing()) { item 1941 ui/views/controls/menu/menu_controller.cc if (item->GetSubmenu()->GetMenuItemCount()) { item 1942 ui/views/controls/menu/menu_controller.cc SetSelection(item->GetSubmenu()->GetMenuItemAt(0), SELECTION_DEFAULT); item 1947 ui/views/controls/menu/menu_controller.cc if (item->has_children()) { item 1948 ui/views/controls/menu/menu_controller.cc CustomButton* button = GetFirstHotTrackedView(item); item 1951 ui/views/controls/menu/menu_controller.cc View* to_make_hot = GetNextFocusableView(item, button, delta == 1); item 1958 ui/views/controls/menu/menu_controller.cc View* to_make_hot = GetInitialFocusableView(item, delta == 1); item 1967 ui/views/controls/menu/menu_controller.cc MenuItemView* parent = item->GetParentMenuItem(); item 1972 ui/views/controls/menu/menu_controller.cc if (parent->GetSubmenu()->GetMenuItemAt(i) == item) { item 2008 ui/views/controls/menu/menu_controller.cc MenuItemView* item = pending_state_.item; item 2009 ui/views/controls/menu/menu_controller.cc if (item->HasSubmenu() && item->enabled()) { item 2010 ui/views/controls/menu/menu_controller.cc if (item->GetSubmenu()->GetMenuItemCount() > 0) { item 2011 ui/views/controls/menu/menu_controller.cc SetSelection(item->GetSubmenu()->GetMenuItemAt(0), item 2015 ui/views/controls/menu/menu_controller.cc SetSelection(item, SELECTION_OPEN_SUBMENU | SELECTION_UPDATE_IMMEDIATELY); item 2021 ui/views/controls/menu/menu_controller.cc MenuItemView* item = state_.item; item 2022 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 2023 ui/views/controls/menu/menu_controller.cc if (!item->GetParentMenuItem()) item 2025 ui/views/controls/menu/menu_controller.cc if (item->HasSubmenu() && item->GetSubmenu()->IsShowing()) item 2026 ui/views/controls/menu/menu_controller.cc SetSelection(item, SELECTION_UPDATE_IMMEDIATELY); item 2027 ui/views/controls/menu/menu_controller.cc else if (item->GetParentMenuItem()->GetParentMenuItem()) item 2028 ui/views/controls/menu/menu_controller.cc SetSelection(item->GetParentMenuItem(), SELECTION_UPDATE_IMMEDIATELY); item 2043 ui/views/controls/menu/menu_controller.cc if (child == pending_state_.item) item 2088 ui/views/controls/menu/menu_controller.cc MenuItemView* item = pending_state_.item; item 2089 ui/views/controls/menu/menu_controller.cc if (!item->HasSubmenu() || !item->GetSubmenu()->IsShowing()) item 2090 ui/views/controls/menu/menu_controller.cc item = item->GetParentMenuItem(); item 2091 ui/views/controls/menu/menu_controller.cc DCHECK(item); item 2092 ui/views/controls/menu/menu_controller.cc DCHECK(item->HasSubmenu()); item 2093 ui/views/controls/menu/menu_controller.cc DCHECK(item->GetSubmenu()); item 2094 ui/views/controls/menu/menu_controller.cc if (item->GetSubmenu()->GetMenuItemCount() == 0) item 2099 ui/views/controls/menu/menu_controller.cc FindChildForMnemonic(item, key, &MatchesMnemonic); item 2101 ui/views/controls/menu/menu_controller.cc return AcceptOrSelect(item, details); item 2104 ui/views/controls/menu/menu_controller.cc item->GetSubmenu()->GetTextInputClient()->InsertChar(character, 0); item 2107 ui/views/controls/menu/menu_controller.cc details = FindChildForMnemonic(item, key, &TitleMatchesMnemonic); item 2109 ui/views/controls/menu/menu_controller.cc return AcceptOrSelect(item, details); item 2128 ui/views/controls/menu/menu_controller.cc SubmenuView* submenu = state_.item->GetRootMenuItem()->GetSubmenu(); item 2336 ui/views/controls/menu/menu_controller.cc } else if (!part.is_scroll() && pending_state_.item && item 2337 ui/views/controls/menu/menu_controller.cc pending_state_.item->GetParentMenuItem() && item 2338 ui/views/controls/menu/menu_controller.cc (!pending_state_.item->HasSubmenu() || item 2339 ui/views/controls/menu/menu_controller.cc !pending_state_.item->GetSubmenu()->IsShowing())) { item 2342 ui/views/controls/menu/menu_controller.cc SetSelection(pending_state_.item->GetParentMenuItem(), item 189 ui/views/controls/menu/menu_controller.h MenuItemView* item; item 284 ui/views/controls/menu/menu_controller.h void Accept(MenuItemView* item, int event_flags); item 322 ui/views/controls/menu/menu_controller.h MenuPart GetMenuPartByScreenCoordinateUsingMenu(MenuItemView* item, item 344 ui/views/controls/menu/menu_controller.h void CloseMenu(MenuItemView* item); item 348 ui/views/controls/menu/menu_controller.h void OpenMenu(MenuItemView* item); item 352 ui/views/controls/menu/menu_controller.h void OpenMenuImpl(MenuItemView* item, bool show); item 356 ui/views/controls/menu/menu_controller.h void MenuChildrenChanged(MenuItemView* item); item 368 ui/views/controls/menu/menu_controller.h void BuildMenuItemPath(MenuItemView* item, std::vector<MenuItemView*>* path); item 382 ui/views/controls/menu/menu_controller.h gfx::Rect CalculateMenuBounds(MenuItemView* item, item 388 ui/views/controls/menu/menu_controller.h gfx::Rect CalculateBubbleMenuBounds(MenuItemView* item, item 393 ui/views/controls/menu/menu_controller.h static int MenuDepth(MenuItemView* item); item 105 ui/views/controls/menu/menu_delegate.cc int MenuDelegate::GetDropOperation(MenuItemView* item, item 175 ui/views/controls/menu/menu_delegate.h virtual int GetDropOperation(MenuItemView* item, item 246 ui/views/controls/menu/menu_item_view.cc MenuItemView* item = new MenuItemView(this, item_id, type); item 248 ui/views/controls/menu/menu_item_view.cc item->SetTitle(GetDelegate()->GetLabel(item_id)); item 250 ui/views/controls/menu/menu_item_view.cc item->SetTitle(label); item 251 ui/views/controls/menu/menu_item_view.cc item->SetSubtitle(sublabel); item 252 ui/views/controls/menu/menu_item_view.cc item->SetMinorText(minor_text); item 254 ui/views/controls/menu/menu_item_view.cc item->SetIcon(icon); item 256 ui/views/controls/menu/menu_item_view.cc item->CreateSubmenu(); item 257 ui/views/controls/menu/menu_item_view.cc submenu_->AddChildViewAt(item, index); item 258 ui/views/controls/menu/menu_item_view.cc return item; item 266 ui/views/controls/menu/menu_item_view.cc View* item = submenu_->child_at(index); item 267 ui/views/controls/menu/menu_item_view.cc DCHECK(item); item 268 ui/views/controls/menu/menu_item_view.cc submenu_->RemoveChildView(item); item 273 ui/views/controls/menu/menu_item_view.cc removed_items_.push_back(item); item 366 ui/views/controls/menu/menu_item_view.cc MenuItemView* item = GetMenuItemByID(item_id); item 367 ui/views/controls/menu/menu_item_view.cc DCHECK(item); item 368 ui/views/controls/menu/menu_item_view.cc item->tooltip_ = tooltip; item 372 ui/views/controls/menu/menu_item_view.cc MenuItemView* item = GetMenuItemByID(item_id); item 373 ui/views/controls/menu/menu_item_view.cc DCHECK(item); item 374 ui/views/controls/menu/menu_item_view.cc item->SetIcon(icon); item 441 ui/views/controls/menu/menu_item_view.cc const MenuItemView* item = this; item 443 ui/views/controls/menu/menu_item_view.cc parent = item->GetParentMenuItem()) item 444 ui/views/controls/menu/menu_item_view.cc item = parent; item 445 ui/views/controls/menu/menu_item_view.cc return item; item 27 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc MenuItemView* item = menu_controller_->pending_state_.item; item 28 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc if (item && item->GetRootMenuItem() != item) { item 29 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc gfx::Point screen_loc(0, item->height()); item 30 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc View::ConvertPointToScreen(item, &screen_loc); item 34 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc item->GetDelegate()->ShowContextMenu( item 35 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc item, item->GetCommand(), screen_loc, source_type); item 49 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* item = new MenuItemView(this); item 50 ui/views/controls/menu/menu_model_adapter.cc BuildMenu(item); item 51 ui/views/controls/menu/menu_model_adapter.cc return item; item 265 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* item = AppendMenuItem(menu, model, i); item 267 ui/views/controls/menu/menu_model_adapter.cc if (item) item 268 ui/views/controls/menu/menu_model_adapter.cc item->SetVisible(model->IsVisibleAt(i)); item 271 ui/views/controls/menu/menu_model_adapter.cc DCHECK(item); item 272 ui/views/controls/menu/menu_model_adapter.cc DCHECK_EQ(MenuItemView::SUBMENU, item->GetType()); item 275 ui/views/controls/menu/menu_model_adapter.cc BuildMenuImpl(item, submodel); item 276 ui/views/controls/menu/menu_model_adapter.cc has_icons = has_icons || item->has_icons(); item 278 ui/views/controls/menu/menu_model_adapter.cc menu_map_[item] = submodel; item 223 ui/views/controls/menu/menu_model_adapter_unittest.cc MenuItemView* item = menu->GetMenuItemByID(id); item 224 ui/views/controls/menu/menu_model_adapter_unittest.cc if (!item) { item 230 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, menu->GetSubmenu()->GetIndexOf(item)); item 235 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::NORMAL, item->GetType()); item 238 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::CHECKBOX, item->GetType()); item 241 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::RADIO, item->GetType()); item 247 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::SUBMENU, item->GetType()); item 270 ui/views/controls/menu/menu_model_adapter_unittest.cc MenuItemView* item = menu->GetMenuItemByID(id); item 271 ui/views/controls/menu/menu_model_adapter_unittest.cc if (!item) { item 277 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, submenu->GetSubmenu()->GetIndexOf(item)); item 282 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::NORMAL, item->GetType()); item 285 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::CHECKBOX, item->GetType()); item 288 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::RADIO, item->GetType()); item 294 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(views::MenuItemView::SUBMENU, item->GetType()); item 85 ui/views/controls/menu/submenu_view.cc MenuItemView *item = GetMenuItem(); item 86 ui/views/controls/menu/submenu_view.cc MenuController* controller = item->GetMenuController(); item 90 ui/views/controls/menu/submenu_view.cc gfx::Rect bounds = controller->CalculateMenuBounds(item, false, &dir); item 395 ui/views/controls/menu/submenu_view.cc void SubmenuView::SetDropMenuItem(MenuItemView* item, item 397 ui/views/controls/menu/submenu_view.cc if (drop_item_ == item && drop_position_ == position) item 400 ui/views/controls/menu/submenu_view.cc drop_item_ = item; item 405 ui/views/controls/menu/submenu_view.cc bool SubmenuView::GetShowSelection(MenuItemView* item) { item 411 ui/views/controls/menu/submenu_view.cc return (drop_item_ == item && drop_position_ == MenuDelegate::DROP_ON); item 437 ui/views/controls/menu/submenu_view.cc MenuItemView* item, item 442 ui/views/controls/menu/submenu_view.cc gfx::Rect bounds = CalculateDropIndicatorBounds(item, position); item 447 ui/views/controls/menu/submenu_view.cc MenuItemView* item, item 449 ui/views/controls/menu/submenu_view.cc if (item == NULL) item 453 ui/views/controls/menu/submenu_view.cc item->SchedulePaint(); item 455 ui/views/controls/menu/submenu_view.cc SchedulePaintInRect(CalculateDropIndicatorBounds(item, position)); item 460 ui/views/controls/menu/submenu_view.cc MenuItemView* item, item 463 ui/views/controls/menu/submenu_view.cc gfx::Rect item_bounds = item->bounds(); item 126 ui/views/controls/menu/submenu_view.h void SetDropMenuItem(MenuItemView* item, item 132 ui/views/controls/menu/submenu_view.h bool GetShowSelection(MenuItemView* item); item 172 ui/views/controls/menu/submenu_view.h MenuItemView* item, item 175 ui/views/controls/menu/submenu_view.h void SchedulePaintForDropIndicator(MenuItemView* item, item 179 ui/views/controls/menu/submenu_view.h gfx::Rect CalculateDropIndicatorBounds(MenuItemView* item, item 123 webkit/browser/blob/blob_storage_context.cc const std::string& uuid, const BlobData::Item& item) { item 146 webkit/browser/blob/blob_storage_context.cc DCHECK(item.length() > 0); item 147 webkit/browser/blob/blob_storage_context.cc switch (item.type()) { item 149 webkit/browser/blob/blob_storage_context.cc DCHECK(!item.offset()); item 151 webkit/browser/blob/blob_storage_context.cc item.bytes(), item 152 webkit/browser/blob/blob_storage_context.cc static_cast<int64>(item.length())); item 156 webkit/browser/blob/blob_storage_context.cc item.path(), item 157 webkit/browser/blob/blob_storage_context.cc item.offset(), item 158 webkit/browser/blob/blob_storage_context.cc item.length(), item 159 webkit/browser/blob/blob_storage_context.cc item.expected_modification_time()); item 163 webkit/browser/blob/blob_storage_context.cc item.filesystem_url(), item 164 webkit/browser/blob/blob_storage_context.cc item.offset(), item 165 webkit/browser/blob/blob_storage_context.cc item.length(), item 166 webkit/browser/blob/blob_storage_context.cc item.expected_modification_time()); item 169 webkit/browser/blob/blob_storage_context.cc scoped_ptr<BlobDataHandle> src = GetBlobDataFromUUID(item.blob_uuid()); item 173 webkit/browser/blob/blob_storage_context.cc item.offset(), item 174 webkit/browser/blob/blob_storage_context.cc item.length()); item 20 webkit/browser/blob/blob_storage_context_unittest.cc BlobData::Item item; item 21 webkit/browser/blob/blob_storage_context_unittest.cc item.SetToBytes("1", 1); item 22 webkit/browser/blob/blob_storage_context_unittest.cc EXPECT_TRUE(host->AppendBlobDataItem(id, item)); item 196 webkit/browser/blob/blob_storage_context_unittest.cc BlobData::Item item; item 197 webkit/browser/blob/blob_storage_context_unittest.cc item.SetToBytes("1", 1); item 198 webkit/browser/blob/blob_storage_context_unittest.cc EXPECT_FALSE(host.AppendBlobDataItem(kId, item)); item 194 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(i); item 195 webkit/browser/blob/blob_url_request_job.cc if (IsFileType(item.type())) { item 203 webkit/browser/blob/blob_url_request_job.cc if (!AddItemLength(i, item.length())) item 251 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(index); item 252 webkit/browser/blob/blob_url_request_job.cc DCHECK(IsFileType(item.type())); item 255 webkit/browser/blob/blob_url_request_job.cc uint64 item_offset = item.offset(); item 256 webkit/browser/blob/blob_url_request_job.cc uint64 item_length = item.length(); item 297 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(current_item_index_); item 298 webkit/browser/blob/blob_url_request_job.cc if (IsFileType(item.type())) { item 326 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(current_item_index_); item 327 webkit/browser/blob/blob_url_request_job.cc if (item.type() == BlobData::Item::TYPE_BYTES) item 328 webkit/browser/blob/blob_url_request_job.cc return ReadBytesItem(item, bytes_to_read); item 329 webkit/browser/blob/blob_url_request_job.cc if (IsFileType(item.type())) { item 363 webkit/browser/blob/blob_url_request_job.cc bool BlobURLRequestJob::ReadBytesItem(const BlobData::Item& item, item 368 webkit/browser/blob/blob_url_request_job.cc item.bytes() + item.offset() + current_item_offset_, item 549 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(index); item 550 webkit/browser/blob/blob_url_request_job.cc if (!IsFileType(item.type())) item 561 webkit/browser/blob/blob_url_request_job.cc const BlobData::Item& item = blob_data_->items().at(index); item 562 webkit/browser/blob/blob_url_request_job.cc DCHECK(IsFileType(item.type())); item 566 webkit/browser/blob/blob_url_request_job.cc switch (item.type()) { item 570 webkit/browser/blob/blob_url_request_job.cc item.path(), item 571 webkit/browser/blob/blob_url_request_job.cc item.offset() + additional_offset, item 572 webkit/browser/blob/blob_url_request_job.cc item.expected_modification_time()); item 577 webkit/browser/blob/blob_url_request_job.cc file_system_context_->CrackURL(item.filesystem_url())), item 578 webkit/browser/blob/blob_url_request_job.cc item.offset() + additional_offset, item 579 webkit/browser/blob/blob_url_request_job.cc item.expected_modification_time()).release(); item 76 webkit/browser/blob/blob_url_request_job.h bool ReadBytesItem(const BlobData::Item& item, int bytes_to_read); item 193 webkit/browser/blob/view_blob_internals_job.cc const BlobData::Item& item = blob_data.items().at(i); item 195 webkit/browser/blob/view_blob_internals_job.cc switch (item.type()) { item 202 webkit/browser/blob/view_blob_internals_job.cc net::EscapeForHTML(item.path().AsUTF8Unsafe()), item 204 webkit/browser/blob/view_blob_internals_job.cc if (!item.expected_modification_time().is_null()) { item 206 webkit/browser/blob/view_blob_internals_job.cc TimeFormatFriendlyDateAndTime(item.expected_modification_time())), item 215 webkit/browser/blob/view_blob_internals_job.cc AddHTMLListItem(kURL, item.filesystem_url().spec(), out); item 216 webkit/browser/blob/view_blob_internals_job.cc if (!item.expected_modification_time().is_null()) { item 218 webkit/browser/blob/view_blob_internals_job.cc TimeFormatFriendlyDateAndTime(item.expected_modification_time())), item 226 webkit/browser/blob/view_blob_internals_job.cc if (item.offset()) { item 228 webkit/browser/blob/view_blob_internals_job.cc static_cast<int64>(item.offset()))), out); item 230 webkit/browser/blob/view_blob_internals_job.cc if (static_cast<int64>(item.length()) != -1) { item 232 webkit/browser/blob/view_blob_internals_job.cc static_cast<int64>(item.length()))), out); item 248 win8/metro_driver/chrome_app_view.cc [hwnd](std::pair<HWND, bool>& item) { item 249 win8/metro_driver/chrome_app_view.cc return (item.first == hwnd); item 277 win8/metro_driver/chrome_app_view.cc globals.host_windows.remove_if([hwnd](std::pair<HWND, bool>& item) { item 278 win8/metro_driver/chrome_app_view.cc return (item.first == hwnd); item 41 win8/metro_driver/file_picker.cc STDMETHOD(GetAt)(unsigned index, HSTRING* item) { item 45 win8/metro_driver/file_picker.cc return ::WindowsDuplicateString(strings_[index], item); item 61 win8/metro_driver/file_picker.cc STDMETHOD(SetAt)(unsigned index, HSTRING item) { item 64 win8/metro_driver/file_picker.cc STDMETHOD(InsertAt)(unsigned index, HSTRING item) { item 70 win8/metro_driver/file_picker.cc STDMETHOD(Append)(HSTRING item) { item 39 win8/metro_driver/file_picker_ash.cc STDMETHOD(GetAt)(unsigned index, HSTRING* item) { item 43 win8/metro_driver/file_picker_ash.cc return ::WindowsDuplicateString(strings_[index], item); item 59 win8/metro_driver/file_picker_ash.cc STDMETHOD(SetAt)(unsigned index, HSTRING item) { item 62 win8/metro_driver/file_picker_ash.cc STDMETHOD(InsertAt)(unsigned index, HSTRING item) { item 68 win8/metro_driver/file_picker_ash.cc STDMETHOD(Append)(HSTRING item) {