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

Side by Side Diff: chrome/browser/chromeos/note_taking_helper.h

Issue 2618493002: Chrome app manifest support for action handlers. (Closed)
Patch Set: Address comments Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHROMEOS_NOTE_TAKING_HELPER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ 6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void OnAvailableNoteTakingAppsUpdated() = 0; 73 virtual void OnAvailableNoteTakingAppsUpdated() = 0;
74 }; 74 };
75 75
76 // Callback used to launch a Chrome app. 76 // Callback used to launch a Chrome app.
77 using LaunchChromeAppCallback = base::Callback<void( 77 using LaunchChromeAppCallback = base::Callback<void(
78 Profile*, 78 Profile*,
79 const extensions::Extension*, 79 const extensions::Extension*,
80 std::unique_ptr<extensions::api::app_runtime::ActionData>, 80 std::unique_ptr<extensions::api::app_runtime::ActionData>,
81 const base::FilePath&)>; 81 const base::FilePath&)>;
82 82
83 // Extension manifest "action" entry value that specifies the app supports the
84 // new note flow.
85 static const char kChromeNewNoteAction[];
86
83 // Intent action used to launch Android apps. 87 // Intent action used to launch Android apps.
84 static const char kIntentAction[]; 88 static const char kIntentAction[];
85 89
86 // Extension IDs for the development and released versions of the Google Keep 90 // Extension IDs for the development and released versions of the Google Keep
87 // Chrome app. 91 // Chrome app.
88 static const char kDevKeepExtensionId[]; 92 static const char kDevKeepExtensionId[];
89 static const char kProdKeepExtensionId[]; 93 static const char kProdKeepExtensionId[];
90 94
91 static void Initialize(); 95 static void Initialize();
92 static void Shutdown(); 96 static void Shutdown();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 content::NotificationRegistrar registrar_; 201 content::NotificationRegistrar registrar_;
198 202
199 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_; 203 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_;
200 204
201 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper); 205 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper);
202 }; 206 };
203 207
204 } // namespace chromeos 208 } // namespace chromeos
205 209
206 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ 210 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/note_taking_helper.cc » ('j') | chrome/browser/chromeos/note_taking_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698