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

Unified Diff: chrome/common/webkit_param_traits.cc

Issue 6705012: Move the rest of the content browser->renderer messages to content. Also move drag related messa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/common/webkit_param_traits.h ('k') | chrome/tools/ipclist/all_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/webkit_param_traits.cc
===================================================================
--- chrome/common/webkit_param_traits.cc (revision 79031)
+++ chrome/common/webkit_param_traits.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/common/webkit_param_traits.h"
#include "base/format_macros.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderline.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
namespace IPC {
@@ -78,37 +77,6 @@
p.count, p.size, p.liveSize, p.decodedSize));
}
-void ParamTraits<WebKit::WebCompositionUnderline>::Write(Message* m,
- const param_type& p) {
- WriteParam(m, p.startOffset);
- WriteParam(m, p.endOffset);
- WriteParam(m, p.color);
- WriteParam(m, p.thick);
-}
-
-bool ParamTraits<WebKit::WebCompositionUnderline>::Read(
- const Message* m, void** iter,
- param_type* p) {
- return
- ReadParam(m, iter, &p->startOffset) &&
- ReadParam(m, iter, &p->endOffset) &&
- ReadParam(m, iter, &p->color) &&
- ReadParam(m, iter, &p->thick);
-}
-
-void ParamTraits<WebKit::WebCompositionUnderline>::Log(const param_type& p,
- std::string* l) {
- l->append("(");
- LogParam(p.startOffset, l);
- l->append(",");
- LogParam(p.endOffset, l);
- l->append(":");
- LogParam(p.color, l);
- l->append(":");
- LogParam(p.thick, l);
- l->append(")");
-}
-
void ParamTraits<WebKit::WebTextCheckingResult>::Write(Message* m,
const param_type& p) {
WriteParam(m, static_cast<int>(p.error()));
« no previous file with comments | « chrome/common/webkit_param_traits.h ('k') | chrome/tools/ipclist/all_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698