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

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

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: nit and rebase 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
« no previous file with comments | « ash/wm/stylus_metrics_recorder.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8968dd82da93ea1f8f0df937f7ed320bcedeac5a 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 |app_window| belongs to the default note-taking app.
+bool IsNoteTakingAppWindow(extensions::AppWindow* app_window, Profile* profile);
+
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_
« no previous file with comments | « ash/wm/stylus_metrics_recorder.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698