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

Unified Diff: webkit/glue/webview_impl.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/webview.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.h
===================================================================
--- webkit/glue/webview_impl.h (revision 19803)
+++ webkit/glue/webview_impl.h (working copy)
@@ -73,7 +73,6 @@
virtual void MouseCaptureLost();
virtual void SetFocus(bool enable);
virtual void ClearFocusedNode();
- virtual void StoreFocusForFrame(WebFrame* frame);
virtual bool ImeSetComposition(int string_type,
int cursor_position,
int target_start,
@@ -84,7 +83,6 @@
virtual void SetTextDirection(WebTextDirection direction);
virtual void StopLoading();
virtual void SetBackForwardListSize(int size);
- virtual void RestoreFocus();
virtual void SetInitialFocus(bool reverse);
virtual bool DownloadImage(int id, const GURL& image_url, int image_size);
virtual void SetPreferences(const WebPreferences& preferences);
@@ -188,9 +186,6 @@
// Mouse button down event.
bool SendContextMenuEvent(const WebKit::WebKeyboardEvent& event);
- // Releases references used to restore focus.
- void ReleaseFocusReferences();
-
// Notifies the WebView that a load has been committed.
// is_new_navigation will be true if a new session history item should be
// created for that load.
@@ -238,12 +233,6 @@
WebKit::WebSize size_;
WebKit::WebPoint last_mouse_position_;
- // Reference to the Frame that last had focus. This is set once when
- // we lose focus, and used when focus is gained to reinstall focus to
- // the correct element.
- RefPtr<WebCore::Frame> last_focused_frame_;
- // Reference to the node that last had focus.
- RefPtr<WebCore::Node> last_focused_node_;
scoped_ptr<WebCore::Page> page_;
webkit_glue::BackForwardListClientImpl back_forward_list_client_impl_;
« no previous file with comments | « webkit/glue/webview.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698