Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed)

Created:
8 years, 7 months ago by flackr
Modified:
8 years, 7 months ago
CC:
chromium-reviews, pkotwicz, oshima
Visibility:
Public.

Description

Select theme resources from ResourceBundle at requested scale factor. Return the best match for a requested scale factor when fetching raw image data from ResourceBundle. TBR=aa,abodenha BUG=123611 TEST=ResourceBundle.LoadImageResourceBytes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137734

Patch Set 1 #

Total comments: 8

Patch Set 2 : Merge with master. #

Patch Set 3 : Add test for scale factor resource selection and address review. #

Patch Set 4 : Merge with master. #

Patch Set 5 : Extend existing ResourceBundle API to take scale_factor. #

Patch Set 6 : Merge with master #

Patch Set 7 : Convert ptr to bool for win compile. #

Total comments: 9

Patch Set 8 : Merge with master and pass scale_factor from webkit resource requests. #

Patch Set 9 : Fix compile / deps errors. #

Patch Set 10 : Fix android #

Patch Set 11 : Merge with master. #

Patch Set 12 : Use enum for resource scale factor. #

Patch Set 13 : Merge with master. #

Patch Set 14 : Fix mac and win compile errors. #

Total comments: 5

Patch Set 15 : Address review suggestions. #

Patch Set 16 : Merge with master. #

Total comments: 4

Patch Set 17 : Always set scale_factor in ParsePathAndScaleFactor method. #

