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

Side by Side Diff: chrome/browser/ui/webui/app_list/start_page_handler.h

Issue 930243009: Add UMA for the app list doodle being clicked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uma
Patch Set: fix tests Created 5 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_START_PAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/prefs/pref_change_registrar.h" 10 #include "base/prefs/pref_change_registrar.h"
(...skipping 29 matching lines...) Expand all
40 content::BrowserContext* browser_context, 40 content::BrowserContext* browser_context,
41 const extensions::Extension* extension, 41 const extensions::Extension* extension,
42 extensions::UnloadedExtensionInfo::Reason reason) override; 42 extensions::UnloadedExtensionInfo::Reason reason) override;
43 43
44 #if defined(OS_CHROMEOS) 44 #if defined(OS_CHROMEOS)
45 // Called when the pref has been changed. 45 // Called when the pref has been changed.
46 void OnHotwordEnabledChanged(); 46 void OnHotwordEnabledChanged();
47 #endif 47 #endif
48 48
49 // JS callbacks. 49 // JS callbacks.
50 void HandleAppListShown(const base::ListValue* args);
51 void HandleDoodleClicked(const base::ListValue* args);
50 void HandleInitialize(const base::ListValue* args); 52 void HandleInitialize(const base::ListValue* args);
51 void HandleLaunchApp(const base::ListValue* args); 53 void HandleLaunchApp(const base::ListValue* args);
52 void HandleSpeechResult(const base::ListValue* args); 54 void HandleSpeechResult(const base::ListValue* args);
53 void HandleSpeechSoundLevel(const base::ListValue* args); 55 void HandleSpeechSoundLevel(const base::ListValue* args);
54 void HandleSpeechRecognition(const base::ListValue* args); 56 void HandleSpeechRecognition(const base::ListValue* args);
55 57
56 PrefChangeRegistrar pref_change_registrar_; 58 PrefChangeRegistrar pref_change_registrar_;
57 59
58 ScopedObserver<extensions::ExtensionRegistry, 60 ScopedObserver<extensions::ExtensionRegistry,
59 extensions::ExtensionRegistryObserver> 61 extensions::ExtensionRegistryObserver>
60 extension_registry_observer_; 62 extension_registry_observer_;
61 63
62 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); 64 DISALLOW_COPY_AND_ASSIGN(StartPageHandler);
63 }; 65 };
64 66
65 } // namespace app_list 67 } // namespace app_list
66 68
67 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ 69 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/app_list/start_page_browsertest.js ('k') | chrome/browser/ui/webui/app_list/start_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698