OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // 2) Calling layout() is a no-op. | 109 // 2) Calling layout() is a no-op. |
110 // After calling WebWidget::layout(), expect to get this notification | 110 // After calling WebWidget::layout(), expect to get this notification |
111 // for each frame unless the frame did not need a layout. | 111 // for each frame unless the frame did not need a layout. |
112 virtual void didUpdateLayout(WebFrame*) { } | 112 virtual void didUpdateLayout(WebFrame*) { } |
113 | 113 |
114 // Load commands ------------------------------------------------------- | 114 // Load commands ------------------------------------------------------- |
115 | 115 |
116 // The client should handle the navigation externally. | 116 // The client should handle the navigation externally. |
117 virtual void loadURLExternally( | 117 virtual void loadURLExternally( |
118 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } | 118 WebFrame*, const WebURLRequest&, WebNavigationPolicy) { } |
| 119 virtual void loadURLExternally( |
| 120 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } |
119 | 121 |
120 | 122 |
121 // Navigational queries ------------------------------------------------ | 123 // Navigational queries ------------------------------------------------ |
122 | 124 |
123 // The client may choose to alter the navigation policy. Otherwise, | 125 // The client may choose to alter the navigation policy. Otherwise, |
124 // defaultPolicy should just be returned. | 126 // defaultPolicy should just be returned. |
125 virtual WebNavigationPolicy decidePolicyForNavigation( | 127 virtual WebNavigationPolicy decidePolicyForNavigation( |
126 WebFrame*, const WebURLRequest&, WebNavigationType, | 128 WebFrame*, const WebURLRequest&, WebNavigationType, |
127 const WebNode& originatingNode, | 129 const WebNode& originatingNode, |
128 WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPoli
cy; } | 130 WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPoli
cy; } |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 unsigned long long newQuotaInBytes, | 378 unsigned long long newQuotaInBytes, |
377 WebStorageQuotaCallbacks*) { } | 379 WebStorageQuotaCallbacks*) { } |
378 | 380 |
379 protected: | 381 protected: |
380 ~WebFrameClient() { } | 382 ~WebFrameClient() { } |
381 }; | 383 }; |
382 | 384 |
383 } // namespace WebKit | 385 } // namespace WebKit |
384 | 386 |
385 #endif | 387 #endif |
OLD | NEW |