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

Side by Side Diff: public/web/WebViewClient.h

Issue 663523002: Adding support for DOM3 KeyboardEvents Code in KeyboardEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Embedder API are part of Platform.h instead of WebViewClient.h Created 5 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
« public/web/WebInputEvent.h ('K') | « public/web/WebInputEvent.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // This method is called in response to WebView's handleInputEvent() 128 // This method is called in response to WebView's handleInputEvent()
129 // when the default action for the current keyboard event is not 129 // when the default action for the current keyboard event is not
130 // suppressed by the page, to give the embedder a chance to handle 130 // suppressed by the page, to give the embedder a chance to handle
131 // the keyboard event specially. 131 // the keyboard event specially.
132 // 132 //
133 // Returns true if the keyboard event was handled by the embedder, 133 // Returns true if the keyboard event was handled by the embedder,
134 // indicating that the default action should be suppressed. 134 // indicating that the default action should be suppressed.
135 virtual bool handleCurrentKeyboardEvent() { return false; } 135 virtual bool handleCurrentKeyboardEvent() { return false; }
136 136
137
Mike West 2015/01/29 11:49:35 Nit: This doesn't have anything to do with the cur
Habib Virji 2015/01/29 12:24:14 That's true, will push in new change.
138 // Dialogs ------------------------------------------------------------- 137 // Dialogs -------------------------------------------------------------
139 138
140 // This method returns immediately after showing the dialog. When the 139 // This method returns immediately after showing the dialog. When the
141 // dialog is closed, it should call the WebFileChooserCompletion to 140 // dialog is closed, it should call the WebFileChooserCompletion to
142 // pass the results of the dialog. Returns false if 141 // pass the results of the dialog. Returns false if
143 // WebFileChooseCompletion will never be called. 142 // WebFileChooseCompletion will never be called.
144 virtual bool runFileChooser(const WebFileChooserParams&, 143 virtual bool runFileChooser(const WebFileChooserParams&,
145 WebFileChooserCompletion*) { return false; } 144 WebFileChooserCompletion*) { return false; }
146 145
147 // Ask users to choose date/time for the specified parameters. When a user 146 // Ask users to choose date/time for the specified parameters. When a user
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // Informs the browser that the draggable regions have been updated. 292 // Informs the browser that the draggable regions have been updated.
294 virtual void draggableRegionsChanged() { } 293 virtual void draggableRegionsChanged() { }
295 294
296 protected: 295 protected:
297 ~WebViewClient() { } 296 ~WebViewClient() { }
298 }; 297 };
299 298
300 } // namespace blink 299 } // namespace blink
301 300
302 #endif 301 #endif
OLDNEW
« public/web/WebInputEvent.h ('K') | « public/web/WebInputEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698