summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_render_thread.h
diff options
context:
space:
mode:
authorjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 17:03:12 +0000
committerjcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 17:03:12 +0000
commit3e2b375b56172a400f75060bd2a827375ea44fea (patch)
tree59f9864d0cf85c5901d686e3757940f8db561328 /chrome/renderer/mock_render_thread.h
parent0d0524fea0ce2adb9aa132f90b63c7deb5410b1f (diff)
downloadchromium_src-3e2b375b56172a400f75060bd2a827375ea44fea.zip
chromium_src-3e2b375b56172a400f75060bd2a827375ea44fea.tar.gz
chromium_src-3e2b375b56172a400f75060bd2a827375ea44fea.tar.bz2
Adding the new WebPopupType to the RenderWidget creation.
BUG=None TEST=Tests that all popups (select popup, autofill, browser actions, bookmark bubble...) work as expected and get the focus correctly. Review URL: http://codereview.chromium.org/1523013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_render_thread.h')
-rw-r--r--chrome/renderer/mock_render_thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h
index 03fe08f..635174b 100644
--- a/chrome/renderer/mock_render_thread.h
+++ b/chrome/renderer/mock_render_thread.h
@@ -11,6 +11,7 @@
#include "chrome/common/ipc_test_sink.h"
#include "chrome/renderer/mock_printer.h"
#include "chrome/renderer/render_thread.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
struct ViewMsg_Print_Params;
struct ViewMsg_PrintPages_Params;
@@ -78,7 +79,7 @@ class MockRenderThread : public RenderThreadBase {
// The Widget expects to be returned valid route_id.
void OnMsgCreateWidget(int opener_id,
- bool activatable,
+ WebKit::WebPopupType popup_type,
int* route_id);
// The callee expects to be returned a valid channel_id.