| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ | 5 #ifndef UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ |
| 6 #define UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ | 6 #define UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // Mac's version of views::corewm::TooltipController::UpdateIfRequired(). | 73 // Mac's version of views::corewm::TooltipController::UpdateIfRequired(). |
| 74 // Updates the tooltip on the ToolTipBaseView if the text needs to change. | 74 // Updates the tooltip on the ToolTipBaseView if the text needs to change. |
| 75 // |locationInContent| is the position from the top left of the window's | 75 // |locationInContent| is the position from the top left of the window's |
| 76 // contentRect (also this NSView's frame), as given by a ui::LocatedEvent. | 76 // contentRect (also this NSView's frame), as given by a ui::LocatedEvent. |
| 77 - (void)updateTooltipIfRequiredAt:(const gfx::Point&)locationInContent; | 77 - (void)updateTooltipIfRequiredAt:(const gfx::Point&)locationInContent; |
| 78 | 78 |
| 79 // Update windowMask_ depending on the current view bounds. | 79 // Update windowMask_ depending on the current view bounds. |
| 80 - (void)updateWindowMask; | 80 - (void)updateWindowMask; |
| 81 | 81 |
| 82 // Notifies the associated FocusManager whether full keyboard access is enabled |
| 83 // or not. |
| 84 - (void)updateFullKeyboardAccess; |
| 85 |
| 82 @end | 86 @end |
| 83 | 87 |
| 84 #endif // UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ | 88 #endif // UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ |
| OLD | NEW |