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

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

Issue 565013003: Changing the order of initialization WeakPtrFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving the build error Created 6 years, 3 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 | « content/shell/renderer/ipc_echo.cc ('k') | content/test/accessibility_browser_test_utils.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 #ifndef CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_ 5 #ifndef CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_
6 #define CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_ 6 #define CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/common/accessibility_mode_enums.h" 9 #include "content/common/accessibility_mode_enums.h"
10 #include "ui/accessibility/ax_node_data.h" 10 #include "ui/accessibility/ax_node_data.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Callback from RenderViewHostImpl. 50 // Callback from RenderViewHostImpl.
51 void OnAccessibilityEvent(ui::AXEvent event, int event_target_id); 51 void OnAccessibilityEvent(ui::AXEvent event, int event_target_id);
52 52
53 // Helper function to determine if the accessibility tree in 53 // Helper function to determine if the accessibility tree in
54 // GetAXTree() is about the page with the url "about:blank". 54 // GetAXTree() is about the page with the url "about:blank".
55 bool IsAboutBlank(); 55 bool IsAboutBlank();
56 56
57 RenderFrameHostImpl* frame_host_; 57 RenderFrameHostImpl* frame_host_;
58 ui::AXEvent event_to_wait_for_; 58 ui::AXEvent event_to_wait_for_;
59 scoped_refptr<MessageLoopRunner> loop_runner_; 59 scoped_refptr<MessageLoopRunner> loop_runner_;
60 int event_target_id_;
61
60 base::WeakPtrFactory<AccessibilityNotificationWaiter> weak_factory_; 62 base::WeakPtrFactory<AccessibilityNotificationWaiter> weak_factory_;
61 int event_target_id_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(AccessibilityNotificationWaiter); 64 DISALLOW_COPY_AND_ASSIGN(AccessibilityNotificationWaiter);
64 }; 65 };
65 66
66 } // namespace content 67 } // namespace content
67 68
68 #endif // CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_ 69 #endif // CONTENT_TEST_ACCESSIBILITY_BROWSER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/ipc_echo.cc ('k') | content/test/accessibility_browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698