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

Unified Diff: chrome/common/render_messages.h

Issue 302063003: Remove old "TODO(port)" IPC goop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 46fb90e2fd2aec2ae89c1b89ad760f150f6e1550..c20ac781d99d2469f351aca9e0a47ea3493ee497 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -65,32 +65,6 @@ struct ChromeViewHostMsg_GetPluginInfo_Status {
namespace IPC {
-#if defined(OS_POSIX) && !defined(USE_AURA) && !defined(OS_ANDROID)
-
-// TODO(port): this shouldn't exist. However, the plugin stuff is really using
-// HWNDS (NativeView), and making Windows calls based on them. I've not figured
-// out the deal with plugins yet.
-// TODO(android): a gfx::NativeView is the same as a gfx::NativeWindow.
-template <>
-struct ParamTraits<gfx::NativeView> {
- typedef gfx::NativeView param_type;
- static void Write(Message* m, const param_type& p) {
- NOTIMPLEMENTED();
- }
-
- static bool Read(const Message* m, PickleIterator* iter, param_type* p) {
- NOTIMPLEMENTED();
- *p = NULL;
- return true;
- }
-
- static void Log(const param_type& p, std::string* l) {
- l->append(base::StringPrintf("<gfx::NativeView>"));
- }
-};
-
-#endif // defined(OS_POSIX) && !defined(USE_AURA) && !defined(OS_ANDROID)
-
template <>
struct ParamTraits<ContentSettingsPattern> {
typedef ContentSettingsPattern param_type;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698