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

Side by Side Diff: chrome/browser/accessibility/accessibility_extension_api.cc

Issue 2301833005: Get rid of AX_LINE_BREAKS attribute to improve performance. (Closed)
Patch Set: Re-worded comment. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/accessibility/accessibility_extension_api.h" 5 #include "chrome/browser/accessibility/accessibility_extension_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/accessibility/accessibility_extension_api.h"
14 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 13 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
15 #include "chrome/browser/extensions/chrome_extension_function_details.h" 14 #include "chrome/browser/extensions/chrome_extension_function_details.h"
16 #include "chrome/browser/extensions/extension_service.h" 15 #include "chrome/browser/extensions/extension_service.h"
17 #include "chrome/browser/extensions/extension_tab_util.h" 16 #include "chrome/browser/extensions/extension_tab_util.h"
18 #include "chrome/browser/infobars/infobar_service.h" 17 #include "chrome/browser/infobars/infobar_service.h"
19 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/common/extensions/api/accessibility_private.h" 19 #include "chrome/common/extensions/api/accessibility_private.h"
21 #include "chrome/common/extensions/extension_constants.h" 20 #include "chrome/common/extensions/extension_constants.h"
22 #include "components/infobars/core/confirm_infobar_delegate.h" 21 #include "components/infobars/core/confirm_infobar_delegate.h"
23 #include "components/infobars/core/infobar.h" 22 #include "components/infobars/core/infobar.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } else { 122 } else {
124 manager->SetKeyboardListenerExtensionId(std::string(), 123 manager->SetKeyboardListenerExtensionId(std::string(),
125 details.GetProfile()); 124 details.GetProfile());
126 manager->set_keyboard_listener_capture(false); 125 manager->set_keyboard_listener_capture(false);
127 } 126 }
128 return RespondNow(NoArguments()); 127 return RespondNow(NoArguments());
129 #endif // defined OS_CHROMEOS 128 #endif // defined OS_CHROMEOS
130 129
131 return RespondNow(Error(kErrorNotSupported)); 130 return RespondNow(Error(kErrorNotSupported));
132 } 131 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/automation/automation_apitest.cc » ('j') | ui/accessibility/ax_node.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698