OLD | NEW |
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // This method enumerates all the files in the path. It returns immediately | 144 // This method enumerates all the files in the path. It returns immediately |
145 // and asynchronously invokes the WebFileChooserCompletion with all the | 145 // and asynchronously invokes the WebFileChooserCompletion with all the |
146 // files in the directory. Returns false if the WebFileChooserCompletion | 146 // files in the directory. Returns false if the WebFileChooserCompletion |
147 // will never be called. | 147 // will never be called. |
148 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC
ompletion*) { return false; } | 148 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC
ompletion*) { return false; } |
149 | 149 |
150 // Creates the main WebFrame for the specified WebHelperPlugin. | 150 // Creates the main WebFrame for the specified WebHelperPlugin. |
151 // Called by WebHelperPlugin to provide the WebFrameClient interface for the
WebFrame. | 151 // Called by WebHelperPlugin to provide the WebFrameClient interface for the
WebFrame. |
152 virtual void initializeHelperPluginWebFrame(WebHelperPlugin*) { } | 152 virtual void initializeHelperPluginWebFrame(WebHelperPlugin*) { } |
153 | 153 |
154 | |
155 // Navigational -------------------------------------------------------- | 154 // Navigational -------------------------------------------------------- |
156 | 155 |
157 // These notifications bracket any loading that occurs in the WebView. | 156 // These notifications bracket any loading that occurs in the WebView. |
158 virtual void didStartLoading() { } | 157 virtual void didStartLoading() { } |
159 virtual void didStopLoading() { } | 158 virtual void didStopLoading() { } |
160 | 159 |
161 // Notification that some progress was made loading the current page. | 160 // Notification that some progress was made loading the current page. |
162 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully | 161 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully |
163 // loaded). | 162 // loaded). |
164 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { } | 163 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { } |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // Informs the browser that the draggable regions have been updated. | 404 // Informs the browser that the draggable regions have been updated. |
406 virtual void draggableRegionsChanged() { } | 405 virtual void draggableRegionsChanged() { } |
407 | 406 |
408 protected: | 407 protected: |
409 ~WebViewClient() { } | 408 ~WebViewClient() { } |
410 }; | 409 }; |
411 | 410 |
412 } // namespace WebKit | 411 } // namespace WebKit |
413 | 412 |
414 #endif | 413 #endif |
OLD | NEW |