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

Side by Side Diff: webkit/glue/webwidget_impl.cc

Issue 28186: Reverting key change (again); this breaks every keyboard layout test there is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « webkit/glue/webview_impl.cc ('k') | webkit/tools/test_shell/event_sending_controller.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "config.h" 5 #include "config.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "Cursor.h" 10 #include "Cursor.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 case WebInputEvent::MOUSE_DOWN: 166 case WebInputEvent::MOUSE_DOWN:
167 case WebInputEvent::MOUSE_DOUBLE_CLICK: 167 case WebInputEvent::MOUSE_DOUBLE_CLICK:
168 MouseDown(*static_cast<const WebMouseEvent*>(input_event)); 168 MouseDown(*static_cast<const WebMouseEvent*>(input_event));
169 return true; 169 return true;
170 170
171 case WebInputEvent::MOUSE_UP: 171 case WebInputEvent::MOUSE_UP:
172 MouseUp(*static_cast<const WebMouseEvent*>(input_event)); 172 MouseUp(*static_cast<const WebMouseEvent*>(input_event));
173 return true; 173 return true;
174 174
175 case WebInputEvent::RAW_KEY_DOWN:
176 case WebInputEvent::KEY_DOWN: 175 case WebInputEvent::KEY_DOWN:
177 case WebInputEvent::KEY_UP: 176 case WebInputEvent::KEY_UP:
178 return KeyEvent(*static_cast<const WebKeyboardEvent*>(input_event)); 177 return KeyEvent(*static_cast<const WebKeyboardEvent*>(input_event));
179 178
180 default: 179 default:
181 break; 180 break;
182 } 181 }
183 return false; 182 return false;
184 } 183 }
185 184
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { 273 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) {
275 } 274 }
276 275
277 bool WebWidgetImpl::isHidden() { 276 bool WebWidgetImpl::isHidden() {
278 if (!delegate_) 277 if (!delegate_)
279 return true; 278 return true;
280 279
281 return delegate_->IsHidden(); 280 return delegate_->IsHidden();
282 } 281 }
283 #endif 282 #endif
OLDNEW
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698