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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 12221133: Prevent translated key events (WM_CHAR) associated with key events that focus the WebContents fro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | « no previous file | content/browser/renderer_host/render_widget_host_impl.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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 GestureEventFilter* gesture_event_filter() { 424 GestureEventFilter* gesture_event_filter() {
425 return gesture_event_filter_.get(); 425 return gesture_event_filter_.get();
426 } 426 }
427 427
428 OverscrollController* overscroll_controller() { 428 OverscrollController* overscroll_controller() {
429 return overscroll_controller_.get(); 429 return overscroll_controller_.get();
430 } 430 }
431 431
432 int SyntheticScrollMessageInterval() const; 432 int SyntheticScrollMessageInterval() const;
433 433
434 // Suppreses future char events until a keydown. See
435 // suppress_next_char_events_.
436 void SuppressNextCharEvents();
437
434 protected: 438 protected:
435 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; 439 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;
436 440
437 // Transmits the given input event. This is an internal helper for 441 // Transmits the given input event. This is an internal helper for
438 // |ForwardInputEvent()| and should not be used directly from elsewhere. 442 // |ForwardInputEvent()| and should not be used directly from elsewhere.
439 void SendInputEvent(const WebKit::WebInputEvent& input_event, 443 void SendInputEvent(const WebKit::WebInputEvent& input_event,
440 int event_size, bool is_keyboard_shortcut); 444 int event_size, bool is_keyboard_shortcut);
441 445
442 // Internal implementation of the public Forward*Event() methods. 446 // Internal implementation of the public Forward*Event() methods.
443 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, 447 void ForwardInputEvent(const WebKit::WebInputEvent& input_event,
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 #if defined(OS_WIN) 882 #if defined(OS_WIN)
879 std::list<HWND> dummy_windows_for_activation_; 883 std::list<HWND> dummy_windows_for_activation_;
880 #endif 884 #endif
881 885
882 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
883 }; 887 };
884 888
885 } // namespace content 889 } // namespace content
886 890
887 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698