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

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 to return WebString and int instead of long" Created 5 years, 11 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
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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 bool suppress_opener); 354 bool suppress_opener);
355 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); 355 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type);
356 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 356 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
357 virtual void printPage(blink::WebLocalFrame* frame); 357 virtual void printPage(blink::WebLocalFrame* frame);
358 virtual bool enumerateChosenDirectory( 358 virtual bool enumerateChosenDirectory(
359 const blink::WebString& path, 359 const blink::WebString& path,
360 blink::WebFileChooserCompletion* chooser_completion); 360 blink::WebFileChooserCompletion* chooser_completion);
361 virtual void saveImageFromDataURL(const blink::WebString& data_url); 361 virtual void saveImageFromDataURL(const blink::WebString& data_url);
362 virtual void didCancelCompositionOnSelectionChange(); 362 virtual void didCancelCompositionOnSelectionChange();
363 virtual bool handleCurrentKeyboardEvent(); 363 virtual bool handleCurrentKeyboardEvent();
364 virtual blink::WebString domCodeStringFromEnum(int dom_code);
365 virtual int domEnumFromCodeString(const blink::WebString& codeString);
piman 2015/01/28 01:18:04 Why do these need to be virtual members of WebView
Habib Virji 2015/01/28 10:02:11 No they do. Both functions are trying to access
Wez 2015/01/29 00:51:02 These are embedder-provided APIs on the WebViewCli
364 virtual bool runFileChooser( 366 virtual bool runFileChooser(
365 const blink::WebFileChooserParams& params, 367 const blink::WebFileChooserParams& params,
366 blink::WebFileChooserCompletion* chooser_completion); 368 blink::WebFileChooserCompletion* chooser_completion);
367 void SetValidationMessageDirection(base::string16* main_text, 369 void SetValidationMessageDirection(base::string16* main_text,
368 blink::WebTextDirection main_text_hint, 370 blink::WebTextDirection main_text_hint,
369 base::string16* sub_text, 371 base::string16* sub_text,
370 blink::WebTextDirection sub_text_hint); 372 blink::WebTextDirection sub_text_hint);
371 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, 373 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view,
372 const blink::WebString& main_text, 374 const blink::WebString& main_text,
373 blink::WebTextDirection main_text_hint, 375 blink::WebTextDirection main_text_hint,
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 // use the Observer interface to filter IPC messages and receive frame change 1070 // use the Observer interface to filter IPC messages and receive frame change
1069 // notifications. 1071 // notifications.
1070 // --------------------------------------------------------------------------- 1072 // ---------------------------------------------------------------------------
1071 1073
1072 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1074 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1073 }; 1075 };
1074 1076
1075 } // namespace content 1077 } // namespace content
1076 1078
1077 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1079 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698