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

Unified Diff: chrome/renderer/searchbox.cc

Issue 7631063: Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/renderer/renderer_histogram_snapshots.cc ('k') | chrome/renderer/translate_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox.cc
===================================================================
--- chrome/renderer/searchbox.cc (revision 97468)
+++ chrome/renderer/searchbox.cc (working copy)
@@ -25,7 +25,7 @@
void SearchBox::SetSuggestions(const std::vector<std::string>& suggestions,
InstantCompleteBehavior behavior) {
// Explicitly allow empty vector to be sent to the browser.
- render_view()->Send(new ViewHostMsg_SetSuggestions(
+ render_view()->Send(new ChromeViewHostMsg_SetSuggestions(
render_view()->routing_id(), render_view()->page_id(), suggestions,
behavior));
}
@@ -33,11 +33,11 @@
bool SearchBox::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(SearchBox, message)
- IPC_MESSAGE_HANDLER(ViewMsg_SearchBoxChange, OnChange)
- IPC_MESSAGE_HANDLER(ViewMsg_SearchBoxSubmit, OnSubmit)
- IPC_MESSAGE_HANDLER(ViewMsg_SearchBoxCancel, OnCancel)
- IPC_MESSAGE_HANDLER(ViewMsg_SearchBoxResize, OnResize)
- IPC_MESSAGE_HANDLER(ViewMsg_DetermineIfPageSupportsInstant,
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SearchBoxChange, OnChange)
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SearchBoxSubmit, OnSubmit)
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SearchBoxCancel, OnCancel)
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SearchBoxResize, OnResize)
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_DetermineIfPageSupportsInstant,
OnDetermineIfPageSupportsInstant)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -95,7 +95,7 @@
selection_end_ = selection_end;
bool result = extensions_v8::SearchBoxExtension::PageSupportsInstant(
render_view()->webview()->mainFrame());
- render_view()->Send(new ViewHostMsg_InstantSupportDetermined(
+ render_view()->Send(new ChromeViewHostMsg_InstantSupportDetermined(
render_view()->routing_id(), render_view()->page_id(), result));
}
« no previous file with comments | « chrome/renderer/renderer_histogram_snapshots.cc ('k') | chrome/renderer/translate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698