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

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

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_gtk.h" 5 #include "content/browser/accessibility/browser_accessibility_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h" 10 #include "content/browser/accessibility/browser_accessibility_manager_gtk.h"
11 #include "content/common/accessibility_messages.h" 11 #include "content/common/accessibility_messages.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // The maximum length of an autogenerated unique type name string, 15 // The maximum length of an autogenerated unique type name string,
16 // generated from the 16-bit interface mask from an AtkObject. 16 // generated from the 16-bit interface mask from an AtkObject.
17 // 30 is enough for the prefix "WAIType" + 5 hex chars (max) */ 17 // 30 is enough for the prefix "WAIType" + 5 hex chars (max) */
18 static const int kWAITypeNameLen = 30; 18 static const int kWAITypeNameLen = 30;
19 19
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 case AccessibilityNodeData::ROLE_WEBCORE_LINK: 362 case AccessibilityNodeData::ROLE_WEBCORE_LINK:
363 atk_role_ = ATK_ROLE_LINK; 363 atk_role_ = ATK_ROLE_LINK;
364 break; 364 break;
365 default: 365 default:
366 atk_role_ = ATK_ROLE_UNKNOWN; 366 atk_role_ = ATK_ROLE_UNKNOWN;
367 break; 367 break;
368 } 368 }
369 } 369 }
370 370
371 } // namespace content 371 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698