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

Unified Diff: ui/gfx/ipc/gfx_param_traits.h

Issue 1275783003: Add a virtual beamforming audio device on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert chromeos/audio changes. Created 5 years, 3 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
Index: ui/gfx/ipc/gfx_param_traits.h
diff --git a/ui/gfx/ipc/gfx_param_traits.h b/ui/gfx/ipc/gfx_param_traits.h
index 5bdd1d37e2ab97f9c4d0accc2e461c3015886466..77aa120600fbb2a286ccab65b721fe1c2aedf9ab 100644
--- a/ui/gfx/ipc/gfx_param_traits.h
+++ b/ui/gfx/ipc/gfx_param_traits.h
@@ -18,6 +18,7 @@ class SkBitmap;
namespace gfx {
class Point;
class PointF;
+class Point3F;
class Range;
class Rect;
class RectF;
@@ -46,6 +47,14 @@ struct GFX_IPC_EXPORT ParamTraits<gfx::PointF> {
};
template <>
+struct GFX_IPC_EXPORT ParamTraits<gfx::Point3F> {
+ typedef gfx::Point3F param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
+template <>
struct GFX_IPC_EXPORT ParamTraits<gfx::Size> {
typedef gfx::Size param_type;
static void Write(Message* m, const param_type& p);
« media/audio/point.h ('K') | « ui/gfx/gfx.gyp ('k') | ui/gfx/ipc/gfx_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698