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

Side by Side Diff: Source/core/accessibility/AXListBoxOption.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/AXListBox.cpp ('k') | Source/core/accessibility/AXNodeObject.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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 17 matching lines...) Expand all
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/accessibility/AXListBoxOption.h" 30 #include "core/accessibility/AXListBoxOption.h"
31 31
32 #include "core/accessibility/AXObjectCache.h" 32 #include "core/accessibility/AXObjectCache.h"
33 #include "core/html/HTMLOptGroupElement.h" 33 #include "core/html/HTMLOptGroupElement.h"
34 #include "core/html/HTMLOptionElement.h" 34 #include "core/html/HTMLOptionElement.h"
35 #include "core/html/HTMLSelectElement.h" 35 #include "core/html/HTMLSelectElement.h"
36 #include "core/rendering/RenderListBox.h" 36 #include "core/rendering/RenderListBox.h"
37 37
38 using namespace std;
39 38
40 namespace WebCore { 39 namespace WebCore {
41 40
42 using namespace HTMLNames; 41 using namespace HTMLNames;
43 42
44 AXListBoxOption::AXListBoxOption() 43 AXListBoxOption::AXListBoxOption()
45 : m_optionElement(0) 44 : m_optionElement(0)
46 { 45 {
47 } 46 }
48 47
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 unsigned length = listItems.size(); 213 unsigned length = listItems.size();
215 for (unsigned i = 0; i < length; i++) { 214 for (unsigned i = 0; i < length; i++) {
216 if (listItems[i] == m_optionElement) 215 if (listItems[i] == m_optionElement)
217 return i; 216 return i;
218 } 217 }
219 218
220 return -1; 219 return -1;
221 } 220 }
222 221
223 } // namespace WebCore 222 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXListBox.cpp ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698