Patch Set 18 : Merge with master. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+662 lines, -424 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/debugger/browser_list_tabcontents_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -2 lines 1 comment Download
M chrome/browser/first_run/first_run_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/history/top_sites.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/icon_loader_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/plugin_finder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_setup_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/themes/browser_theme_pack.cc View 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/bookmarks_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_data_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/register_page_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/system_info_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/conflicts_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/crashes_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/devtools_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/downloads_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_icon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/favicon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options2/options_ui2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/plugins_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sessions_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/shared_resources_data_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/theme_source.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/theme_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +53 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/web_ui_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/web_ui_util.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/chrome_content_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -10 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/extensions/simple_feature_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/jstemplate_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/common/net/net_resource_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/common/web_apps.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/extensions/json_schema_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/extensions/user_script_slave.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/plugins/plugin_placeholder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +10 lines, -8 lines 0 comments Download
M chrome/renderer/resource_bundle_source_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/base/chrome_test_suite.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/module_system_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chrome/tools/mac_helpers/infoplist_strings_util.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/simple_resource_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/debugger/devtools_http_handler_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M content/common/sandbox_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -2 lines 0 comments Download
M content/common/webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -3 lines 0 comments Download
M content/common/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -8 lines 0 comments Download
M content/public/common/content_client.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -6 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -2 lines 0 comments Download
M content/shell/layout_test_controller_bindings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M content/shell/shell_content_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/shell_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -9 lines 0 comments Download
M content/shell/shell_devtools_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M content/test/test_content_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/test_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -9 lines 0 comments Download
M ui/base/layout.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +10 lines, -0 lines 0 comments Download
M ui/base/resource/data_pack.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -4 lines 0 comments Download
M ui/base/resource/data_pack.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -2 lines 0 comments Download
M ui/base/resource/data_pack_literal.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +20 lines, -1 line 0 comments Download
M ui/base/resource/data_pack_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -3 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +22 lines, -11 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +40 lines, -18 lines 0 comments Download
M ui/base/resource/resource_bundle_android.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/resource/resource_bundle_aurax11.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M ui/base/resource/resource_bundle_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -5 lines 0 comments Download
M ui/base/resource/resource_bundle_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -6 lines 0 comments Download
M ui/base/resource/resource_bundle_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +68 lines, -14 lines 0 comments Download
M ui/base/resource/resource_bundle_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -6 lines 0 comments Download
M ui/base/resource/resource_data_dll_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/resource/resource_data_dll_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +11 lines, -2 lines 0 comments Download
M ui/base/resource/resource_handle.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -5 lines 0 comments Download
M ui/base/resource/resource_handle.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -12 lines 0 comments Download
M ui/compositor/test/compositor_test_support.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -6 lines 0 comments Download
M ui/test/test_suite.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M webkit/glue/webkit_glue_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -6 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -7 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +90 lines, -69 lines 0 comments Download
M webkit/support/platform_support_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -8 lines 0 comments Download
M webkit/support/platform_support_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -8 lines 0 comments Download
M webkit/support/platform_support_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -10 lines 0 comments Download
M webkit/support/platform_support_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -6 lines 0 comments Download
M webkit/support/test_webkit_platform_support.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_shell_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -8 lines 0 comments Download
M webkit/tools/test_shell/test_shell_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -7 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/tools/test_shell/test_shell_win.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
flackr
Hi Sailesh, please take a look. This parses a request path of IDR_RESOURCE_NAME@<scale>x. We will ...
8 years, 7 months ago (2012-05-07 18:01:10 UTC) #1
flackr
friendly ping just in case this got lost in a mound of email :-).
8 years, 7 months ago (2012-05-09 13:57:13 UTC) #2
sail
overall looks good. is there a way to test the changes to the resource bundle? ...
8 years, 7 months ago (2012-05-09 16:09:41 UTC) #3
flackr
Added unit test to verify resource selection. http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.cc#newcode309 ui/base/resource/resource_bundle.cc:309: if (data_packs_[i]->GetStringPiece(resource_id, ...
8 years, 7 months ago (2012-05-09 19:57:01 UTC) #4
sail
http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h File ui/base/resource/resource_bundle.h (right): http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h#newcode137 ui/base/resource/resource_bundle.h:137: base::RefCountedStaticMemory* LoadImageResourceBytes( On 2012/05/09 19:57:01, flackr wrote: > On ...
8 years, 7 months ago (2012-05-09 20:08:19 UTC) #5
flackr
http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h File ui/base/resource/resource_bundle.h (right): http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h#newcode137 ui/base/resource/resource_bundle.h:137: base::RefCountedStaticMemory* LoadImageResourceBytes( On 2012/05/09 20:08:19, sail wrote: > On ...
8 years, 7 months ago (2012-05-09 20:15:42 UTC) #6
flackr
http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h File ui/base/resource/resource_bundle.h (right): http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h#newcode137 ui/base/resource/resource_bundle.h:137: base::RefCountedStaticMemory* LoadImageResourceBytes( On 2012/05/09 20:15:42, flackr wrote: > On ...
8 years, 7 months ago (2012-05-09 20:16:53 UTC) #7
sail
On 2012/05/09 20:15:42, flackr wrote: > http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h > File ui/base/resource/resource_bundle.h (right): > > http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h#newcode137 > ...
8 years, 7 months ago (2012-05-09 20:19:16 UTC) #8
flackr
On 2012/05/09 20:19:16, sail wrote: > On 2012/05/09 20:15:42, flackr wrote: > > > http://codereview.chromium.org/10387010/diff/1/ui/base/resource/resource_bundle.h ...
8 years, 7 months ago (2012-05-09 20:29:32 UTC) #9
flackr
+sky, I've chatted with sail about how to avoid having two API's which can both ...
8 years, 7 months ago (2012-05-09 22:15:30 UTC) #10
sky
I'm adding Tony to the review list. He should really be an owner here. I ...
8 years, 7 months ago (2012-05-09 22:55:05 UTC) #11
flackr
Okay, I've extended the existing data access methods of ResourceBundle to take a scale factor ...
8 years, 7 months ago (2012-05-11 18:38:55 UTC) #12
sail
LGTM! I think this is pretty good. It seems like there's not much of a ...
8 years, 7 months ago (2012-05-11 20:23:36 UTC) #13
tony
https://chromiumcodereview.appspot.com/10387010/diff/8087/chrome/browser/chromeos/offline/offline_load_page.cc File chrome/browser/chromeos/offline/offline_load_page.cc (right): https://chromiumcodereview.appspot.com/10387010/diff/8087/chrome/browser/chromeos/offline/offline_load_page.cc#newcode37 chrome/browser/chromeos/offline/offline_load_page.cc:37: #include "ui/base/resource/resource_handle.h" Double include? It looks like this is ...
8 years, 7 months ago (2012-05-11 21:22:03 UTC) #14
sail
https://chromiumcodereview.appspot.com/10387010/diff/8087/ui/base/resource/resource_handle.h File ui/base/resource/resource_handle.h (right): https://chromiumcodereview.appspot.com/10387010/diff/8087/ui/base/resource/resource_handle.h#newcode33 ui/base/resource/resource_handle.h:33: static const float kScaleFactorNone; On 2012/05/11 21:22:03, tony wrote: ...
8 years, 7 months ago (2012-05-11 21:28:50 UTC) #15
Jói
+oshima as this is related to work he is planning to do I think the ...
8 years, 7 months ago (2012-05-11 21:33:55 UTC) #16
tony
On 2012/05/11 21:33:55, Jói wrote: > +oshima as this is related to work he is ...
8 years, 7 months ago (2012-05-11 21:49:02 UTC) #17
flackr
https://chromiumcodereview.appspot.com/10387010/diff/8087/chrome/browser/chromeos/offline/offline_load_page.cc File chrome/browser/chromeos/offline/offline_load_page.cc (right): https://chromiumcodereview.appspot.com/10387010/diff/8087/chrome/browser/chromeos/offline/offline_load_page.cc#newcode37 chrome/browser/chromeos/offline/offline_load_page.cc:37: #include "ui/base/resource/resource_handle.h" On 2012/05/11 21:22:03, tony wrote: > Double ...
8 years, 7 months ago (2012-05-11 21:59:07 UTC) #18
flackr
https://chromiumcodereview.appspot.com/10387010/diff/8087/ui/base/resource/resource_bundle.cc File ui/base/resource/resource_bundle.cc (right): https://chromiumcodereview.appspot.com/10387010/diff/8087/ui/base/resource/resource_bundle.cc#newcode310 ui/base/resource/resource_bundle.cc:310: if (best_match == data_packs_.size() || On 2012/05/11 21:22:03, tony ...
8 years, 7 months ago (2012-05-15 02:16:33 UTC) #19
flackr
tony, can you take another look? I've converted the scale factor to an enum as ...
8 years, 7 months ago (2012-05-15 13:45:58 UTC) #20
tony
LGTM, some style nits below. http://codereview.chromium.org/10387010/diff/16002/ui/base/layout.h File ui/base/layout.h (right): http://codereview.chromium.org/10387010/diff/16002/ui/base/layout.h#newcode37 ui/base/layout.h:37: static const ScaleFactor kScaleFactorNone ...
8 years, 7 months ago (2012-05-15 20:19:56 UTC) #21
flackr
https://chromiumcodereview.appspot.com/10387010/diff/16002/ui/base/layout.h File ui/base/layout.h (right): https://chromiumcodereview.appspot.com/10387010/diff/16002/ui/base/layout.h#newcode37 ui/base/layout.h:37: static const ScaleFactor kScaleFactorNone = SCALE_FACTOR_100P; On 2012/05/15 20:19:56, ...
8 years, 7 months ago (2012-05-16 13:39:23 UTC) #22
flackr
sky, can you approve for chrome, ui? ben, can you approve the changes in content? ...
8 years, 7 months ago (2012-05-16 13:54:24 UTC) #23
sky
http://codereview.chromium.org/10387010/diff/17002/chrome/browser/ui/webui/theme_source.cc File chrome/browser/ui/webui/theme_source.cc (right): http://codereview.chromium.org/10387010/diff/17002/chrome/browser/ui/webui/theme_source.cc#newcode49 chrome/browser/ui/webui/theme_source.cc:49: // Our path may include cachebuster arguments, so trim ...
8 years, 7 months ago (2012-05-16 14:21:21 UTC) #24
flackr
http://codereview.chromium.org/10387010/diff/17002/chrome/browser/ui/webui/theme_source.cc File chrome/browser/ui/webui/theme_source.cc (right): http://codereview.chromium.org/10387010/diff/17002/chrome/browser/ui/webui/theme_source.cc#newcode49 chrome/browser/ui/webui/theme_source.cc:49: // Our path may include cachebuster arguments, so trim ...
8 years, 7 months ago (2012-05-16 14:37:12 UTC) #25
sky
The patch doesn't show the file as a delete. Make sure it gets deleted. LGTM
8 years, 7 months ago (2012-05-16 14:38:17 UTC) #26
Ben Goodger (Google)
lgtm
8 years, 7 months ago (2012-05-17 18:25:55 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10387010/9170
8 years, 7 months ago (2012-05-17 18:57:49 UTC) #28
Aaron Boodman
http://codereview.chromium.org/10387010/diff/9170/chrome/browser/extensions/extension_protocols.cc File chrome/browser/extensions/extension_protocols.cc (right): http://codereview.chromium.org/10387010/diff/9170/chrome/browser/extensions/extension_protocols.cc#newcode78 chrome/browser/extensions/extension_protocols.cc:78: resource_id_, ui::SCALE_FACTOR_NONE).as_string(); It seems kinda silly to have to ...
8 years, 7 months ago (2012-05-17 20:54:01 UTC) #29
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 21:05:45 UTC) #30
Change committed as 137734

Powered by Google App Engine
This is Rietveld 408576698