Chromium Code Reviews
DescriptionFix content_setting_image_view compile on mac_views_browser
This broke in r361436 when adding vector icon support because methods
that the views code requires from the model were hidden on Mac. When
mac_views_browser=1 is set in GYP_DEFINES, the toolkit-views browser's
content_setting_image_view.cc is part of the build, and it wasn't able
to see methods such as ContentSettingImageModel::GetIcon() on Mac.
To use content_setting_image_view on Mac in the transition, it needs to
support both Views and Cocoa on Mac (at least for compiling).
BUG=425229
Committed: https://crrev.com/cbc7360e60b8f0983867c44a0813c6a08d693afc
Cr-Commit-Position: refs/heads/master@{#363820}
Patch Set 1 #Patch Set 2 : fix test #Patch Set 3 : rebase #Patch Set 4 : selfnit: update comment #Patch Set 5 : No real need for the other #defines either.. #
Total comments: 2
Patch Set 6 : Hide raster icons on non-Mac #
Total comments: 2
Messages
Total messages: 20 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||