| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |