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

Unified Diff: ui/gfx/blit.h

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/x/x11_util_internal.h ('k') | ui/gfx/canvas.h » ('j') | ui/ui.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/blit.h
===================================================================
--- ui/gfx/blit.h (revision 92815)
+++ ui/gfx/blit.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "ui/gfx/native_widget_types.h"
+#include "ui/ui_api.h"
class SkCanvas;
@@ -16,35 +17,35 @@
class Rect;
// Blits a rectangle from the source context into the destination context.
-void BlitContextToContext(NativeDrawingContext dst_context,
- const Rect& dst_rect,
- NativeDrawingContext src_context,
- const Point& src_origin);
+UI_API void BlitContextToContext(NativeDrawingContext dst_context,
+ const Rect& dst_rect,
+ NativeDrawingContext src_context,
+ const Point& src_origin);
// Blits a rectangle from the source context into the destination canvas.
-void BlitContextToCanvas(SkCanvas *dst_canvas,
- const Rect& dst_rect,
- NativeDrawingContext src_context,
- const Point& src_origin);
+UI_API void BlitContextToCanvas(SkCanvas *dst_canvas,
+ const Rect& dst_rect,
+ NativeDrawingContext src_context,
+ const Point& src_origin);
// Blits a rectangle from the source canvas into the destination context.
-void BlitCanvasToContext(NativeDrawingContext dst_context,
- const Rect& dst_rect,
- SkCanvas *src_canvas,
- const Point& src_origin);
+UI_API void BlitCanvasToContext(NativeDrawingContext dst_context,
+ const Rect& dst_rect,
+ SkCanvas *src_canvas,
+ const Point& src_origin);
// Blits a rectangle from the source canvas into the destination canvas.
-void BlitCanvasToCanvas(SkCanvas *dst_canvas,
- const Rect& dst_rect,
- SkCanvas *src_canvas,
- const Point& src_origin);
+UI_API void BlitCanvasToCanvas(SkCanvas *dst_canvas,
+ const Rect& dst_rect,
+ SkCanvas *src_canvas,
+ const Point& src_origin);
// Scrolls the given subset of the given canvas by the given amount.
// The canvas should not have a clip or a transform applied, since platforms
// may implement those operations differently.
-void ScrollCanvas(SkCanvas* canvas,
- const Rect& clip,
- const Point& amount);
+UI_API void ScrollCanvas(SkCanvas* canvas,
+ const Rect& clip,
+ const Point& amount);
} // namespace gfx
« no previous file with comments | « ui/base/x/x11_util_internal.h ('k') | ui/gfx/canvas.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698