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

Side by Side Diff: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm

Issue 10807052: mac: Remove code that was only needed on 10.5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/avatar_menu_bubble_controller.h" 5 #import "chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h"
6 6
7 #include "base/mac/bundle_locations.h" 7 #include "base/mac/bundle_locations.h"
8 #include "base/mac/mac_util.h" 8 #include "base/mac/mac_util.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 } 431 }
432 432
433 - (void)updateTrackingAreas { 433 - (void)updateTrackingAreas {
434 if (trackingArea_.get()) 434 if (trackingArea_.get())
435 [self removeTrackingArea:trackingArea_.get()]; 435 [self removeTrackingArea:trackingArea_.get()];
436 436
437 trackingArea_.reset( 437 trackingArea_.reset(
438 [[CrTrackingArea alloc] initWithRect:[self bounds] 438 [[CrTrackingArea alloc] initWithRect:[self bounds]
439 options:NSTrackingMouseEnteredAndExited | 439 options:NSTrackingMouseEnteredAndExited |
440 NSTrackingActiveInKeyWindow 440 NSTrackingActiveInKeyWindow
441 proxiedOwner:self 441 owner:self
442 userInfo:nil]); 442 userInfo:nil]);
443 [self addTrackingArea:trackingArea_.get()]; 443 [self addTrackingArea:trackingArea_.get()];
444 444
445 [super updateTrackingAreas]; 445 [super updateTrackingAreas];
446 } 446 }
447 447
448 - (void)mouseEntered:(id)sender { 448 - (void)mouseEntered:(id)sender {
449 [viewController_ highlightForEventType:[[NSApp currentEvent] type]]; 449 [viewController_ highlightForEventType:[[NSApp currentEvent] type]];
450 [self setNeedsDisplay:YES]; 450 [self setNeedsDisplay:YES];
451 } 451 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 - (BOOL)accessibilityIsIgnored { 533 - (BOOL)accessibilityIsIgnored {
534 return YES; 534 return YES;
535 } 535 }
536 @end 536 @end
537 537
538 @implementation AccessibilityIgnoredTextFieldCell 538 @implementation AccessibilityIgnoredTextFieldCell
539 - (BOOL)accessibilityIsIgnored { 539 - (BOOL)accessibilityIsIgnored {
540 return YES; 540 return YES;
541 } 541 }
542 @end 542 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698