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

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

Issue 24286007: Add hasCommittedRealDocument API to WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebFrameImpl.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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 const WebURL& baseURL, 342 const WebURL& baseURL,
343 const WebURL& unreachableURL = WebURL(), 343 const WebURL& unreachableURL = WebURL(),
344 bool replace = false) = 0; 344 bool replace = false) = 0;
345 345
346 // Returns true if the current frame is busy loading content. 346 // Returns true if the current frame is busy loading content.
347 virtual bool isLoading() const = 0; 347 virtual bool isLoading() const = 0;
348 348
349 // Stops any pending loads on the frame and its children. 349 // Stops any pending loads on the frame and its children.
350 virtual void stopLoading() = 0; 350 virtual void stopLoading() = 0;
351 351
352 // Returns true if the current frame has committed the first real document.
353 virtual bool hasCommittedRealDocument() const = 0;
darin (slow to review) 2013/09/20 22:03:04 Note: On the Chromium side, you could also just ke
354
352 // Returns the data source that is currently loading. May be null. 355 // Returns the data source that is currently loading. May be null.
353 virtual WebDataSource* provisionalDataSource() const = 0; 356 virtual WebDataSource* provisionalDataSource() const = 0;
354 357
355 // Returns the data source that is currently loaded. 358 // Returns the data source that is currently loaded.
356 virtual WebDataSource* dataSource() const = 0; 359 virtual WebDataSource* dataSource() const = 0;
357 360
358 // Returns the previous history item. Check WebHistoryItem::isNull() 361 // Returns the previous history item. Check WebHistoryItem::isNull()
359 // before using. 362 // before using.
360 virtual WebHistoryItem previousHistoryItem() const = 0; 363 virtual WebHistoryItem previousHistoryItem() const = 0;
361 364
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 // text form. This is used only by layout tests. 653 // text form. This is used only by layout tests.
651 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 654 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
652 655
653 protected: 656 protected:
654 ~WebFrame() { } 657 ~WebFrame() { }
655 }; 658 };
656 659
657 } // namespace WebKit 660 } // namespace WebKit
658 661
659 #endif 662 #endif
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698