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

Unified Diff: extensions/browser/guest_view/web_view/web_view_find_helper.cc

Issue 1087123002: Towards Decoupling GuestView from Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed lazyboy@'s comments. Removed unnecessary includes. Simplified GuestViewEvent. Created 5 years, 8 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
Index: extensions/browser/guest_view/web_view/web_view_find_helper.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_find_helper.cc b/extensions/browser/guest_view/web_view/web_view_find_helper.cc
index 8539b257b7baa16330ac1fe721c0878cfc33a311..8028e9133e09a4dcdd5dc510fdb8ea46c6bb0da3 100644
--- a/extensions/browser/guest_view/web_view/web_view_find_helper.cc
+++ b/extensions/browser/guest_view/web_view/web_view_find_helper.cc
@@ -7,6 +7,7 @@
#include <utility>
#include "extensions/browser/api/guest_view/web_view/web_view_internal_api.h"
+#include "extensions/browser/guest_view/guest_view_event.h"
#include "extensions/browser/guest_view/web_view/web_view_constants.h"
namespace extensions {
@@ -38,7 +39,7 @@ void WebViewFindHelper::DispatchFindUpdateEvent(bool canceled,
args->SetBoolean(webview::kFindFinalUpdate, final_update);
DCHECK(webview_guest_);
webview_guest_->DispatchEventToView(
- new GuestViewBase::Event(webview::kEventFindReply, args.Pass()));
+ new GuestViewEvent(webview::kEventFindReply, args.Pass()));
}
void WebViewFindHelper::EndFindSession(int session_request_id, bool canceled) {
« no previous file with comments | « extensions/browser/guest_view/guest_view_manager.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698