Mac: Add default tooltip implementation (issue #770).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1119 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-03-04 22:18:39 +00:00
parent f250f9ccea
commit 944658ccbb
7 changed files with 249 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
@@ -303,6 +303,7 @@ class ClientOSRHandler : public CefClient,
tracking_area_ =
[[NSTrackingArea alloc] initWithRect:frame
options:NSTrackingMouseMoved |
NSTrackingMouseEnteredAndExited |
NSTrackingActiveInActiveApp |
NSTrackingInVisibleRect
owner:self