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

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

Issue 2981083002: Migrate BrowserAccessibility windows unique id handling to AXPlatformNodeWin. (Closed)
Patch Set: Use after free no more Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_event.h" 5 #include "content/browser/accessibility/browser_accessibility_event.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "content/browser/accessibility/browser_accessibility.h" 10 #include "content/browser/accessibility/browser_accessibility.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 if (original_target_ != target_) { 133 if (original_target_ != target_) {
134 original_target_str = " originalTarget=[[" 134 original_target_str = " originalTarget=[["
135 + ReplaceNewlines(original_target_->GetData().ToString()) + "]]"; 135 + ReplaceNewlines(original_target_->GetData().ToString()) + "]]";
136 } 136 }
137 137
138 VLOG(1) << "Accessibility event" 138 VLOG(1) << "Accessibility event"
139 << " " << success_str 139 << " " << success_str
140 << " " << event_name 140 << " " << event_name
141 << " result=" << result_str 141 << " result=" << result_str
142 << " source=" << source_str 142 << " source=" << source_str
143 << " unique_id=" << target_->unique_id()
144 << " target=[[" 143 << " target=[["
145 << ReplaceNewlines(target_->GetData().ToString()) << "]]" 144 << ReplaceNewlines(target_->GetData().ToString()) << "]]"
146 << original_target_str; 145 << original_target_str;
147 } 146 }
148 147
149 } // namespace content 148 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698