@@ -52,16 +52,6 @@ typedef enum {
5252 */
5353- (NSView *)viewWithFrame : (NSRect )frame forOrder : (FsprgOrder *)order ;
5454
55- /* !
56- * Gets called after loading the page and upon resizing the window.
57- * The default embedded store layout assumes that the content div's height will get shortened
58- * to make room for the navigation bar. If your layout doesn't require that assumption, you can
59- * return NO here to avoid this manual height fixing.
60- * @param controller The store controller in question
61- * @result YES if you'd like the store controller to fix the content div's height, NO otherwise.
62- */
63- - (BOOL )shouldStoreControllerFixContentDivHeight : (FsprgEmbeddedStoreController *)controller ;
64-
6555/* !
6656 * Invoked if an error occurs when starting to load data for a page.
6757 * @param sender The web view containing the frame.
@@ -78,4 +68,15 @@ typedef enum {
7868 */
7969- (void )webView : (WebView *)sender didFailLoadWithError : (NSError *)error forFrame : (WebFrame *)frame ;
8070
71+ @optional
72+ /* !
73+ * Gets called after loading the page and upon resizing the window.
74+ * The default embedded store layout assumes that the content div's height will get shortened
75+ * to make room for the navigation bar. If your layout doesn't require that assumption, you can
76+ * return NO here to avoid this manual height fixing.
77+ * @param controller The store controller in question
78+ * @result YES if you'd like the store controller to fix the content div's height, NO otherwise.
79+ */
80+ - (BOOL )shouldStoreControllerFixContentDivHeight : (FsprgEmbeddedStoreController *)controller ;
81+
8182@end
0 commit comments