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

Unified Diff: content/common/content_message_generator.cc

Issue 12220101: Minimal Chrome Frame with Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert install_worker.cc to un-break win64 build Created 7 years, 10 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_frame/test/chrome_frame_test_utils.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_message_generator.cc
diff --git a/content/common/content_message_generator.cc b/content/common/content_message_generator.cc
index a86fb17d7341fb70a153adcb3dc649086b49f16c..2e2b5a636343a23ba30b9b705534eba2abdd2a2b 100644
--- a/content/common/content_message_generator.cc
+++ b/content/common/content_message_generator.cc
@@ -14,30 +14,6 @@
#include "ipc/struct_destructor_macros.h"
#include "content/common/content_message_generator.h"
-#if defined(USE_AURA) && defined(OS_WIN)
-#include "ui/gfx/native_widget_types.h"
-
-namespace IPC {
-// TODO(beng): Figure out why this is needed, fix that issue and remove
-// this. Brett and I were unable to figure out why, but he
-// thought this should be harmless.
-template <>
-struct ParamTraits<gfx::PluginWindowHandle> {
- typedef gfx::PluginWindowHandle param_type;
- static void Write(Message* m, const param_type& p) {
- m->WriteUInt32(reinterpret_cast<uint32>(p));
- }
- static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
- DCHECK_EQ(sizeof(param_type), sizeof(uint32));
- return m->ReadUInt32(iter, reinterpret_cast<uint32*>(r));
- }
- static void Log(const param_type& p, std::string* l) {
- l->append(StringPrintf("0x%X", p));
- }
-};
-} // namespace IPC
-#endif
-
// Generate param traits write methods.
#include "ipc/param_traits_write_macros.h"
namespace IPC {
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698