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

Side by Side Diff: chrome/browser/ui/views/find_bar_host_aura.cc

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/find_bar_host_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/find_bar_host.h" 5 #include "chrome/browser/ui/views/find_bar_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/event.h"
8 9
9 void FindBarHost::AudibleAlert() { 10 void FindBarHost::AudibleAlert() {
10 #if defined(OS_WIN) 11 #if defined(OS_WIN)
11 MessageBeep(MB_OK); 12 MessageBeep(MB_OK);
12 #else 13 #else
13 // TODO(mukai): 14 // TODO(mukai):
14 NOTIMPLEMENTED(); 15 NOTIMPLEMENTED();
15 #endif 16 #endif
16 } 17 }
17 18
18 bool FindBarHost::ShouldForwardKeyEventToWebpageNative( 19 bool FindBarHost::ShouldForwardKeyEventToWebpageNative(
19 const views::KeyEvent& key_event) { 20 const ui::KeyEvent& key_event) {
20 return true; 21 return true;
21 } 22 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/find_bar_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698