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

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

Issue 1381003004: Better distinguish didFinishLoad and didStopLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 virtual void dispatchWillSendRequest(WebURLRequest&) = 0; 417 virtual void dispatchWillSendRequest(WebURLRequest&) = 0;
418 418
419 // Returns a WebURLLoader that is associated with this frame. The loader 419 // Returns a WebURLLoader that is associated with this frame. The loader
420 // will, for example, be cancelled when WebFrame::stopLoading is called. 420 // will, for example, be cancelled when WebFrame::stopLoading is called.
421 // FIXME: stopLoading does not yet cancel an associated loader!! 421 // FIXME: stopLoading does not yet cancel an associated loader!!
422 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions& = WebURLLoaderOptions()) = 0; 422 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions& = WebURLLoaderOptions()) = 0;
423 423
424 // Returns the number of registered unload listeners. 424 // Returns the number of registered unload listeners.
425 virtual unsigned unloadListenerCount() const = 0; 425 virtual unsigned unloadListenerCount() const = 0;
426 426
427 // Will return true if between didStartLoading and didStopLoading notificati ons.
428 virtual bool isLoading() const;
429
427 430
428 // Editing ------------------------------------------------------------- 431 // Editing -------------------------------------------------------------
429 432
430 // Replaces the selection with the given text. 433 // Replaces the selection with the given text.
431 virtual void replaceSelection(const WebString& text) = 0; 434 virtual void replaceSelection(const WebString& text) = 0;
432 435
433 virtual void insertText(const WebString& text) = 0; 436 virtual void insertText(const WebString& text) = 0;
434 437
435 virtual void setMarkedText(const WebString& text, unsigned location, unsigne d length) = 0; 438 virtual void setMarkedText(const WebString& text, unsigned location, unsigne d length) = 0;
436 virtual void unmarkText() = 0; 439 virtual void unmarkText() = 0;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 739 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
737 }; 740 };
738 741
739 #if BLINK_IMPLEMENTATION 742 #if BLINK_IMPLEMENTATION
740 Frame* toCoreFrame(const WebFrame*); 743 Frame* toCoreFrame(const WebFrame*);
741 #endif 744 #endif
742 745
743 } // namespace blink 746 } // namespace blink
744 747
745 #endif 748 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698