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

Side by Side Diff: chrome/browser/extensions/extension_accessibility_api.h

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback_old.h"
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/accessibility_events.h" 15 #include "chrome/browser/accessibility_events.h"
16 #include "chrome/browser/extensions/extension_function.h" 16 #include "chrome/browser/extensions/extension_function.h"
17 #include "content/common/notification_observer.h" 17 #include "content/common/notification_observer.h"
18 #include "content/common/notification_registrar.h" 18 #include "content/common/notification_registrar.h"
19 19
20 // Observes the profile and routes accessibility notifications as events 20 // Observes the profile and routes accessibility notifications as events
21 // to the extension system. 21 // to the extension system.
22 class ExtensionAccessibilityEventRouter : public NotificationObserver { 22 class ExtensionAccessibilityEventRouter : public NotificationObserver {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // API function that returns the most recent focused control. 92 // API function that returns the most recent focused control.
93 class GetFocusedControlFunction : public SyncExtensionFunction { 93 class GetFocusedControlFunction : public SyncExtensionFunction {
94 virtual ~GetFocusedControlFunction() {} 94 virtual ~GetFocusedControlFunction() {}
95 virtual bool RunImpl(); 95 virtual bool RunImpl();
96 DECLARE_EXTENSION_FUNCTION_NAME( 96 DECLARE_EXTENSION_FUNCTION_NAME(
97 "experimental.accessibility.getFocusedControl") 97 "experimental.accessibility.getFocusedControl")
98 }; 98 };
99 99
100 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_ 100 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_safe_browsing_client.h ('k') | chrome/browser/extensions/file_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698