summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android_webview/android_webview.gyp2
-rw-r--r--chrome/BUILD.gn6
-rw-r--r--chrome/chrome_repack_chrome_100_percent.gypi1
-rw-r--r--chrome/chrome_repack_chrome_200_percent.gypi1
-rw-r--r--chrome/chrome_repack_resources.gypi2
-rw-r--r--chromecast/chromecast.gyp2
-rw-r--r--content/app/resources/content_resources.grd48
-rw-r--r--content/app/resources/default_100_percent/broken_image.pngbin0 -> 448 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_cast_off.pngbin0 -> 37155 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_cast_on.pngbin0 -> 37155 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_closedcaption.pngbin0 -> 2499 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_closedcaption_disabled.pngbin0 -> 2764 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_closedcaption_down.pngbin0 -> 8520 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_closedcaption_hover.pngbin0 -> 7995 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_fullscreen.pngbin0 -> 1116 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_fullscreen_disabled.pngbin0 -> 780 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_fullscreen_down.pngbin0 -> 4844 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_fullscreen_hover.pngbin0 -> 4649 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_overlay_cast_off.pngbin0 -> 1293 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_overlay_play.pngbin0 -> 1243 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_pause.pngbin0 -> 814 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_pause_down.pngbin0 -> 4687 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_pause_hover.pngbin0 -> 4507 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_play.pngbin0 -> 1243 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_play_disabled.pngbin0 -> 1007 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_play_down.pngbin0 -> 5591 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_play_hover.pngbin0 -> 5434 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_slider_thumb.pngbin0 -> 4035 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_slider_thumb_down.pngbin0 -> 5450 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_slider_thumb_hover.pngbin0 -> 5294 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_disabled.pngbin0 -> 1283 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level0.pngbin0 -> 1051 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level0_down.pngbin0 -> 10516 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level0_hover.pngbin0 -> 10396 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level1.pngbin0 -> 962 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level1_down.pngbin0 -> 5440 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level1_hover.pngbin0 -> 5257 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level2.pngbin0 -> 1263 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level2_down.pngbin0 -> 10327 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level2_hover.pngbin0 -> 10113 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level3.pngbin0 -> 1669 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level3_down.pngbin0 -> 12290 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_sound_level3_hover.pngbin0 -> 12122 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb.pngbin0 -> 3749 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_disabled.pngbin0 -> 2516 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_down.pngbin0 -> 4941 bytes
-rw-r--r--content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_hover.pngbin0 -> 4773 bytes
-rw-r--r--content/app/resources/default_100_percent/pan_icon.pngbin0 -> 136 bytes
-rw-r--r--content/app/resources/default_100_percent/password_generation.pngbin0 -> 407 bytes
-rw-r--r--content/app/resources/default_100_percent/password_generation_hover.pngbin0 -> 408 bytes
-rw-r--r--content/app/resources/default_100_percent/search_cancel.pngbin0 -> 744 bytes
-rw-r--r--content/app/resources/default_100_percent/search_cancel_pressed.pngbin0 -> 761 bytes
-rw-r--r--content/app/resources/default_100_percent/search_magnifier.pngbin0 -> 872 bytes
-rw-r--r--content/app/resources/default_100_percent/search_magnifier_results.pngbin0 -> 1040 bytes
-rw-r--r--content/app/resources/default_100_percent/textarea_resize_corner.pngbin0 -> 92 bytes
-rw-r--r--content/app/resources/default_200_percent/broken_image.pngbin0 -> 810 bytes
-rw-r--r--content/app/resources/default_200_percent/pan_icon.pngbin0 -> 141 bytes
-rw-r--r--content/app/resources/default_200_percent/textarea_resize_corner.pngbin0 -> 147 bytes
-rw-r--r--content/child/blink_platform_impl.cc100
-rw-r--r--content/content_shell.gypi2
-rw-r--r--content/shell/BUILD.gn2
-rw-r--r--content/shell/common/shell_content_client.cc5
-rw-r--r--extensions/BUILD.gn2
-rw-r--r--extensions/extensions.gyp2
-rw-r--r--mojo/services/html_viewer/BUILD.gn3
-rw-r--r--mojo/services/html_viewer/blink_resource_constants.h56
-rw-r--r--mojo/services/html_viewer/generate_blink_resource_map.py5
-rw-r--r--tools/gritsettings/resource_ids4
68 files changed, 117 insertions, 126 deletions
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp
index ca004138..e78dabe 100644
--- a/android_webview/android_webview.gyp
+++ b/android_webview/android_webview.gyp
@@ -20,7 +20,7 @@
'action_name': 'repack_android_webview_pack',
'variables': {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index c4ca42f..f6bb6b7 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -484,6 +484,7 @@ repack("packed_extra_resources") {
}
if (!is_ios) {
sources += [
+ "$root_gen_dir/blink/public/resources/blink_resources.pak",
"$root_gen_dir/content/browser/tracing/tracing_resources.pak",
"$root_gen_dir/content/content_resources.pak",
]
@@ -586,10 +587,7 @@ template("chrome_repack_percent") {
]
if (!is_ios) {
- sources += [
- "$root_gen_dir/blink/public/resources/blink_resources_${percent}_percent.pak",
- "$root_gen_dir/content/app/resources/content_resources_${percent}_percent.pak",
- ]
+ sources += [ "$root_gen_dir/content/app/resources/content_resources_${percent}_percent.pak" ]
deps += [ "//content:resources" ]
}
if (use_ash) {
diff --git a/chrome/chrome_repack_chrome_100_percent.gypi b/chrome/chrome_repack_chrome_100_percent.gypi
index ded84b0b..c585684 100644
--- a/chrome/chrome_repack_chrome_100_percent.gypi
+++ b/chrome/chrome_repack_chrome_100_percent.gypi
@@ -15,7 +15,6 @@
'conditions': [
['OS != "ios"', {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
],
}],
diff --git a/chrome/chrome_repack_chrome_200_percent.gypi b/chrome/chrome_repack_chrome_200_percent.gypi
index 5257327..2aff0e5 100644
--- a/chrome/chrome_repack_chrome_200_percent.gypi
+++ b/chrome/chrome_repack_chrome_200_percent.gypi
@@ -15,7 +15,6 @@
'conditions': [
['OS != "ios"', {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_200_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_200_percent.pak',
],
}],
diff --git a/chrome/chrome_repack_resources.gypi b/chrome/chrome_repack_resources.gypi
index 26a88e6..1cc88e5 100644
--- a/chrome/chrome_repack_resources.gypi
+++ b/chrome/chrome_repack_resources.gypi
@@ -29,7 +29,7 @@
}],
['OS != "ios"', {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
],
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index 32ceb8b..98df0ee 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -122,7 +122,7 @@
'action_name': 'repack_cast_shell_pak',
'variables': {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/chromecast/shell_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
diff --git a/content/app/resources/content_resources.grd b/content/app/resources/content_resources.grd
index 75913e3..9e90cd5 100644
--- a/content/app/resources/content_resources.grd
+++ b/content/app/resources/content_resources.grd
@@ -9,6 +9,46 @@
</outputs>
<release seq="1">
<structures fallback_to_low_resolution="true">
+ <structure type="chrome_scaled_image" name="IDR2_BROKENIMAGE" file="broken_image.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PAUSE_BUTTON" file="mediaplayer_pause.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PAUSE_BUTTON_HOVER" file="mediaplayer_pause_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PAUSE_BUTTON_DOWN" file="mediaplayer_pause_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PLAY_BUTTON" file="mediaplayer_play.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PLAY_BUTTON_HOVER" file="mediaplayer_play_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PLAY_BUTTON_DOWN" file="mediaplayer_play_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_PLAY_BUTTON_DISABLED" file="mediaplayer_play_disabled.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON" file="mediaplayer_sound_level3.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER" file="mediaplayer_sound_level3_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN" file="mediaplayer_sound_level3_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON" file="mediaplayer_sound_level2.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER" file="mediaplayer_sound_level2_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN" file="mediaplayer_sound_level2_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON" file="mediaplayer_sound_level1.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER" file="mediaplayer_sound_level1_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN" file="mediaplayer_sound_level1_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON" file="mediaplayer_sound_level0.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER" file="mediaplayer_sound_level0_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN" file="mediaplayer_sound_level0_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SOUND_DISABLED" file="mediaplayer_sound_disabled.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SLIDER_THUMB" file="mediaplayer_slider_thumb.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SLIDER_THUMB_HOVER" file="mediaplayer_slider_thumb_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_SLIDER_THUMB_DOWN" file="mediaplayer_slider_thumb_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB" file="mediaplayer_volume_slider_thumb.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER" file="mediaplayer_volume_slider_thumb_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN" file="mediaplayer_volume_slider_thumb_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED" file="mediaplayer_volume_slider_thumb_disabled.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON" file="mediaplayer_closedcaption.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER" file="mediaplayer_closedcaption_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN" file="mediaplayer_closedcaption_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED" file="mediaplayer_closedcaption_disabled.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON" file="mediaplayer_fullscreen.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER" file="mediaplayer_fullscreen_hover.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN" file="mediaplayer_fullscreen_down.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED" file="mediaplayer_fullscreen_disabled.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CAST_BUTTON_OFF" file="mediaplayer_cast_off.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_CAST_BUTTON_ON" file="mediaplayer_cast_on.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF" file="mediaplayer_overlay_cast_off.png" />
+ <structure type="chrome_scaled_image" name="IDR2_MEDIAPLAYER_OVERLAY_PLAY_BUTTON" file="mediaplayer_overlay_play.png" />
<if expr="is_macosx">
<structure type="chrome_scaled_image" name="IDR_ALIAS_CURSOR" file="alias_cursor.png" />
<structure type="chrome_scaled_image" name="IDR_CELL_CURSOR" file="cell_cursor.png" />
@@ -34,6 +74,14 @@
<structure type="chrome_scaled_image" name="IDR_ZOOMIN_CURSOR" file="zoom_in_cursor.png" />
<structure type="chrome_scaled_image" name="IDR_ZOOMOUT_CURSOR" file="zoom_out_cursor.png" />
</if>
+ <structure type="chrome_scaled_image" name="IDR2_PAN_SCROLL_ICON" file="pan_icon.png" />
+ <structure type="chrome_scaled_image" name="IDR2_SEARCH_CANCEL" file="search_cancel.png" />
+ <structure type="chrome_scaled_image" name="IDR2_SEARCH_CANCEL_PRESSED" file="search_cancel_pressed.png" />
+ <structure type="chrome_scaled_image" name="IDR2_SEARCH_MAGNIFIER" file="search_magnifier.png" />
+ <structure type="chrome_scaled_image" name="IDR2_SEARCH_MAGNIFIER_RESULTS" file="search_magnifier_results.png" />
+ <structure type="chrome_scaled_image" name="IDR2_TEXTAREA_RESIZER" file="textarea_resize_corner.png" />
+ <structure type="chrome_scaled_image" name="IDR2_PASSWORD_GENERATION_ICON" file="password_generation.png" />
+ <structure type="chrome_scaled_image" name="IDR2_PASSWORD_GENERATION_ICON_HOVER" file="password_generation_hover.png" />
</structures>
</release>
</grit>
diff --git a/content/app/resources/default_100_percent/broken_image.png b/content/app/resources/default_100_percent/broken_image.png
new file mode 100644
index 0000000..ad76cc1
--- /dev/null
+++ b/content/app/resources/default_100_percent/broken_image.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_cast_off.png b/content/app/resources/default_100_percent/mediaplayer_cast_off.png
new file mode 100644
index 0000000..050022d
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_cast_off.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_cast_on.png b/content/app/resources/default_100_percent/mediaplayer_cast_on.png
new file mode 100644
index 0000000..4f24bf9
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_cast_on.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_closedcaption.png b/content/app/resources/default_100_percent/mediaplayer_closedcaption.png
new file mode 100644
index 0000000..a92b3d2
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_closedcaption.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_closedcaption_disabled.png b/content/app/resources/default_100_percent/mediaplayer_closedcaption_disabled.png
new file mode 100644
index 0000000..7ac1a89
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_closedcaption_disabled.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_closedcaption_down.png b/content/app/resources/default_100_percent/mediaplayer_closedcaption_down.png
new file mode 100644
index 0000000..60da8a2
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_closedcaption_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_closedcaption_hover.png b/content/app/resources/default_100_percent/mediaplayer_closedcaption_hover.png
new file mode 100644
index 0000000..a3e069f
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_closedcaption_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_fullscreen.png b/content/app/resources/default_100_percent/mediaplayer_fullscreen.png
new file mode 100644
index 0000000..713a877
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_fullscreen.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_fullscreen_disabled.png b/content/app/resources/default_100_percent/mediaplayer_fullscreen_disabled.png
new file mode 100644
index 0000000..f0958a6
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_fullscreen_disabled.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_fullscreen_down.png b/content/app/resources/default_100_percent/mediaplayer_fullscreen_down.png
new file mode 100644
index 0000000..3a6cd5d
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_fullscreen_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_fullscreen_hover.png b/content/app/resources/default_100_percent/mediaplayer_fullscreen_hover.png
new file mode 100644
index 0000000..38e3330
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_fullscreen_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_overlay_cast_off.png b/content/app/resources/default_100_percent/mediaplayer_overlay_cast_off.png
new file mode 100644
index 0000000..e16f58e
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_overlay_cast_off.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_overlay_play.png b/content/app/resources/default_100_percent/mediaplayer_overlay_play.png
new file mode 100644
index 0000000..cfd48d7
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_overlay_play.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_pause.png b/content/app/resources/default_100_percent/mediaplayer_pause.png
new file mode 100644
index 0000000..b488e97
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_pause.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_pause_down.png b/content/app/resources/default_100_percent/mediaplayer_pause_down.png
new file mode 100644
index 0000000..bf754e9
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_pause_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_pause_hover.png b/content/app/resources/default_100_percent/mediaplayer_pause_hover.png
new file mode 100644
index 0000000..ac3334c
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_pause_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_play.png b/content/app/resources/default_100_percent/mediaplayer_play.png
new file mode 100644
index 0000000..1e53d43
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_play.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_play_disabled.png b/content/app/resources/default_100_percent/mediaplayer_play_disabled.png
new file mode 100644
index 0000000..8e12200
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_play_disabled.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_play_down.png b/content/app/resources/default_100_percent/mediaplayer_play_down.png
new file mode 100644
index 0000000..fa6a243
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_play_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_play_hover.png b/content/app/resources/default_100_percent/mediaplayer_play_hover.png
new file mode 100644
index 0000000..a71c2f3
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_play_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_slider_thumb.png b/content/app/resources/default_100_percent/mediaplayer_slider_thumb.png
new file mode 100644
index 0000000..4cc24d1
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_slider_thumb.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_slider_thumb_down.png b/content/app/resources/default_100_percent/mediaplayer_slider_thumb_down.png
new file mode 100644
index 0000000..483101d
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_slider_thumb_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_slider_thumb_hover.png b/content/app/resources/default_100_percent/mediaplayer_slider_thumb_hover.png
new file mode 100644
index 0000000..2a96842
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_slider_thumb_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_disabled.png b/content/app/resources/default_100_percent/mediaplayer_sound_disabled.png
new file mode 100644
index 0000000..38fa4ba
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_disabled.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level0.png b/content/app/resources/default_100_percent/mediaplayer_sound_level0.png
new file mode 100644
index 0000000..22d6a10
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level0.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level0_down.png b/content/app/resources/default_100_percent/mediaplayer_sound_level0_down.png
new file mode 100644
index 0000000..d956e58
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level0_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level0_hover.png b/content/app/resources/default_100_percent/mediaplayer_sound_level0_hover.png
new file mode 100644
index 0000000..56214a1
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level0_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level1.png b/content/app/resources/default_100_percent/mediaplayer_sound_level1.png
new file mode 100644
index 0000000..2c6809a
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level1.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level1_down.png b/content/app/resources/default_100_percent/mediaplayer_sound_level1_down.png
new file mode 100644
index 0000000..faa1888
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level1_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level1_hover.png b/content/app/resources/default_100_percent/mediaplayer_sound_level1_hover.png
new file mode 100644
index 0000000..1fdaf21
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level1_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level2.png b/content/app/resources/default_100_percent/mediaplayer_sound_level2.png
new file mode 100644
index 0000000..e98c51d
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level2.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level2_down.png b/content/app/resources/default_100_percent/mediaplayer_sound_level2_down.png
new file mode 100644
index 0000000..37f5d76
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level2_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level2_hover.png b/content/app/resources/default_100_percent/mediaplayer_sound_level2_hover.png
new file mode 100644
index 0000000..e44356b
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level2_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level3.png b/content/app/resources/default_100_percent/mediaplayer_sound_level3.png
new file mode 100644
index 0000000..05caa64
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level3.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level3_down.png b/content/app/resources/default_100_percent/mediaplayer_sound_level3_down.png
new file mode 100644
index 0000000..db38404
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level3_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_sound_level3_hover.png b/content/app/resources/default_100_percent/mediaplayer_sound_level3_hover.png
new file mode 100644
index 0000000..838b07f
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_sound_level3_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb.png b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb.png
new file mode 100644
index 0000000..c4620f5
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_disabled.png b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_disabled.png
new file mode 100644
index 0000000..d32434b
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_disabled.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_down.png b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_down.png
new file mode 100644
index 0000000..98ee850
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_down.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_hover.png b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_hover.png
new file mode 100644
index 0000000..93cca9b
--- /dev/null
+++ b/content/app/resources/default_100_percent/mediaplayer_volume_slider_thumb_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/pan_icon.png b/content/app/resources/default_100_percent/pan_icon.png
new file mode 100644
index 0000000..e07d962
--- /dev/null
+++ b/content/app/resources/default_100_percent/pan_icon.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/password_generation.png b/content/app/resources/default_100_percent/password_generation.png
new file mode 100644
index 0000000..2b45ac3
--- /dev/null
+++ b/content/app/resources/default_100_percent/password_generation.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/password_generation_hover.png b/content/app/resources/default_100_percent/password_generation_hover.png
new file mode 100644
index 0000000..a832cdc
--- /dev/null
+++ b/content/app/resources/default_100_percent/password_generation_hover.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/search_cancel.png b/content/app/resources/default_100_percent/search_cancel.png
new file mode 100644
index 0000000..1291bf8
--- /dev/null
+++ b/content/app/resources/default_100_percent/search_cancel.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/search_cancel_pressed.png b/content/app/resources/default_100_percent/search_cancel_pressed.png
new file mode 100644
index 0000000..4abc0fd
--- /dev/null
+++ b/content/app/resources/default_100_percent/search_cancel_pressed.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/search_magnifier.png b/content/app/resources/default_100_percent/search_magnifier.png
new file mode 100644
index 0000000..0aea5da
--- /dev/null
+++ b/content/app/resources/default_100_percent/search_magnifier.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/search_magnifier_results.png b/content/app/resources/default_100_percent/search_magnifier_results.png
new file mode 100644
index 0000000..2f773c06
--- /dev/null
+++ b/content/app/resources/default_100_percent/search_magnifier_results.png
Binary files differ
diff --git a/content/app/resources/default_100_percent/textarea_resize_corner.png b/content/app/resources/default_100_percent/textarea_resize_corner.png
new file mode 100644
index 0000000..a379bdd
--- /dev/null
+++ b/content/app/resources/default_100_percent/textarea_resize_corner.png
Binary files differ
diff --git a/content/app/resources/default_200_percent/broken_image.png b/content/app/resources/default_200_percent/broken_image.png
new file mode 100644
index 0000000..45edebc
--- /dev/null
+++ b/content/app/resources/default_200_percent/broken_image.png
Binary files differ
diff --git a/content/app/resources/default_200_percent/pan_icon.png b/content/app/resources/default_200_percent/pan_icon.png
new file mode 100644
index 0000000..d9c0c15
--- /dev/null
+++ b/content/app/resources/default_200_percent/pan_icon.png
Binary files differ
diff --git a/content/app/resources/default_200_percent/textarea_resize_corner.png b/content/app/resources/default_200_percent/textarea_resize_corner.png
new file mode 100644
index 0000000..77fa3ca
--- /dev/null
+++ b/content/app/resources/default_200_percent/textarea_resize_corner.png
Binary files differ
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index db0ba13..92bef2e 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -738,95 +738,95 @@ struct DataResource {
};
const DataResource kDataResources[] = {
- { "missingImage", IDR_BROKENIMAGE, ui::SCALE_FACTOR_100P },
- { "missingImage@2x", IDR_BROKENIMAGE, ui::SCALE_FACTOR_200P },
- { "mediaplayerPause", IDR_MEDIAPLAYER_PAUSE_BUTTON, ui::SCALE_FACTOR_100P },
+ { "missingImage", IDR2_BROKENIMAGE, ui::SCALE_FACTOR_100P },
+ { "missingImage@2x", IDR2_BROKENIMAGE, ui::SCALE_FACTOR_200P },
+ { "mediaplayerPause", IDR2_MEDIAPLAYER_PAUSE_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerPauseHover",
- IDR_MEDIAPLAYER_PAUSE_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_PAUSE_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerPauseDown",
- IDR_MEDIAPLAYER_PAUSE_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
- { "mediaplayerPlay", IDR_MEDIAPLAYER_PLAY_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_PAUSE_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ { "mediaplayerPlay", IDR2_MEDIAPLAYER_PLAY_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerPlayHover",
- IDR_MEDIAPLAYER_PLAY_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_PLAY_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerPlayDown",
- IDR_MEDIAPLAYER_PLAY_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_PLAY_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerPlayDisabled",
- IDR_MEDIAPLAYER_PLAY_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_PLAY_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel3",
- IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel3Hover",
- IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel3Down",
- IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel2",
- IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel2Hover",
- IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel2Down",
- IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel1",
- IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel1Hover",
- IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel1Down",
- IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel0",
- IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel0Hover",
- IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundLevel0Down",
- IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerSoundDisabled",
- IDR_MEDIAPLAYER_SOUND_DISABLED, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SOUND_DISABLED, ui::SCALE_FACTOR_100P },
{ "mediaplayerSliderThumb",
- IDR_MEDIAPLAYER_SLIDER_THUMB, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SLIDER_THUMB, ui::SCALE_FACTOR_100P },
{ "mediaplayerSliderThumbHover",
- IDR_MEDIAPLAYER_SLIDER_THUMB_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SLIDER_THUMB_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerSliderThumbDown",
- IDR_MEDIAPLAYER_SLIDER_THUMB_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_SLIDER_THUMB_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerVolumeSliderThumb",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB, ui::SCALE_FACTOR_100P },
{ "mediaplayerVolumeSliderThumbHover",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerVolumeSliderThumbDown",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerVolumeSliderThumbDisabled",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED, ui::SCALE_FACTOR_100P },
{ "mediaplayerClosedCaption",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerClosedCaptionHover",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerClosedCaptionDown",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerClosedCaptionDisabled",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
{ "mediaplayerFullscreen",
- IDR_MEDIAPLAYER_FULLSCREEN_BUTTON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON, ui::SCALE_FACTOR_100P },
{ "mediaplayerFullscreenHover",
- IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER, ui::SCALE_FACTOR_100P },
{ "mediaplayerFullscreenDown",
- IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN, ui::SCALE_FACTOR_100P },
{ "mediaplayerCastOff",
- IDR_MEDIAPLAYER_CAST_BUTTON_OFF, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CAST_BUTTON_OFF, ui::SCALE_FACTOR_100P },
{ "mediaplayerCastOn",
- IDR_MEDIAPLAYER_CAST_BUTTON_ON, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_CAST_BUTTON_ON, ui::SCALE_FACTOR_100P },
{ "mediaplayerFullscreenDisabled",
- IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED, ui::SCALE_FACTOR_100P },
{ "mediaplayerOverlayCastOff",
- IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF, ui::SCALE_FACTOR_100P },
{ "mediaplayerOverlayPlay",
- IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON, ui::SCALE_FACTOR_100P },
- { "panIcon", IDR_PAN_SCROLL_ICON, ui::SCALE_FACTOR_100P },
- { "searchCancel", IDR_SEARCH_CANCEL, ui::SCALE_FACTOR_100P },
- { "searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED, ui::SCALE_FACTOR_100P },
- { "searchMagnifier", IDR_SEARCH_MAGNIFIER, ui::SCALE_FACTOR_100P },
+ IDR2_MEDIAPLAYER_OVERLAY_PLAY_BUTTON, ui::SCALE_FACTOR_100P },
+ { "panIcon", IDR2_PAN_SCROLL_ICON, ui::SCALE_FACTOR_100P },
+ { "searchCancel", IDR2_SEARCH_CANCEL, ui::SCALE_FACTOR_100P },
+ { "searchCancelPressed", IDR2_SEARCH_CANCEL_PRESSED, ui::SCALE_FACTOR_100P },
+ { "searchMagnifier", IDR2_SEARCH_MAGNIFIER, ui::SCALE_FACTOR_100P },
{ "searchMagnifierResults",
- IDR_SEARCH_MAGNIFIER_RESULTS, ui::SCALE_FACTOR_100P },
- { "textAreaResizeCorner", IDR_TEXTAREA_RESIZER, ui::SCALE_FACTOR_100P },
- { "textAreaResizeCorner@2x", IDR_TEXTAREA_RESIZER, ui::SCALE_FACTOR_200P },
- { "generatePassword", IDR_PASSWORD_GENERATION_ICON, ui::SCALE_FACTOR_100P },
+ IDR2_SEARCH_MAGNIFIER_RESULTS, ui::SCALE_FACTOR_100P },
+ { "textAreaResizeCorner", IDR2_TEXTAREA_RESIZER, ui::SCALE_FACTOR_100P },
+ { "textAreaResizeCorner@2x", IDR2_TEXTAREA_RESIZER, ui::SCALE_FACTOR_200P },
+ { "generatePassword", IDR2_PASSWORD_GENERATION_ICON, ui::SCALE_FACTOR_100P },
{ "generatePasswordHover",
- IDR_PASSWORD_GENERATION_ICON_HOVER, ui::SCALE_FACTOR_100P },
+ IDR2_PASSWORD_GENERATION_ICON_HOVER, ui::SCALE_FACTOR_100P },
{ "html.css", IDR_UASTYLE_HTML_CSS, ui::SCALE_FACTOR_NONE },
{ "quirks.css", IDR_UASTYLE_QUIRKS_CSS, ui::SCALE_FACTOR_NONE },
{ "view-source.css", IDR_UASTYLE_VIEW_SOURCE_CSS, ui::SCALE_FACTOR_NONE },
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index c592ede..7339490 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -500,7 +500,7 @@
'action_name': 'repack_content_shell_pack',
'variables': {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak',
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index 87d31bf..96cee7c 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -452,7 +452,7 @@ group("resources") {
repack("pak") {
sources = [
- "$root_gen_dir/blink/public/resources/blink_resources_100_percent.pak",
+ "$root_gen_dir/blink/public/resources/blink_resources.pak",
"$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
"$root_gen_dir/content/app/strings/content_strings_en-US.pak",
"$root_gen_dir/content/browser/tracing/tracing_resources.pak",
diff --git a/content/shell/common/shell_content_client.cc b/content/shell/common/shell_content_client.cc
index a438823..9b9781d 100644
--- a/content/shell/common/shell_content_client.cc
+++ b/content/shell/common/shell_content_client.cc
@@ -7,7 +7,6 @@
#include "base/command_line.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversions.h"
-#include "blink/public/resources/grit/blink_resources.h"
#include "content/app/resources/grit/content_resources.h"
#include "content/app/strings/grit/content_strings.h"
#include "content/public/common/content_switches.h"
@@ -65,7 +64,7 @@ base::StringPiece ShellContentClient::GetDataResource(
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kRunLayoutTest)) {
switch (resource_id) {
- case IDR_BROKENIMAGE:
+ case IDR2_BROKENIMAGE:
#if defined(OS_MACOSX)
resource_id = IDR_CONTENT_SHELL_MISSING_IMAGE_PNG;
#else
@@ -73,7 +72,7 @@ base::StringPiece ShellContentClient::GetDataResource(
#endif
break;
- case IDR_TEXTAREA_RESIZER:
+ case IDR2_TEXTAREA_RESIZER:
resource_id = IDR_CONTENT_SHELL_TEXT_AREA_RESIZE_CORNER_PNG;
break;
}
diff --git a/extensions/BUILD.gn b/extensions/BUILD.gn
index 73879f5..ad3960a 100644
--- a/extensions/BUILD.gn
+++ b/extensions/BUILD.gn
@@ -99,7 +99,7 @@ source_set("test_support") {
repack("shell_and_test_pak") {
sources = [
"$root_gen_dir/blink/devtools_resources.pak",
- "$root_gen_dir/blink/public/resources/blink_resources_100_percent.pak",
+ "$root_gen_dir/blink/public/resources/blink_resources.pak",
"$root_gen_dir/content/app/strings/content_strings_en-US.pak",
"$root_gen_dir/content/content_resources.pak",
"$root_gen_dir/content/shell/shell_resources.pak",
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index e52dfe6..797d4cc 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -289,7 +289,7 @@
'action_name': 'repack_extensions_shell_and_test_pak',
'variables': {
'pak_inputs': [
- '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources_100_percent.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
diff --git a/mojo/services/html_viewer/BUILD.gn b/mojo/services/html_viewer/BUILD.gn
index e470e51..b776d38 100644
--- a/mojo/services/html_viewer/BUILD.gn
+++ b/mojo/services/html_viewer/BUILD.gn
@@ -10,8 +10,7 @@ action("generate_blink_resource_map") {
script = "//mojo/services/html_viewer/generate_blink_resource_map.py"
args = [
"--pak-file",
- rebase_path(
- "$root_out_dir/gen/blink/public/resources/blink_resources_100_percent.pak"),
+ rebase_path("$root_out_dir/gen/blink/public/resources/blink_resources.pak"),
"--header",
rebase_path("$target_gen_dir/blink_resource_map.h"),
"--cpp",
diff --git a/mojo/services/html_viewer/blink_resource_constants.h b/mojo/services/html_viewer/blink_resource_constants.h
index 0091b03..c51afdf 100644
--- a/mojo/services/html_viewer/blink_resource_constants.h
+++ b/mojo/services/html_viewer/blink_resource_constants.h
@@ -15,62 +15,6 @@ struct DataResource {
};
const DataResource kDataResources[] = {
- {"missingImage", IDR_BROKENIMAGE},
- // Skipping missingImage@2x
- {"mediaplayerPause", IDR_MEDIAPLAYER_PAUSE_BUTTON},
- {"mediaplayerPauseHover", IDR_MEDIAPLAYER_PAUSE_BUTTON_HOVER},
- {"mediaplayerPauseDown", IDR_MEDIAPLAYER_PAUSE_BUTTON_DOWN},
- {"mediaplayerPlay", IDR_MEDIAPLAYER_PLAY_BUTTON},
- {"mediaplayerPlayHover", IDR_MEDIAPLAYER_PLAY_BUTTON_HOVER},
- {"mediaplayerPlayDown", IDR_MEDIAPLAYER_PLAY_BUTTON_DOWN},
- {"mediaplayerPlayDisabled", IDR_MEDIAPLAYER_PLAY_BUTTON_DISABLED},
- {"mediaplayerSoundLevel3", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON},
- {"mediaplayerSoundLevel3Hover", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER},
- {"mediaplayerSoundLevel3Down", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN},
- {"mediaplayerSoundLevel2", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON},
- {"mediaplayerSoundLevel2Hover", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER},
- {"mediaplayerSoundLevel2Down", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN},
- {"mediaplayerSoundLevel1", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON},
- {"mediaplayerSoundLevel1Hover", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER},
- {"mediaplayerSoundLevel1Down", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN},
- {"mediaplayerSoundLevel0", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON},
- {"mediaplayerSoundLevel0Hover", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER},
- {"mediaplayerSoundLevel0Down", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN},
- {"mediaplayerSoundDisabled", IDR_MEDIAPLAYER_SOUND_DISABLED},
- {"mediaplayerSliderThumb", IDR_MEDIAPLAYER_SLIDER_THUMB},
- {"mediaplayerSliderThumbHover", IDR_MEDIAPLAYER_SLIDER_THUMB_HOVER},
- {"mediaplayerSliderThumbDown", IDR_MEDIAPLAYER_SLIDER_THUMB_DOWN},
- {"mediaplayerVolumeSliderThumb", IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB},
- {"mediaplayerVolumeSliderThumbHover",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER},
- {"mediaplayerVolumeSliderThumbDown",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN},
- {"mediaplayerVolumeSliderThumbDisabled",
- IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED},
- {"mediaplayerClosedCaption", IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON},
- {"mediaplayerClosedCaptionHover",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER},
- {"mediaplayerClosedCaptionDown", IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN},
- {"mediaplayerClosedCaptionDisabled",
- IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED},
- {"mediaplayerFullscreen", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON},
- {"mediaplayerFullscreenHover", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER},
- {"mediaplayerFullscreenDown", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN},
- {"mediaplayerCastOff", IDR_MEDIAPLAYER_CAST_BUTTON_OFF},
- {"mediaplayerCastOn", IDR_MEDIAPLAYER_CAST_BUTTON_ON},
- {"mediaplayerFullscreenDisabled",
- IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED},
- {"mediaplayerOverlayCastOff", IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF},
- {"mediaplayerOverlayPlay", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON},
- {"panIcon", IDR_PAN_SCROLL_ICON},
- {"searchCancel", IDR_SEARCH_CANCEL},
- {"searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED},
- {"searchMagnifier", IDR_SEARCH_MAGNIFIER},
- {"searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS},
- {"textAreaResizeCorner", IDR_TEXTAREA_RESIZER},
- // Skipping "textAreaResizeCorner@2x"
- {"generatePassword", IDR_PASSWORD_GENERATION_ICON},
- {"generatePasswordHover", IDR_PASSWORD_GENERATION_ICON_HOVER},
{"html.css", IDR_UASTYLE_HTML_CSS},
{"quirks.css", IDR_UASTYLE_QUIRKS_CSS},
{"view-source.css", IDR_UASTYLE_VIEW_SOURCE_CSS},
diff --git a/mojo/services/html_viewer/generate_blink_resource_map.py b/mojo/services/html_viewer/generate_blink_resource_map.py
index 5275d01..4044154 100644
--- a/mojo/services/html_viewer/generate_blink_resource_map.py
+++ b/mojo/services/html_viewer/generate_blink_resource_map.py
@@ -17,6 +17,9 @@ except ImportError, e:
print 'ImportError: ', e
sys.exit(-1)
+def is_ascii(s):
+ return all(ord(c) < 128 for c in s)
+
header_template = \
"""// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
@@ -114,6 +117,8 @@ def main():
definitions = []
for (resId, data) in pak_contents.resources.iteritems():
+ if not is_ascii(data):
+ continue
resourceIds.append(resId)
hex_values = ['0x{0:02x}'.format(ord(char)) for char in data]
f = lambda A, n=12: [A[i:i+n] for i in range(0, len(A), n)]
diff --git a/tools/gritsettings/resource_ids b/tools/gritsettings/resource_ids
index 659523b..43a4315 100644
--- a/tools/gritsettings/resource_ids
+++ b/tools/gritsettings/resource_ids
@@ -234,10 +234,10 @@
"messages": [30000],
},
"components/resources/components_resources.grd": {
- "includes": [30225],
+ "includes": [30250],
},
"components/resources/components_scaled_resources.grd": {
- "structures": [30280],
+ "structures": [30300],
},
"third_party/WebKit/public/blink_resources.grd": {
"includes": [30350],