Home
last modified time | relevance | path

Searched refs:tab_value (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/tabs/
Dash_panel_contents.cc83 base::DictionaryValue* tab_value = CreateTabValue(extension, 0); in CreateWindowValueWithTabs() local
84 if (tab_value) { in CreateWindowValueWithTabs()
86 tab_list->Append(tab_value); in CreateWindowValueWithTabs()
102 base::DictionaryValue* tab_value = new base::DictionaryValue(); in CreateTabValue() local
103 tab_value->SetInteger(extensions::tabs_constants::kIdKey, in CreateTabValue()
105 tab_value->SetInteger(extensions::tabs_constants::kIndexKey, 0); in CreateTabValue()
107 tab_value->SetInteger(extensions::tabs_constants::kWindowIdKey, window_id); in CreateTabValue()
108 tab_value->SetString( in CreateTabValue()
110 tab_value->SetString( in CreateTabValue()
114 tab_value->SetBoolean( in CreateTabValue()
[all …]
Dtabs_event_router.cc183 DictionaryValue* tab_value = ExtensionTabUtil::CreateTabValue( in WillDispatchTabCreatedEvent() local
186 event_args->Append(tab_value); in WillDispatchTabCreatedEvent()
187 tab_value->SetBoolean(tabs_constants::kSelectedKey, active); in WillDispatchTabCreatedEvent()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel.cc96 DictionaryValue* tab_value = CreateTabValue(extension, 0); in CreateWindowValueWithTabs() local
97 if (tab_value) { in CreateWindowValueWithTabs()
99 tab_list->Append(tab_value); in CreateWindowValueWithTabs()
115 DictionaryValue* tab_value = new DictionaryValue(); in CreateTabValue() local
116 tab_value->SetInteger(extensions::tabs_constants::kIdKey, in CreateTabValue()
118 tab_value->SetInteger(extensions::tabs_constants::kIndexKey, 0); in CreateTabValue()
119 tab_value->SetInteger(extensions::tabs_constants::kWindowIdKey, in CreateTabValue()
121 tab_value->SetString( in CreateTabValue()
123 tab_value->SetString(extensions::tabs_constants::kStatusKey, in CreateTabValue()
126 tab_value->SetBoolean( in CreateTabValue()
[all …]
/external/chromium/chrome/browser/ui/webui/
Dvalue_helper.cc36 scoped_ptr<DictionaryValue> tab_value(new DictionaryValue()); in WindowToValue() local
37 if (TabToValue(window.tabs[i], tab_value.get())) in WindowToValue()
38 tab_values->Append(tab_value.release()); in WindowToValue()
Dforeign_session_handler.cc228 scoped_ptr<DictionaryValue> tab_value(new DictionaryValue()); in SessionWindowToValue() local
229 if (SessionTabToValue(*window.tabs[i], tab_value.get())) in SessionWindowToValue()
230 tab_values->Append(tab_value.release()); in SessionWindowToValue()
/external/chromium/chrome/browser/extensions/
Dexecute_code_in_tab_function.cc62 Value* tab_value = NULL; in RunImpl() local
63 EXTENSION_FUNCTION_VALIDATE(args_->Get(0, &tab_value)); in RunImpl()
64 if (tab_value->IsType(Value::TYPE_NULL)) { in RunImpl()
73 EXTENSION_FUNCTION_VALIDATE(tab_value->GetAsInteger(&execute_tab_id_)); in RunImpl()
Dextension_message_service.cc160 scoped_ptr<DictionaryValue> tab_value( in OpenChannelToExtension() local
162 base::JSONWriter::Write(tab_value.get(), false, &tab_json); in OpenChannelToExtension()
199 scoped_ptr<DictionaryValue> tab_value( in OpenChannelToTab() local
201 base::JSONWriter::Write(tab_value.get(), false, &tab_json); in OpenChannelToTab()
/external/chromium_org/chrome/test/automation/
Dbrowser_proxy.cc312 Value* tab_value; in GetInitialLoadTimes() local
315 if (!tabs_list->Get(i, &tab_value) || in GetInitialLoadTimes()
316 tab_value->GetType() != Value::TYPE_DICTIONARY) in GetInitialLoadTimes()
318 tab_dict = static_cast<DictionaryValue*>(tab_value); in GetInitialLoadTimes()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Drecently_closed_tabs_handler.cc43 DictionaryValue* tab_value = new DictionaryValue(); in WindowToValue() local
44 TabToValue(window.tabs[i], tab_value); in WindowToValue()
45 tab_values->Append(tab_value); in WindowToValue()
Dforeign_session_handler.cc389 scoped_ptr<DictionaryValue> tab_value(new DictionaryValue()); in SessionWindowToValue() local
390 if (SessionTabToValue(*window.tabs[i], tab_value.get())) { in SessionWindowToValue()
393 tab_values->Append(tab_value.release()); in SessionWindowToValue()
/external/chromium_org/chrome/browser/extensions/
Dextension_action.h293 if (const T* tab_value = FindOrNull(map, tab_id)) { in GetValue() local
294 return *tab_value; in GetValue()
/external/chromium_org/chrome/browser/extensions/api/sessions/
Dsessions_api.cc396 scoped_ptr<DictionaryValue> tab_value( in SetResultRestoredTab() local
398 scoped_ptr<tabs::Tab> tab(tabs::Tab::FromValue(*tab_value)); in SetResultRestoredTab()
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dextension_action_api.cc382 DictionaryValue* tab_value = extensions::ExtensionTabUtil::CreateTabValue( in ExtensionActionExecuted() local
384 args->Append(tab_value); in ExtensionActionExecuted()