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

Issue 8122013: Allow CanvasSkia to bind to an existing SkCanvas. (Closed)

Created:
9 years, 2 months ago by piman
Modified:
9 years, 2 months ago
CC:
chromium-reviews, asanka, stevenjb, nkostylev+watch_chromium.org, tfarina, Erik does not do reviews, dpranke+watch-content_chromium.org, jam, Randy Smith (Not in Mondays), mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr., davemoore+watch_chromium.org, dhollowa
Visibility:
Public.

Description

Allow CanvasSkia to bind to an existing SkCanvas. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104146

Patch Set 1 : 1 more fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -303 lines) Patch
M chrome/browser/chromeos/frame/bubble_frame_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/frame/panel_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/rounded_rect_painter.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/rounded_view.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/user_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/username_view.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/download/download_util.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/thumbnail_generator_unittest.cc View 6 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/aura/aura_init.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/detachable_toolbar_view.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/fullscreen_exit_bubble_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/infobar_background.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/translate_infobar_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/notifications/balloon_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/native_view_photobooth_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/side_tab.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/theme_helpers.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/theme_install_bubble_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/badge_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_action.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/backing_store_skia.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 3 chunks +4 lines, -4 lines 0 comments Download
A skia/ext/canvas_paint_common.h View 1 chunk +18 lines, -0 lines 0 comments Download
M skia/ext/canvas_paint_gtk.h View 3 chunks +6 lines, -4 lines 0 comments Download
M skia/ext/canvas_paint_mac.h View 3 chunks +9 lines, -6 lines 0 comments Download
M skia/ext/canvas_paint_wayland.h View 3 chunks +7 lines, -4 lines 0 comments Download
M skia/ext/canvas_paint_win.h View 3 chunks +8 lines, -5 lines 0 comments Download
M skia/ext/canvas_paint_x.h View 3 chunks +8 lines, -4 lines 0 comments Download
M ui/aura/demo/demo_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ui/gfx/canvas.h View 2 chunks +4 lines, -0 lines 2 comments Download
M ui/gfx/canvas.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/gfx/canvas_skia.h View 5 chunks +9 lines, -1 line 0 comments Download
M ui/gfx/canvas_skia.cc View 11 chunks +51 lines, -23 lines 0 comments Download
M ui/gfx/canvas_skia_linux.cc View 6 chunks +5 lines, -15 lines 0 comments Download
M ui/gfx/canvas_skia_mac.mm View 2 chunks +1 line, -11 lines 0 comments Download
M ui/gfx/canvas_skia_paint.h View 1 chunk +11 lines, -0 lines 0 comments Download
M ui/gfx/canvas_skia_win.cc View 8 chunks +10 lines, -20 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/compositor/layer_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/render_text.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ui/gfx/render_text_linux.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/render_text_win.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M views/aura_desktop/aura_desktop_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/background.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/bubble/bubble_border.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/button/text_button.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M views/controls/combobox/native_combobox_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/controls/focusable_border.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/controls/menu/menu_image_util_linux.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M views/controls/menu/menu_item_view_linux.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M views/controls/menu/menu_item_view_win.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M views/controls/menu/menu_scroll_view_container.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M views/controls/menu/menu_separator_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/menu/menu_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M views/controls/menu/native_menu_win.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M views/controls/progress_bar.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M views/controls/scrollbar/native_scroll_bar_views.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M views/controls/tabbed_pane/native_tabbed_pane_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/controls/table/native_table_win.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M views/controls/table/table_view.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M views/controls/tree/tree_view.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M views/desktop/desktop_background.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/native_theme_painter.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M views/painter.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/touchui/touch_selection_controller_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M views/view.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/view_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/widget/native_widget_win.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M views/widget/root_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/window/dialog_client_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
piman
This is needed for the webkit compositor, which provides the canvas when painting. Most of ...
9 years, 2 months ago (2011-10-05 16:58:04 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/8122013/diff/6092/ui/gfx/canvas.h File ui/gfx/canvas.h (right): http://codereview.chromium.org/8122013/diff/6092/ui/gfx/canvas.h#newcode237 ui/gfx/canvas.h:237: virtual const CanvasSkia* AsCanvasSkia() const; Did anyone use this ...
9 years, 2 months ago (2011-10-05 17:11:45 UTC) #2
piman
http://codereview.chromium.org/8122013/diff/6092/ui/gfx/canvas.h File ui/gfx/canvas.h (right): http://codereview.chromium.org/8122013/diff/6092/ui/gfx/canvas.h#newcode237 ui/gfx/canvas.h:237: virtual const CanvasSkia* AsCanvasSkia() const; On 2011/10/05 17:11:45, Ben ...
9 years, 2 months ago (2011-10-05 17:31:28 UTC) #3
Ben Goodger (Google)
OK. I figure when we nix CanvasDirect2D and consolidate Canvas/CanvasSkia the need for the method ...
9 years, 2 months ago (2011-10-05 17:33:15 UTC) #4
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/8122013/6092
9 years, 2 months ago (2011-10-05 17:34:25 UTC) #5
commit-bot: I haz the power
9 years, 2 months ago (2011-10-05 19:05:10 UTC) #6
Change committed as 104146

Powered by Google App Engine
This is Rietveld 408576698