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

Side by Side Diff: Source/core/accessibility/AXInlineTextBox.cpp

Issue 199793011: Removing "using" delclarations that import names from the STL library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed the empty lines Created 6 years, 9 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
« no previous file with comments | « Source/core/accessibility/AXARIAGridRow.cpp ('k') | Source/core/accessibility/AXList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013, Google Inc. All rights reserved. 2 * Copyright (C) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/accessibility/AXInlineTextBox.h" 30 #include "core/accessibility/AXInlineTextBox.h"
31 31
32 #include "core/accessibility/AXObjectCache.h" 32 #include "core/accessibility/AXObjectCache.h"
33 #include "core/dom/Range.h" 33 #include "core/dom/Range.h"
34 #include "core/rendering/RenderText.h" 34 #include "core/rendering/RenderText.h"
35 #include "platform/LayoutUnit.h" 35 #include "platform/LayoutUnit.h"
36 36
37 using namespace std;
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 using namespace HTMLNames; 40 using namespace HTMLNames;
42 41
43 AXInlineTextBox::AXInlineTextBox(PassRefPtr<AbstractInlineTextBox> inlineTextBox ) 42 AXInlineTextBox::AXInlineTextBox(PassRefPtr<AbstractInlineTextBox> inlineTextBox )
44 : m_inlineTextBox(inlineTextBox) 43 : m_inlineTextBox(inlineTextBox)
45 { 44 {
46 RenderText* renderText = m_inlineTextBox->renderText(); 45 RenderText* renderText = m_inlineTextBox->renderText();
47 m_axObjectCache = renderText->document().axObjectCache(); 46 m_axObjectCache = renderText->document().axObjectCache();
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 case AbstractInlineTextBox::TopToBottom: 144 case AbstractInlineTextBox::TopToBottom:
146 return AccessibilityTextDirectionTopToBottom; 145 return AccessibilityTextDirectionTopToBottom;
147 case AbstractInlineTextBox::BottomToTop: 146 case AbstractInlineTextBox::BottomToTop:
148 return AccessibilityTextDirectionBottomToTop; 147 return AccessibilityTextDirectionBottomToTop;
149 } 148 }
150 149
151 return AccessibilityTextDirectionLeftToRight; 150 return AccessibilityTextDirectionLeftToRight;
152 } 151 }
153 152
154 } // namespace WebCore 153 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXARIAGridRow.cpp ('k') | Source/core/accessibility/AXList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698