Changeset 75357 in webkit


Ignore:
Timestamp:
Jan 9, 2011 3:34:10 PM (13 years ago)
Author:
mitz@apple.com
Message:

<rdar://problem/8765555> WebKit2: Search field focus ring is missing

Reviewed by Sam Weinig.

Provide a focus ring visible rect to AppKit.

  • platform/mac/ThemeMac.mm:

(-[WebCoreFlippedView _focusRingVisibleRect]):
(-[WebCoreFlippedView _focusRingClipAncestor]):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r75353 r75357  
     12011-01-09  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        <rdar://problem/8765555> WebKit2: Search field focus ring is missing
     6
     7        Provide a focus ring visible rect to AppKit.
     8
     9        * platform/mac/ThemeMac.mm:
     10        (-[WebCoreFlippedView _focusRingVisibleRect]):
     11        (-[WebCoreFlippedView _focusRingClipAncestor]):
     12
    1132011-01-09  Dirk Schulze  <krit@webkit.org>
    214
  • trunk/Source/WebCore/platform/mac/ThemeMac.mm

    r68459 r75357  
    11/*
    2  * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved.
     2 * Copyright (C) 2008, 2010, 2011 Apple Inc. All Rights Reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    5353}
    5454
     55- (NSRect)_focusRingVisibleRect
     56{
     57    return [self visibleRect];
     58}
     59
     60- (NSView *)_focusRingClipAncestor
     61{
     62    return self;
     63}
     64
    5565@end
    5666
Note: See TracChangeset for help on using the changeset viewer.