Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3098)

Unified Diff: chrome/browser/resources/settings/device_page/device_page_browser_proxy.js

Issue 2688513005: cros: Open play store app for md-settings stylus "Find more apps" link (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/stylus.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
diff --git a/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js b/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
index e9d2737690b73fb7703a72bf947e364696fa35d4..e9a0c391da6af86562837e92d972c757d1a77c08 100644
--- a/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
+++ b/chrome/browser/resources/settings/device_page/device_page_browser_proxy.js
@@ -80,6 +80,12 @@ cr.define('settings', function() {
setNoteTakingAppsUpdatedCallback: function(callback) {},
/**
+ * Open up the play store with the given URL.
+ * @param {string} url
+ */
+ showPlayStore: function(url) {},
+
+ /**
* Request current note-taking app info. Invokes any callback registered in
* |onNoteTakingAppsUpdated|.
*/
@@ -145,6 +151,11 @@ cr.define('settings', function() {
},
/** @override */
+ showPlayStore: function(url) {
+ chrome.send('showPlayStoreApps', [url]);
+ },
+
+ /** @override */
requestNoteTakingApps: function() {
chrome.send('requestNoteTakingApps');
},
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/stylus.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698