| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); | 346 void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage); |
| 347 | 347 |
| 348 // Indicates two things: | 348 // Indicates two things: |
| 349 // 1) This view may have a new layout now. | 349 // 1) This view may have a new layout now. |
| 350 // 2) Calling layout() is a no-op. | 350 // 2) Calling layout() is a no-op. |
| 351 // After calling WebWidget::layout(), expect to get this notification | 351 // After calling WebWidget::layout(), expect to get this notification |
| 352 // unless the view did not need a layout. | 352 // unless the view did not need a layout. |
| 353 void layoutUpdated(WebLocalFrameImpl*); | 353 void layoutUpdated(WebLocalFrameImpl*); |
| 354 | 354 |
| 355 void willInsertBody(WebLocalFrameImpl*); | 355 void willInsertBody(WebLocalFrameImpl*); |
| 356 void didRemoveAllPendingStylesheet(WebLocalFrameImpl*); |
| 356 void didChangeContentsSize(); | 357 void didChangeContentsSize(); |
| 357 void deviceOrPageScaleFactorChanged(); | 358 void deviceOrPageScaleFactorChanged(); |
| 358 | 359 |
| 359 // Returns true if popup menus should be rendered by the browser, false if | 360 // Returns true if popup menus should be rendered by the browser, false if |
| 360 // they should be rendered by WebKit (which is the default). | 361 // they should be rendered by WebKit (which is the default). |
| 361 static bool useExternalPopupMenus(); | 362 static bool useExternalPopupMenus(); |
| 362 | 363 |
| 363 bool contextMenuAllowed() const | 364 bool contextMenuAllowed() const |
| 364 { | 365 { |
| 365 return m_contextMenuAllowed; | 366 return m_contextMenuAllowed; |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 bool m_userGestureObserved; | 717 bool m_userGestureObserved; |
| 717 }; | 718 }; |
| 718 | 719 |
| 719 // We have no ways to check if the specified WebView is an instance of | 720 // We have no ways to check if the specified WebView is an instance of |
| 720 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 721 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 722 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 722 | 723 |
| 723 } // namespace blink | 724 } // namespace blink |
| 724 | 725 |
| 725 #endif | 726 #endif |
| OLD | NEW |