Commit 6613efc1 authored by mattreynolds's avatar mattreynolds Committed by Commit bot

Fix iOS omnibox append button highlighted icon for RTL

The omnibox append button's normal (un-highlighted) image is correctly
reversed for RTL languages, but the imaged displayed when the button is
tapped is not.

BUG=678085

Review-Url: https://codereview.chromium.org/2606353004
Cr-Commit-Position: refs/heads/master@{#441418}
parent a067fd9d
...@@ -162,7 +162,8 @@ const CGFloat kAppendButtonTrailingMargin = 4; ...@@ -162,7 +162,8 @@ const CGFloat kAppendButtonTrailingMargin = 4;
int appendSelectedResourceID = int appendSelectedResourceID =
_incognito ? IDR_IOS_OMNIBOX_KEYBOARD_VIEW_APPEND_INCOGNITO_HIGHLIGHTED _incognito ? IDR_IOS_OMNIBOX_KEYBOARD_VIEW_APPEND_INCOGNITO_HIGHLIGHTED
: IDR_IOS_OMNIBOX_KEYBOARD_VIEW_APPEND_HIGHLIGHTED; : IDR_IOS_OMNIBOX_KEYBOARD_VIEW_APPEND_HIGHLIGHTED;
UIImage* appendImageSelected = NativeImage(appendSelectedResourceID); UIImage* appendImageSelected =
NativeReversableImage(appendSelectedResourceID, YES);
[_appendButton setImage:appendImageSelected [_appendButton setImage:appendImageSelected
forState:UIControlStateHighlighted]; forState:UIControlStateHighlighted];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment