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

Side by Side Diff: content/test/accessibility_browser_test_utils.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « content/shell/webkit_test_controller.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/test/accessibility_browser_test_utils.h" 5 #include "content/test/accessibility_browser_test_utils.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "content/browser/renderer_host/render_view_host_impl.h" 11 #include "content/browser/renderer_host/render_view_host_impl.h"
12 #include "content/port/browser/render_widget_host_view_port.h" 12 #include "content/port/browser/render_widget_host_view_port.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 #include "content/public/common/url_constants.h" 14 #include "content/public/common/url_constants.h"
15 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
16 #include "content/shell/shell.h" 16 #include "content/shell/browser/shell.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 AccessibilityNotificationWaiter::AccessibilityNotificationWaiter( 20 AccessibilityNotificationWaiter::AccessibilityNotificationWaiter(
21 Shell* shell, 21 Shell* shell,
22 AccessibilityMode accessibility_mode, 22 AccessibilityMode accessibility_mode,
23 AccessibilityNotification notification) 23 AccessibilityNotification notification)
24 : shell_(shell), 24 : shell_(shell),
25 notification_to_wait_for_(notification), 25 notification_to_wait_for_(notification),
26 loop_runner_(new MessageLoopRunner()), 26 loop_runner_(new MessageLoopRunner()),
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 iter = root.string_attributes.find(AccessibilityNodeData::ATTR_DOC_URL); 62 iter = root.string_attributes.find(AccessibilityNodeData::ATTR_DOC_URL);
63 if (iter != root.string_attributes.end()) { 63 if (iter != root.string_attributes.end()) {
64 string16 doc_url = iter->second; 64 string16 doc_url = iter->second;
65 if (doc_url == ASCIIToUTF16(kAboutBlankURL)) 65 if (doc_url == ASCIIToUTF16(kAboutBlankURL))
66 return true; 66 return true;
67 } 67 }
68 return false; 68 return false;
69 } 69 }
70 70
71 } // namespace content 71 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/webkit_test_controller.cc ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698