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

Unified Diff: chrome/common/automation_messages.cc

Issue 335023: Add the feature "Add as seach engine..." when right clicking on ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 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/common/automation_messages.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_messages.cc
===================================================================
--- chrome/common/automation_messages.cc (revision 90541)
+++ chrome/common/automation_messages.cc (working copy)
@@ -134,6 +134,7 @@
const GURL& in_unfiltered_link_url,
const GURL& in_src_url,
const GURL& in_page_url,
+ const GURL& in_keyword_url,
const GURL& in_frame_url)
: screen_x(in_screen_x),
screen_y(in_screen_y),
@@ -141,6 +142,7 @@
unfiltered_link_url(in_unfiltered_link_url),
src_url(in_src_url),
page_url(in_page_url),
+ keyword_url(in_keyword_url),
frame_url(in_frame_url) {
}
@@ -601,6 +603,7 @@
WriteParam(m, p.unfiltered_link_url);
WriteParam(m, p.src_url);
WriteParam(m, p.page_url);
+ WriteParam(m, p.keyword_url);
WriteParam(m, p.frame_url);
}
@@ -614,6 +617,7 @@
ReadParam(m, iter, &p->unfiltered_link_url) &&
ReadParam(m, iter, &p->src_url) &&
ReadParam(m, iter, &p->page_url) &&
+ ReadParam(m, iter, &p->keyword_url) &&
ReadParam(m, iter, &p->frame_url);
}
@@ -633,6 +637,8 @@
l->append(", ");
LogParam(p.page_url, l);
l->append(", ");
+ LogParam(p.keyword_url, l);
+ l->append(", ");
LogParam(p.frame_url, l);
l->append(")");
}
« no previous file with comments | « chrome/common/automation_messages.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698