| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 { | 310 { |
| 311 return m_page.get(); | 311 return m_page.get(); |
| 312 } | 312 } |
| 313 | 313 |
| 314 // Returns the main frame associated with this view. This may be null when | 314 // Returns the main frame associated with this view. This may be null when |
| 315 // the page is shutting down, but will be valid at all other times. | 315 // the page is shutting down, but will be valid at all other times. |
| 316 WebLocalFrameImpl* mainFrameImpl(); | 316 WebLocalFrameImpl* mainFrameImpl(); |
| 317 | 317 |
| 318 // FIXME: Temporary method to accommodate out-of-process frame ancestors; | 318 // FIXME: Temporary method to accommodate out-of-process frame ancestors; |
| 319 // will be removed when there can be multiple WebWidgets for a single page. | 319 // will be removed when there can be multiple WebWidgets for a single page. |
| 320 WebLocalFrameImpl* localFrameRootTemporary(); | 320 WebLocalFrameImpl* localFrameRootTemporary() const; |
| 321 | 321 |
| 322 // Event related methods: | 322 // Event related methods: |
| 323 void mouseContextMenu(const WebMouseEvent&); | 323 void mouseContextMenu(const WebMouseEvent&); |
| 324 void mouseDoubleClick(const WebMouseEvent&); | 324 void mouseDoubleClick(const WebMouseEvent&); |
| 325 | 325 |
| 326 bool detectContentOnTouch(const WebPoint&); | 326 bool detectContentOnTouch(const WebPoint&); |
| 327 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u
seAnchor, float newScale, double durationInSeconds); | 327 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u
seAnchor, float newScale, double durationInSeconds); |
| 328 | 328 |
| 329 void hasTouchEventHandlers(bool); | 329 void hasTouchEventHandlers(bool); |
| 330 | 330 |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 bool m_userGestureObserved; | 721 bool m_userGestureObserved; |
| 722 }; | 722 }; |
| 723 | 723 |
| 724 // We have no ways to check if the specified WebView is an instance of | 724 // We have no ways to check if the specified WebView is an instance of |
| 725 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 725 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 726 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 726 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 727 | 727 |
| 728 } // namespace blink | 728 } // namespace blink |
| 729 | 729 |
| 730 #endif | 730 #endif |
| OLD | NEW |