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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 658183002: Add support for DOM3 KeyboardEvent keycode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated as per code review comments Created 6 years 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
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool suppress_opener); 375 bool suppress_opener);
376 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); 376 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type);
377 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 377 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
378 virtual void printPage(blink::WebLocalFrame* frame); 378 virtual void printPage(blink::WebLocalFrame* frame);
379 virtual bool enumerateChosenDirectory( 379 virtual bool enumerateChosenDirectory(
380 const blink::WebString& path, 380 const blink::WebString& path,
381 blink::WebFileChooserCompletion* chooser_completion); 381 blink::WebFileChooserCompletion* chooser_completion);
382 virtual void saveImageFromDataURL(const blink::WebString& data_url); 382 virtual void saveImageFromDataURL(const blink::WebString& data_url);
383 virtual void didCancelCompositionOnSelectionChange(); 383 virtual void didCancelCompositionOnSelectionChange();
384 virtual bool handleCurrentKeyboardEvent(); 384 virtual bool handleCurrentKeyboardEvent();
385 virtual const char* keyboardDOMCodeValue(int nativeValue);
Wez 2014/12/02 04:03:14 Is |int| going to be large enough to hold a DomKey
Habib Virji 2014/12/02 12:07:45 It is based on the value from nativeVirtualKeyCode
385 virtual bool runFileChooser( 386 virtual bool runFileChooser(
386 const blink::WebFileChooserParams& params, 387 const blink::WebFileChooserParams& params,
387 blink::WebFileChooserCompletion* chooser_completion); 388 blink::WebFileChooserCompletion* chooser_completion);
388 void SetValidationMessageDirection(base::string16* main_text, 389 void SetValidationMessageDirection(base::string16* main_text,
389 blink::WebTextDirection main_text_hint, 390 blink::WebTextDirection main_text_hint,
390 base::string16* sub_text, 391 base::string16* sub_text,
391 blink::WebTextDirection sub_text_hint); 392 blink::WebTextDirection sub_text_hint);
392 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, 393 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view,
393 const blink::WebString& main_text, 394 const blink::WebString& main_text,
394 blink::WebTextDirection main_text_hint, 395 blink::WebTextDirection main_text_hint,
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 // use the Observer interface to filter IPC messages and receive frame change 1105 // use the Observer interface to filter IPC messages and receive frame change
1105 // notifications. 1106 // notifications.
1106 // --------------------------------------------------------------------------- 1107 // ---------------------------------------------------------------------------
1107 1108
1108 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1109 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1109 }; 1110 };
1110 1111
1111 } // namespace content 1112 } // namespace content
1112 1113
1113 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1114 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698