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

Side by Side Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 16755004: Use a direct include of strings headers in content/browser/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 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 "content/browser/accessibility/browser_accessibility_win.h" 5 #include "content/browser/accessibility/browser_accessibility_win.h"
6 6
7 #include <UIAutomationClient.h> 7 #include <UIAutomationClient.h>
8 #include <UIAutomationCoreApi.h> 8 #include <UIAutomationCoreApi.h>
9 9
10 #include "base/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/win/enum_variant.h" 13 #include "base/win/enum_variant.h"
14 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
15 #include "base/win/windows_version.h" 15 #include "base/win/windows_version.h"
16 #include "content/browser/accessibility/browser_accessibility_manager_win.h" 16 #include "content/browser/accessibility/browser_accessibility_manager_win.h"
17 #include "content/common/accessibility_messages.h" 17 #include "content/common/accessibility_messages.h"
18 #include "content/public/common/content_client.h" 18 #include "content/public/common/content_client.h"
19 #include "ui/base/accessibility/accessible_text_utils.h" 19 #include "ui/base/accessibility/accessible_text_utils.h"
20 #include "ui/base/win/accessibility_ids_win.h" 20 #include "ui/base/win/accessibility_ids_win.h"
21 #include "ui/base/win/accessibility_misc_utils.h" 21 #include "ui/base/win/accessibility_misc_utils.h"
(...skipping 3582 matching lines...) Expand 10 before | Expand all | Expand 10 after
3604 // The role should always be set. 3604 // The role should always be set.
3605 DCHECK(!role_name_.empty() || ia_role_); 3605 DCHECK(!role_name_.empty() || ia_role_);
3606 3606
3607 // If we didn't explicitly set the IAccessible2 role, make it the same 3607 // If we didn't explicitly set the IAccessible2 role, make it the same
3608 // as the MSAA role. 3608 // as the MSAA role.
3609 if (!ia2_role_) 3609 if (!ia2_role_)
3610 ia2_role_ = ia_role_; 3610 ia2_role_ = ia_role_;
3611 } 3611 }
3612 3612
3613 } // namespace content 3613 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698