/external/chromium_org/chrome/browser/extensions/ |
chrome_app_sorting.cc | 36 const char kPrefPageOrdinal[] = "page_ordinal"; 230 syncer::StringOrdinal page_ordinal = GetPageOrdinal(extension_id); local 231 if (!page_ordinal.IsValid()) { 233 page_ordinal = suggested_page; 234 } else if (!GetDefaultOrdinals(extension_id, &page_ordinal, NULL) || 235 !page_ordinal.IsValid()) { 236 page_ordinal = GetNaturalAppPageOrdinal(); 239 SetPageOrdinal(extension_id, page_ordinal); 247 app_launch_ordinal = ResolveCollision(page_ordinal, app_launch_ordinal); 249 app_launch_ordinal = CreateNextAppLaunchOrdinal(page_ordinal); 311 syncer::StringOrdinal page_ordinal = GetPageOrdinal(extension_id); local 560 syncer::StringOrdinal page_ordinal = CreateFirstAppPageOrdinal(); local [all...] |
chrome_app_sorting.h | 50 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 52 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 62 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 96 syncer::StringOrdinal page_ordinal; member in struct:extensions::ChromeAppSorting::AppOrdinals 101 // This function returns the lowest ordinal on |page_ordinal| if 103 // the largest ordinal on |page_ordinal|. If there are no apps on the page 105 // function with an invalid |page_ordinal|. 107 const syncer::StringOrdinal& page_ordinal, 120 // of |page_ordinal| and a app launch ordinal of |app_launch_ordinal|. This 123 const syncer::StringOrdinal& page_ordinal, [all...] |
app_sync_data.h | 37 const syncer::StringOrdinal& page_ordinal, 55 const syncer::StringOrdinal& page_ordinal() const { return page_ordinal_; } function in class:extensions::AppSyncData
|
app_sync_data.cc | 32 const syncer::StringOrdinal& page_ordinal, 39 page_ordinal_(page_ordinal), 96 page_ordinal_ = syncer::StringOrdinal(specifics.page_ordinal());
|
app_sync_data_unittest.cc | 53 EXPECT_EQ(app_specifics->page_ordinal(), 54 app_sync_data.page_ordinal().ToInternalValue());
|
extension_service.h | 319 // |page_ordinal| the location of the extension in the app launcher 322 const syncer::StringOrdinal& page_ordinal, 325 const syncer::StringOrdinal& page_ordinal) { 327 page_ordinal, 528 const syncer::StringOrdinal& page_ordinal,
|
crx_installer.h | 178 void set_page_ordinal(const syncer::StringOrdinal& page_ordinal) { 179 page_ordinal_ = page_ordinal;
|
chrome_app_sorting_unittest.cc | 69 syncer::StringOrdinal page_ordinal = variable 75 app_sorting()->CreateNextAppLaunchOrdinal(page_ordinal))); 79 app_sorting()->CreateNextAppLaunchOrdinal(page_ordinal)); 94 syncer::StringOrdinal next_page = page_ordinal.CreateAfter(); 109 extension_ = prefs_.AddApp("page_ordinal"); 796 sorting_defaults[app_->id()].page_ordinal = default_page_ordinal_; [all...] |
extension_sync_service.cc | 335 app_sync_data.page_ordinal().IsValid()) { 341 app_sync_data.page_ordinal());
|
extension_service.cc | [all...] |
/external/chromium_org/extensions/browser/ |
app_sorting.h | 73 const syncer::StringOrdinal& page_ordinal) const = 0; 78 const syncer::StringOrdinal& page_ordinal) const = 0; 105 const syncer::StringOrdinal& page_ordinal) const = 0;
|
null_app_sorting.h | 39 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 41 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 51 const syncer::StringOrdinal& page_ordinal) const OVERRIDE;
|
null_app_sorting.cc | 61 const syncer::StringOrdinal& page_ordinal) const { 66 const syncer::StringOrdinal& page_ordinal) const { 92 const syncer::StringOrdinal& page_ordinal) const {
|
extension_prefs.h | 181 // If |page_ordinal| is invalid then a page will be found for the App. 185 const syncer::StringOrdinal& page_ordinal, 191 const syncer::StringOrdinal& page_ordinal, 195 page_ordinal, 451 const syncer::StringOrdinal& page_ordinal,
|
extension_prefs.cc | [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_app_helper.cc | 34 syncer::StringOrdinal page_ordinal; member in struct:__anon9455::AppState 49 return page_ordinal.IsValid() && app_launch_ordinal.IsValid(); 54 page_ordinal.Equals(other.page_ordinal) && 67 app_state->page_ordinal = prefs->app_sorting()->GetPageOrdinal(id); 182 const syncer::StringOrdinal& page_ordinal) { 184 crx_file::id_util::GenerateId(name), page_ordinal); local
|
sync_app_helper.h | 34 // Sets a new |page_ordinal| value for the application with |name| in 38 const syncer::StringOrdinal& page_ordinal);
|
apps_helper.h | 61 // Sets a new |page_ordinal| value for the application at the given index 65 const syncer::StringOrdinal& page_ordinal); 72 // Sets a new |page_ordinal| value for the application at the given index
|
apps_helper.cc | 110 const syncer::StringOrdinal& page_ordinal) { 112 profile, CreateFakeAppName(app_index), page_ordinal);
|
two_client_apps_sync_test.cc | 420 original_data.page_ordinal(),
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
app_launcher_handler.cc | 166 syncer::StringOrdinal page_ordinal = sorting->GetPageOrdinal(extension->id()); local 167 if (!page_ordinal.IsValid()) { 170 page_ordinal = extension->id() == extensions::kWebStoreAppId ? 173 sorting->SetPageOrdinal(extension->id(), page_ordinal); 176 sorting->PageStringOrdinalAsInteger(page_ordinal)); 185 sorting->CreateFirstAppLaunchOrdinal(page_ordinal) : 186 sorting->CreateNextAppLaunchOrdinal(page_ordinal); 652 const syncer::StringOrdinal& page_ordinal = local 657 app_sorting->SetPageOrdinal(extension_id, page_ordinal); 686 const syncer::StringOrdinal& page_ordinal local [all...] |
app_launcher_handler.h | 117 syncer::StringOrdinal page_ordinal; member in struct:AppLauncherHandler::AppInstallInfo
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_syncable_service.h | 53 syncer::StringOrdinal page_ordinal; member in struct:app_list::AppListSyncableService::SyncItem
|
app_list_syncable_service.cc | 54 if (!specifics.page_ordinal().empty()) 55 item->page_ordinal = syncer::StringOrdinal(specifics.page_ordinal()); 78 // TODO(stevenjb): Set page_ordinal. 89 if (item->page_ordinal.IsValid()) 90 specifics->set_page_ordinal(item->page_ordinal.ToInternalValue()); [all...] |
/external/chromium_org/sync/protocol/ |
proto_value_conversions.cc | 397 SET_STR(page_ordinal); 429 SET_STR(page_ordinal); [all...] |