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

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

Issue 215533004: Revert of Make start/stop loading notifications per-frame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebFrameClient.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 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Called to retrieve the provider of desktop notifications. 140 // Called to retrieve the provider of desktop notifications.
141 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 141 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
142 142
143 // This method enumerates all the files in the path. It returns immediately 143 // This method enumerates all the files in the path. It returns immediately
144 // and asynchronously invokes the WebFileChooserCompletion with all the 144 // and asynchronously invokes the WebFileChooserCompletion with all the
145 // files in the directory. Returns false if the WebFileChooserCompletion 145 // files in the directory. Returns false if the WebFileChooserCompletion
146 // will never be called. 146 // will never be called.
147 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; } 147 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; }
148 148
149 // Navigational --------------------------------------------------------
150
151 // These notifications bracket any loading that occurs in the WebView.
152 virtual void didStartLoading(bool toDifferentDocument) { }
153 virtual void didStopLoading() { }
154
155 // Notification that some progress was made loading the current page.
156 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully
157 // loaded).
158 virtual void didChangeLoadProgress(WebLocalFrame*, double loadProgress) { }
149 159
150 // Editing ------------------------------------------------------------- 160 // Editing -------------------------------------------------------------
151 161
152 // These methods allow the client to intercept and overrule editing 162 // These methods allow the client to intercept and overrule editing
153 // operations. 163 // operations.
154 virtual void didCancelCompositionOnSelectionChange() { } 164 virtual void didCancelCompositionOnSelectionChange() { }
155 virtual void didChangeContents() { } 165 virtual void didChangeContents() { }
156 virtual void didExecuteCommand(const WebString& commandName) { } 166 virtual void didExecuteCommand(const WebString& commandName) { }
157 167
158 // This method is called in response to WebView's handleInputEvent() 168 // This method is called in response to WebView's handleInputEvent()
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // Informs the browser that the draggable regions have been updated. 408 // Informs the browser that the draggable regions have been updated.
399 virtual void draggableRegionsChanged() { } 409 virtual void draggableRegionsChanged() { }
400 410
401 protected: 411 protected:
402 ~WebViewClient() { } 412 ~WebViewClient() { }
403 }; 413 };
404 414
405 } // namespace blink 415 } // namespace blink
406 416
407 #endif 417 #endif
OLDNEW
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698