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

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

Issue 179293007: Remove deprecated focusedNode APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « public/web/WebDocument.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, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 virtual void setFocusedFrame(WebFrame*) = 0; 176 virtual void setFocusedFrame(WebFrame*) = 0;
177 177
178 // Focus the first (last if reverse is true) focusable node. 178 // Focus the first (last if reverse is true) focusable node.
179 virtual void setInitialFocus(bool reverse) = 0; 179 virtual void setInitialFocus(bool reverse) = 0;
180 180
181 // Clears the focused element (and selection if a text field is focused) 181 // Clears the focused element (and selection if a text field is focused)
182 // to ensure that a text field on the page is not eating keystrokes we 182 // to ensure that a text field on the page is not eating keystrokes we
183 // send it. 183 // send it.
184 virtual void clearFocusedElement() = 0; 184 virtual void clearFocusedElement() = 0;
185 185
186 // Deprecated API. Will be removed soon..
187 virtual void clearFocusedNode() = 0;
188
189 // Scrolls the node currently in focus into view. 186 // Scrolls the node currently in focus into view.
190 virtual void scrollFocusedNodeIntoView() = 0; 187 virtual void scrollFocusedNodeIntoView() = 0;
191 188
192 // Scrolls the node currently in focus into |rect|, where |rect| is in 189 // Scrolls the node currently in focus into |rect|, where |rect| is in
193 // window space. 190 // window space.
194 virtual void scrollFocusedNodeIntoRect(const WebRect&) { } 191 virtual void scrollFocusedNodeIntoRect(const WebRect&) { }
195 192
196 // Advance the focus of the WebView forward to the next element or to the 193 // Advance the focus of the WebView forward to the next element or to the
197 // previous element in the tab sequence (if reverse is true). 194 // previous element in the tab sequence (if reverse is true).
198 virtual void advanceFocus(bool reverse) { } 195 virtual void advanceFocus(bool reverse) { }
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 493
497 // Testing functionality for TestRunner --------------------------------- 494 // Testing functionality for TestRunner ---------------------------------
498 495
499 protected: 496 protected:
500 ~WebView() {} 497 ~WebView() {}
501 }; 498 };
502 499
503 } // namespace blink 500 } // namespace blink
504 501
505 #endif 502 #endif
OLDNEW
« no previous file with comments | « public/web/WebDocument.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698