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

Unified Diff: chrome/browser/external_tab_container_win.cc

Issue 7828025: Handle the ViewHostMsg_FindReply message which is sent by content(renderer) via the TabContentsDe... (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/browser/external_tab_container_win.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 99261)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -775,6 +775,16 @@
intent_id);
}
+void ExternalTabContainer::FindReply(TabContents* tab,
+ int request_id,
+ int number_of_matches,
+ const gfx::Rect& selection_rect,
+ int active_match_ordinal,
+ bool final_update) {
+ Browser::FindReplyHelper(tab, request_id, number_of_matches, selection_rect,
+ active_match_ordinal, final_update);
+}
+
bool ExternalTabContainer::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(ExternalTabContainer, message)
@@ -891,9 +901,6 @@
prop_.reset();
Uninitialize();
NativeWidgetWin::OnDestroy();
- if (browser_.get()) {
- ::DestroyWindow(browser_->window()->GetNativeHandle());
- }
}
void ExternalTabContainer::OnFinalMessage(HWND window) {
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698