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

Side by Side Diff: chrome/browser/views/find_bar_host_gtk.cc

Issue 220019: A refactor broke the find bar...characters like ! and ( ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/find_bar_host.h" 5 #include "chrome/browser/views/find_bar_host.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include "chrome/browser/find_bar_controller.h" 9 #include "chrome/browser/find_bar_controller.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 browser_view->GetWidget())->window_contents(); 64 browser_view->GetWidget())->window_contents();
65 } 65 }
66 66
67 67
68 NativeWebKeyboardEvent FindBarHost::GetKeyboardEvent( 68 NativeWebKeyboardEvent FindBarHost::GetKeyboardEvent(
69 const TabContents* contents, 69 const TabContents* contents,
70 const views::Textfield::Keystroke& key_stroke) { 70 const views::Textfield::Keystroke& key_stroke) {
71 return NativeWebKeyboardEvent(key_stroke.event()); 71 return NativeWebKeyboardEvent(key_stroke.event());
72 } 72 }
73 73
74 bool FindBarHost::ShouldForwardKeystrokeToWebpageNative(
75 const views::Textfield::Keystroke& key_stroke) {
76 return true;
77 }
78
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698