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

Unified Diff: chrome/browser/chromeos/note_taking_app_utils.h

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: Created 4 years, 3 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
Index: chrome/browser/chromeos/note_taking_app_utils.h
diff --git a/chrome/browser/chromeos/note_taking_app_utils.h b/chrome/browser/chromeos/note_taking_app_utils.h
index 1f326105a8256bf56a6686e2eeeaea20554ec30a..dd22eb343921980bf94005fe3e8c41968410b312 100644
--- a/chrome/browser/chromeos/note_taking_app_utils.h
+++ b/chrome/browser/chromeos/note_taking_app_utils.h
@@ -11,6 +11,10 @@ namespace base {
class FilePath;
} // namespace base
+namespace extensions {
+class AppWindow;
+} // namespace extensions
+
namespace chromeos {
// Returns true if an app that can be used to take notes is available.
@@ -22,6 +26,9 @@ bool IsNoteTakingAppAvailable(Profile* profile);
void LaunchNoteTakingAppForNewNote(Profile* profile,
const base::FilePath& path);
+// Returns true if current app window is note taking app window.
+bool IsCurrentAppNoteTakingApp(extensions::AppWindow* app_window);
xiyuan 2016/09/12 20:15:47 nit: IsCurrentAppNoteTakingApp -> IsNoteTakingApp
xiaoyinh(OOO Sep 11-29) 2016/09/16 18:41:15 Done.
+
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698