summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 23:43:04 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 23:43:04 +0000
commitdee7225eb729e5c65a6fad3b7d06d55754ab37dd (patch)
tree9763ef7f91e5f5f4122d534c596cb148aa432990 /chrome/common/render_messages.h
parentd2980947d999c2920062a263ff7919677dabb9e9 (diff)
downloadchromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.zip
chromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.tar.gz
chromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.tar.bz2
Revert "Make render_view_host compile on Mac & Linux, add to the build."
Review URL: http://codereview.chromium.org/18796 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index e279270ec..b0338b7 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -445,18 +445,6 @@ enum ViewHostMsg_ImeControl {
IME_COMPLETE_COMPOSITION,
};
-// This structure is passed around where we need a modal dialog event, which
-// is currently not plumbed on Mac & Linux.
-//
-// TODO(port) Fix this. This structure should probably go away and we should
-// do the modal dialog event in some portable way. If you remove this, be
-// sure to also remove the ParamTraits for it below.
-struct ModalDialogEvent {
-#if defined(OS_WIN)
- HANDLE event;
-#endif
-};
-
// Multi-pass include of render_messages_internal. Preprocessor magic allows
// us to use 1 header to define the enums and classes for our render messages.
#define IPC_MESSAGE_MACROS_ENUMS
@@ -1735,25 +1723,6 @@ struct ParamTraits<webkit_glue::ScreenInfo> {
}
};
-template<>
-struct ParamTraits<ModalDialogEvent> {
- typedef ModalDialogEvent param_type;
-#if defined(OS_WIN)
- static void Write(Message* m, const param_type& p) {
- WriteParam(m, p.event);
- }
- static bool Read(const Message* m, void** iter, param_type* p) {
- return ReadParam(m, iter, &p->event);
- }
-#else
- static void Write(Message* m, const param_type& p) {
- }
- static bool Read(const Message* m, void** iter, param_type* p) {
- return true;
- }
-#endif
-};
-
} // namespace IPC
#endif // CHROME_COMMON_RENDER_MESSAGES_H_