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

Unified Diff: chrome/browser/ui/gtk/find_bar_gtk.cc

Issue 7972006: Removed sending of the content IPC messages from chrome and replaced them with corresponding APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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: chrome/browser/ui/gtk/find_bar_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/find_bar_gtk.cc (revision 101850)
+++ chrome/browser/ui/gtk/find_bar_gtk.cc (working copy)
@@ -36,7 +36,6 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/native_web_keyboard_event.h"
#include "content/common/notification_service.h"
-#include "content/common/view_messages.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#include "grit/theme_resources_standard.h"
@@ -670,8 +669,7 @@
// Make sure we don't have a text field element interfering with keyboard
// input. Otherwise Up and Down arrow key strokes get eaten. "Nom Nom Nom".
- render_view_host->Send(
- new ViewMsg_ClearFocusedNode(render_view_host->routing_id()));
+ render_view_host->ClearFocusedNode();
NativeWebKeyboardEvent wke(event);
render_view_host->ForwardKeyboardEvent(wke);
« no previous file with comments | « chrome/browser/ui/cocoa/rwhvm_editcommand_helper.mm ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698