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

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

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: Incorporate comments from xiyuan@ and mpearson@ 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..bc3b64316d796ee1fdbf32ffa0a25493b0efde9b 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 IsNoteTakingApp(extensions::AppWindow* app_window);
+
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698