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

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

Issue 215473002: Remove WebFrame::findChildByExpression. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 8 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 | « Source/web/tests/WebFrameTest.cpp ('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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 virtual WebFrame* previousSibling() const = 0; 223 virtual WebFrame* previousSibling() const = 0;
224 224
225 // Returns the next/previous frame in "frame traversal order" 225 // Returns the next/previous frame in "frame traversal order"
226 // optionally wrapping around. 226 // optionally wrapping around.
227 virtual WebFrame* traverseNext(bool wrap) const = 0; 227 virtual WebFrame* traverseNext(bool wrap) const = 0;
228 virtual WebFrame* traversePrevious(bool wrap) const = 0; 228 virtual WebFrame* traversePrevious(bool wrap) const = 0;
229 229
230 // Returns the child frame identified by the given name. 230 // Returns the child frame identified by the given name.
231 virtual WebFrame* findChildByName(const WebString& name) const = 0; 231 virtual WebFrame* findChildByName(const WebString& name) const = 0;
232 232
233 // Returns the child frame identified by the given xpath expression.
234 virtual WebFrame* findChildByExpression(const WebString& xpath) const = 0;
235
236 233
237 // Content ------------------------------------------------------------ 234 // Content ------------------------------------------------------------
238 235
239 virtual WebDocument document() const = 0; 236 virtual WebDocument document() const = 0;
240 237
241 virtual WebPerformance performance() const = 0; 238 virtual WebPerformance performance() const = 0;
242 239
243 240
244 // Closing ------------------------------------------------------------- 241 // Closing -------------------------------------------------------------
245 242
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 // text form. This is used only by layout tests. 671 // text form. This is used only by layout tests.
675 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 672 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
676 673
677 protected: 674 protected:
678 ~WebFrame() { } 675 ~WebFrame() { }
679 }; 676 };
680 677
681 } // namespace blink 678 } // namespace blink
682 679
683 #endif 680 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698