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

Side by Side Diff: Source/WebKit/chromium/public/WebFrameClient.h

Issue 7521007: Merge 91797 - Add support for download='filename' attribute in anchors. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/WebKit/chromium/src/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698