diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-01-15 19:06:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-22 08:45:14 +0100 |
commit | 3fcd31f5bd86cb568b1ca4f4f5c7c12c6675dceb (patch) | |
tree | 174654f0843830a86f80c3a379442708003e4f7e /src/core/common/qt_messages.h | |
parent | 6d760436bc0d7081d5bdb50e4141171b6ba940ee (diff) |
Add a stub message system to communicate with the blink WebView
This follows the model used by the Android WebView's AwRenderViewExt
class.
QtRenderViewObserverHost is attached to the WebContents and
QtRenderViewObserver is attached to the RenderView in the render
process. Both can exchange messages together and allow async commands
to be carried from WebContentsAdapter and the result sent back
through WebContentsAdapterClient.
This patch also adds a renderer subdirectory to start matching the
directory structure of Chromium.
Change-Id: I724ca2fe2a597dcd2a15e8e1a23c4eeba1190703
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/core/common/qt_messages.h')
-rw-r--r-- | src/core/common/qt_messages.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/common/qt_messages.h b/src/core/common/qt_messages.h new file mode 100644 index 000000000..77be79360 --- /dev/null +++ b/src/core/common/qt_messages.h @@ -0,0 +1,20 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Multiply-included file, no traditional include guard. +#include "ipc/ipc_message_macros.h" + +// Singly-included section for enums and custom IPC traits. +#ifndef RENDER_VIEW_MESSAGES_H +#define RENDER_VIEW_MESSAGES_H + +namespace IPC { + +// TODO - add enums and custom IPC traits here when needed. + +} // namespace IPC + +#endif // RENDER_VIEW_MESSAGES_H + +#define IPC_MESSAGE_START QtMsgStart |