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

Side by Side Diff: chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 30 matching lines...) Expand all
41 private: 41 private:
42 void UpdateNoteTakingApps(); 42 void UpdateNoteTakingApps();
43 void RequestApps(const base::ListValue* unused_args); 43 void RequestApps(const base::ListValue* unused_args);
44 void SetPreferredNoteTakingApp(const base::ListValue* args); 44 void SetPreferredNoteTakingApp(const base::ListValue* args);
45 45
46 // Called by JS to request a |SendHasStylus| call. 46 // Called by JS to request a |SendHasStylus| call.
47 void HandleInitialize(const base::ListValue* args); 47 void HandleInitialize(const base::ListValue* args);
48 // Enables or disables the stylus UI section. 48 // Enables or disables the stylus UI section.
49 void SendHasStylus(); 49 void SendHasStylus();
50 50
51 // Called by JS to show the Play Store Android app.
52 void ShowPlayStoreApps(const base::ListValue* args);
53
51 // IDs of available note-taking apps. 54 // IDs of available note-taking apps.
52 std::set<std::string> note_taking_app_ids_; 55 std::set<std::string> note_taking_app_ids_;
53 56
54 DISALLOW_COPY_AND_ASSIGN(StylusHandler); 57 DISALLOW_COPY_AND_ASSIGN(StylusHandler);
55 }; 58 };
56 59
57 } // namespace settings 60 } // namespace settings
58 } // namespace chromeos 61 } // namespace chromeos
59 62
60 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_ 63 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DEVICE_STYLUS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698