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

Unified Diff: webkit/glue/webview.h

Issue 151195: Simplifying renderer focus management (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
===================================================================
--- webkit/glue/webview.h (revision 19803)
+++ webkit/glue/webview.h (working copy)
@@ -112,22 +112,9 @@
// ---- TODO(darin): remove to here ----
- // Restores focus to the previously focused element.
- // This method is invoked when the webview is shown after being
- // hidden, and focus is to be restored. When WebView loses focus, it remembers
- // the frame/element that had focus, so that when this method is invoked
- // focus is then restored.
- virtual void RestoreFocus() = 0;
-
// Focus the first (last if reverse is true) focusable node.
virtual void SetInitialFocus(bool reverse) = 0;
- // Stores the focused node and clears it if |frame| is the focused frame.
- // TODO(jcampan): http://b/issue?id=1157486 this is needed to work-around
- // issues caused by the fix for bug #792423 and should be removed when that
- // bug is fixed.
- virtual void StoreFocusForFrame(WebFrame* frame) = 0;
-
// Clears the focused node (and selection if a text field is focused) to
// ensure that a text field on the page is not eating keystrokes we send it.
virtual void ClearFocusedNode() = 0;
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698