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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm

Issue 2956593002: cl format
Patch Set: Sash - text markers not needed :/ Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
index 00a78454ae71680e2c627b47c053a1f58a145486..7d0fcb5944cfb6ace692363a3693ab999017055f 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
@@ -551,4 +551,32 @@ const CGFloat kAnimationDuration = 0.2;
- (void)windowDidChangeActive {
}
+#if 0
+- (NSArray*)accessibilityAttributeNames {
+ NSArray* result = [super accessibilityAttributeNames];
+ NSLog(@"attrs: %@", result);
+ return result;
+}
+
+- (NSArray*)accessibilityParameterizedAttributeNames {
+ NSArray* result = [super accessibilityParameterizedAttributeNames];
+ NSLog(@"pattrs: %@", result);
+ return result;
+}
+
+
+- (id)accessibilityAttributeValue:(NSString*)attribute {
+ id result = [super accessibilityAttributeValue:attribute];
+ NSLog(@"%@ -> %@", attribute, result);
+ return result;
+}
+
+- (id)accessibilityAttributeValue:(NSString*)attribute
+ forParameter:(id)parameter {
+ id result = [super accessibilityAttributeValue:attribute forParameter:parameter];
+ NSLog(@"%@(%@) -> %@", attribute, parameter, result);
+ return result;
+}
+#endif
+
@end
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698