Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

Commit 0ffa650

Browse files
Lin SunOlli Raula
Lin Sun
authored and
Olli Raula
committed
Exclude media player's resources if use minimum resources
Exclude media player's resources for the flag use_minimum_resources. This patch is the backport from Crosswalk-lite
1 parent 5292f4e commit 0ffa650

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

public/blink_image_resources.grd

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<release seq="1">
1111
<structures fallback_to_low_resolution="true">
1212
<structure type="chrome_scaled_image" name="IDR_BROKENIMAGE" file="blink/broken_image.png" />
13+
<if expr="not pp_ifdef('use_minimum_resources')">
1314
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_PAUSE_BUTTON" file="blink/mediaplayer_pause.png" />
1415
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_PAUSE_BUTTON_HOVER" file="blink/mediaplayer_pause_hover.png" />
1516
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_PAUSE_BUTTON_DOWN" file="blink/mediaplayer_pause_down.png" />
@@ -49,6 +50,7 @@
4950
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_CAST_BUTTON_ON" file="blink/mediaplayer_cast_on.png" />
5051
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF" file="blink/mediaplayer_overlay_cast_off.png" />
5152
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON" file="blink/mediaplayer_overlay_play.png" />
53+
</if>
5254
<structure type="chrome_scaled_image" name="IDR_PAN_SCROLL_ICON" file="blink/pan_icon.png" />
5355
<structure type="chrome_scaled_image" name="IDR_SEARCH_CANCEL" file="blink/search_cancel.png" />
5456
<structure type="chrome_scaled_image" name="IDR_SEARCH_CANCEL_PRESSED" file="blink/search_cancel_pressed.png" />

0 commit comments

Comments
 (0)