• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebKit-7600.1.25/mac/WebView/

Lines Matching +refs:set +refs:mouse +refs:color

518 - (NSString *)_colorAsString:(NSColor *)color;
573 // Track whether the view has set a secure input state.
1296 // Pretend it's a mouse move.
1534 // 1) For right mouse clicks and control clicks we don't yet have an implementation
1537 // 2) Java depends on doing a hit test inside it's mouse moved handling,
1539 // when the current event is a mouse move (except when we are calling
1561 if (event != NULL && event.type == WebEventMouseDown && [self mouse:point inRect:[self frame]])
1578 // FIXME: Why doesn't this include mouse entered/exited events, or other mouse button events?
1595 if ([[self superview] mouse:point inRect:[self frame]])
1767 // If we are moving out of a view (or frame), let's pretend the mouse moved
1789 // We need to do a full, normal hit test during this mouse event if the page is active or if a mouse
1791 // newer when legacy scrollbars are enabled, because then WebKit receives mouse events all the time.
1792 // If it is one of those cases where the page is not active and the mouse is not pressed, then we can
1942 // a mouse up event.
2622 // FIXME: Maybe we should set things up so that all these share a single method implementation function.
2988 // or from calls back from WebCore once we begin mouse-down event handling.
3084 // Legacy scrollbars require tracking the mouse at all times.
3276 // Do a layout, but set up a new fixed width for the purposes of doing printing layout.
3342 // Don't set the menu item's action to the context menu action forwarder if we already
3512 [[NSColor clearColor] set];
3523 // called after the WebView has closed. If the client did not properly close the WebView and set the
3706 // Legacy style scrollbars have design details that rely on tracking the mouse all the time.
3737 // unless the parent window loses key. So we need to remove the mouse moved observer.
3879 // Record the mouse down position so we can determine drag hysteresis.
3884 // manager wants to handle mouse events, we need to make sure to
3998 // Once the dragging machinery kicks in, we no longer get mouse drags or the up event.
4708 - (NSString *)_colorAsString:(NSColor *)color
4710 NSColor *rgbColor = [color colorUsingColorSpaceName:NSDeviceRGBColorSpace];
4711 // FIXME: If color is non-nil and rgbColor is nil, that means we got some kind
4712 // of fancy color that can't be converted to RGB. Changing that to "transparent"
4740 NSColor *color = [shadow shadowColor];
4741 if (color == nil)
4745 return [NSString stringWithFormat:@"%@ %.0fpx %.0fpx", [self _colorAsString:color], offset.width, offset.height];
4746 return [NSString stringWithFormat:@"%@ %.0fpx %.0fpx %.0fpx", [self _colorAsString:color], offset.width, offset.height, blurRadius];
4753 NSColor *color = [dictionary objectForKey:NSBackgroundColorAttributeName];
4754 [style setBackgroundColor:[self _colorAsString:color]];
4779 color = [dictionary objectForKey:NSForegroundColorAttributeName];
4780 [style setColor:color ? [self _colorAsString:color] : (NSString *)@"black"];
5096 [style performSelector:selector withObject:[self _colorAsString:[[NSColorPanel sharedColorPanel] color]]];
5126 // Mimicking NSTextView, this method sets the background color for the
5128 // color on the selected range only. Note that this method is currently
5135 // need to save off the selection, temporarily set it to the entire range, make the change, then
5147 // NSTextView. However, this might not be required for Tiger, since the background-color
6246 Color color = Color::black;
6248 color = colorFromNSColor([colorAttr colorUsingColorSpaceName:NSDeviceRGBColorSpace]);
6249 result.append(CompositionUnderline(range.location, NSMaxRange(range), color, [style intValue] > 1));
6427 // - If it's sent outside of keyboard event processing (e.g. from Character Viewer, or when confirming an inline input area with a mouse),