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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 6676094: Fix for "Mouseovers follow the cursor even when there's a find bar in the way" (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <QuartzCore/CALayer.h> 10 #import <QuartzCore/CALayer.h>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Contains edit commands received by the -doCommandBySelector: method when 118 // Contains edit commands received by the -doCommandBySelector: method when
119 // handling a key down event, not including inserting commands, eg. insertTab, 119 // handling a key down event, not including inserting commands, eg. insertTab,
120 // etc. 120 // etc.
121 EditCommands editCommands_; 121 EditCommands editCommands_;
122 122
123 // The plugin that currently has focus (-1 if no plugin has focus). 123 // The plugin that currently has focus (-1 if no plugin has focus).
124 int focusedPluginIdentifier_; 124 int focusedPluginIdentifier_;
125 125
126 // Whether or not plugin IME is currently enabled active. 126 // Whether or not plugin IME is currently enabled active.
127 BOOL pluginImeActive_; 127 BOOL pluginImeActive_;
128
129 // Whether the previous mouse event was ignored due to hitTest check.
130 BOOL mouseEventWasIgnored_;
128 } 131 }
129 132
130 @property(assign, nonatomic) NSRect caretRect; 133 @property(assign, nonatomic) NSRect caretRect;
131 134
132 - (void)setCanBeKeyView:(BOOL)can; 135 - (void)setCanBeKeyView:(BOOL)can;
133 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b; 136 - (void)setTakesFocusOnlyOnMouseDown:(BOOL)b;
134 - (void)setCloseOnDeactivate:(BOOL)b; 137 - (void)setCloseOnDeactivate:(BOOL)b;
135 - (void)setToolTipAtMousePoint:(NSString *)string; 138 - (void)setToolTipAtMousePoint:(NSString *)string;
136 // Set frame, then notify the RenderWidgetHost that the frame has been changed, 139 // Set frame, then notify the RenderWidgetHost that the frame has been changed,
137 // but do it in a separate task, using |performSelector:withObject:afterDelay:|. 140 // but do it in a separate task, using |performSelector:withObject:afterDelay:|.
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 382
380 // When rendering transitions from gpu to software, the gpu widget can't be 383 // When rendering transitions from gpu to software, the gpu widget can't be
381 // hidden until the software backing store has been updated. This variable is 384 // hidden until the software backing store has been updated. This variable is
382 // set when the gpu widget needs to be hidden once a paint is completed. 385 // set when the gpu widget needs to be hidden once a paint is completed.
383 bool needs_gpu_visibility_update_after_repaint_; 386 bool needs_gpu_visibility_update_after_repaint_;
384 387
385 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
386 }; 389 };
387 390
388 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 391 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698