forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant code from RWHVCocoa, move some code to RWHVNSViewBridge
Remove suppressNextEscapeKeyUp_ because its functionality is made redundant by keyDownCodes_. The escape-key-specific version was introduced in crrev.com/165615 while the generic version was introduced in crrev.com/304728. While in the -[NSView keyEvent:] method, replace repeated method calls with local variables in preparation for moving most of the funciton across an IPC boundary, and fold shouldAutohideCursorForEvent into the function (since it's called nowhere else). Move SetBackgroundColor and Show/Hide/IsHidden functionality into the RWHVNSViewBridge. Previously committed as crrev.com/545160 TBR=tapted (reviewed previous version, identical except for test fix) Bug: 821651 Change-Id: Ic7cab38ea46c25de7f9be1e5127e2a7b4bb2b52a Reviewed-on: https://chromium-review.googlesource.com/977227 Reviewed-by: ccameron <ccameron@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#545353}
- Loading branch information
1 parent
5264a45
commit 290d821
Showing
7 changed files
with
103 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.