OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void loadURLExternally( | 131 virtual void loadURLExternally( |
132 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } | 132 WebFrame*, const WebURLRequest&, WebNavigationPolicy, const WebString& d
ownloadName) { } |
133 | 133 |
134 | 134 |
135 // Navigational queries ------------------------------------------------ | 135 // Navigational queries ------------------------------------------------ |
136 | 136 |
137 // The client may choose to alter the navigation policy. Otherwise, | 137 // The client may choose to alter the navigation policy. Otherwise, |
138 // defaultPolicy should just be returned. | 138 // defaultPolicy should just be returned. |
139 virtual WebNavigationPolicy decidePolicyForNavigation( | 139 virtual WebNavigationPolicy decidePolicyForNavigation( |
140 WebFrame*, const WebURLRequest&, WebNavigationType, | 140 WebFrame*, const WebURLRequest&, WebNavigationType, |
141 const WebNode& originatingNode, | 141 const WebNode& deprecatedOriginatingNode, |
142 WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPoli
cy; } | 142 WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPoli
cy; } |
143 | 143 |
144 // Query if the specified request can be handled. | 144 // Query if the specified request can be handled. |
145 virtual bool canHandleRequest( | 145 virtual bool canHandleRequest( |
146 WebFrame*, const WebURLRequest& request) { return true; } | 146 WebFrame*, const WebURLRequest& request) { return true; } |
147 | 147 |
148 // Returns an error corresponding to canHandledRequest() returning false. | 148 // Returns an error corresponding to canHandledRequest() returning false. |
149 virtual WebURLError cannotHandleRequestError( | 149 virtual WebURLError cannotHandleRequestError( |
150 WebFrame*, const WebURLRequest& request) { return WebURLError(); } | 150 WebFrame*, const WebURLRequest& request) { return WebURLError(); } |
151 | 151 |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 // Extensions3D.h in WebCore/platform/graphics). | 443 // Extensions3D.h in WebCore/platform/graphics). |
444 virtual void didLoseWebGLContext(WebFrame*, int) { } | 444 virtual void didLoseWebGLContext(WebFrame*, int) { } |
445 | 445 |
446 protected: | 446 protected: |
447 ~WebFrameClient() { } | 447 ~WebFrameClient() { } |
448 }; | 448 }; |
449 | 449 |
450 } // namespace WebKit | 450 } // namespace WebKit |
451 | 451 |
452 #endif | 452 #endif |
OLD | NEW |