forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sideloaded (externally installed) extensions display webstore info
Have sideloaded extensions pull data from the webstore (a la inline install) in order to give the users a better idea of what extension they are installing. Images worth 1000 words: http://imgur.com/zlexZeb,VljPXLz,WzT2ZOc#0 XIB changes: * rename 'app/nibs/ExtensionInstallPromptInline.xib' to 'app/nibs/ExtensionInstallPromptWebstoreData', since the same prompt is now used for inline prompts and for sideloaded extensions when webstore data is available. BUG=323063 Review URL: https://codereview.chromium.org/145153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247604 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
rdevlin.cronin@chromium.org
committed
Jan 29, 2014
1 parent
2d7baa5
commit 34b5f7f
Showing
17 changed files
with
195 additions
and
83 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
chrome/browser/extensions/webstore_data_fetcher_delegate.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome/browser/extensions/webstore_data_fetcher_delegate.h" | ||
|
||
namespace extensions { | ||
|
||
const char WebstoreDataFetcherDelegate::kAverageRatingKey[] = "average_rating"; | ||
const char WebstoreDataFetcherDelegate::kIconUrlKey[] = "icon_url"; | ||
const char WebstoreDataFetcherDelegate::kIdKey[] = "id"; | ||
const char WebstoreDataFetcherDelegate::kInlineInstallNotSupportedKey[] = | ||
"inline_install_not_supported"; | ||
const char WebstoreDataFetcherDelegate::kLocalizedDescriptionKey[] = | ||
"localized_description"; | ||
const char WebstoreDataFetcherDelegate::kLocalizedNameKey[] = "localized_name"; | ||
const char WebstoreDataFetcherDelegate::kManifestKey[] = "manifest"; | ||
const char WebstoreDataFetcherDelegate::kRatingCountKey[] = "rating_count"; | ||
const char WebstoreDataFetcherDelegate::kRedirectUrlKey[] = "redirect_url"; | ||
const char WebstoreDataFetcherDelegate::kShowUserCountKey[] = "show_user_count"; | ||
const char WebstoreDataFetcherDelegate::kUsersKey[] = "users"; | ||
const char WebstoreDataFetcherDelegate::kVerifiedSiteKey[] = "verified_site"; | ||
const char WebstoreDataFetcherDelegate::kVerifiedSitesKey[] = "verified_sites"; | ||
|
||
} // namespace extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.