OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" | 5 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #import "base/mac/mac_util.h" | 8 #import "base/mac/mac_util.h" |
9 #import "base/mac/sdk_forward_declarations.h" | 9 #import "base/mac/sdk_forward_declarations.h" |
10 #include "chrome/browser/themes/theme_service.h" | 10 #include "chrome/browser/themes/theme_service.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 | 544 |
545 // ThemedWindowDrawing implementation. | 545 // ThemedWindowDrawing implementation. |
546 | 546 |
547 - (void)windowDidChangeTheme { | 547 - (void)windowDidChangeTheme { |
548 [self updateColorsToMatchTheme]; | 548 [self updateColorsToMatchTheme]; |
549 } | 549 } |
550 | 550 |
551 - (void)windowDidChangeActive { | 551 - (void)windowDidChangeActive { |
552 } | 552 } |
553 | 553 |
| 554 #if 0 |
| 555 - (NSArray*)accessibilityAttributeNames { |
| 556 NSArray* result = [super accessibilityAttributeNames]; |
| 557 NSLog(@"attrs: %@", result); |
| 558 return result; |
| 559 } |
| 560 |
| 561 - (NSArray*)accessibilityParameterizedAttributeNames { |
| 562 NSArray* result = [super accessibilityParameterizedAttributeNames]; |
| 563 NSLog(@"pattrs: %@", result); |
| 564 return result; |
| 565 } |
| 566 |
| 567 |
| 568 - (id)accessibilityAttributeValue:(NSString*)attribute { |
| 569 id result = [super accessibilityAttributeValue:attribute]; |
| 570 NSLog(@"%@ -> %@", attribute, result); |
| 571 return result; |
| 572 } |
| 573 |
| 574 - (id)accessibilityAttributeValue:(NSString*)attribute |
| 575 forParameter:(id)parameter { |
| 576 id result = [super accessibilityAttributeValue:attribute forParameter:paramete
r]; |
| 577 NSLog(@"%@(%@) -> %@", attribute, parameter, result); |
| 578 return result; |
| 579 } |
| 580 #endif |
| 581 |
554 @end | 582 @end |
OLD | NEW |