| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 329 |
| 330 DevToolsEmulator* devToolsEmulator() const | 330 DevToolsEmulator* devToolsEmulator() const |
| 331 { | 331 { |
| 332 return m_devToolsEmulator.get(); | 332 return m_devToolsEmulator.get(); |
| 333 } | 333 } |
| 334 | 334 |
| 335 // Returns the main frame associated with this view. This may be null when | 335 // Returns the main frame associated with this view. This may be null when |
| 336 // the page is shutting down, but will be valid at all other times. | 336 // the page is shutting down, but will be valid at all other times. |
| 337 WebLocalFrameImpl* mainFrameImpl() const; | 337 WebLocalFrameImpl* mainFrameImpl() const; |
| 338 | 338 |
| 339 // FIXME: Temporary method to accommodate out-of-process frame ancestors; | |
| 340 // will be removed when there can be multiple WebWidgets for a single page. | |
| 341 WebLocalFrameImpl* localFrameRootTemporary() const; | |
| 342 | |
| 343 // Event related methods: | 339 // Event related methods: |
| 344 void mouseContextMenu(const WebMouseEvent&); | 340 void mouseContextMenu(const WebMouseEvent&); |
| 345 void mouseDoubleClick(const WebMouseEvent&); | 341 void mouseDoubleClick(const WebMouseEvent&); |
| 346 | 342 |
| 347 bool detectContentOnTouch(const GestureEventWithHitTestResults& targetedEven
t); | 343 bool detectContentOnTouch(const GestureEventWithHitTestResults& targetedEven
t); |
| 348 bool startPageScaleAnimation(const IntPoint& targetPosition, bool useAnchor,
float newScale, double durationInSeconds); | 344 bool startPageScaleAnimation(const IntPoint& targetPosition, bool useAnchor,
float newScale, double durationInSeconds); |
| 349 | 345 |
| 350 void hasTouchEventHandlers(bool); | 346 void hasTouchEventHandlers(bool); |
| 351 | 347 |
| 352 // WebGestureCurveTarget implementation for fling. | 348 // WebGestureCurveTarget implementation for fling. |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 bool m_overrideCompositorVisibility; | 768 bool m_overrideCompositorVisibility; |
| 773 }; | 769 }; |
| 774 | 770 |
| 775 // We have no ways to check if the specified WebView is an instance of | 771 // We have no ways to check if the specified WebView is an instance of |
| 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 772 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 778 | 774 |
| 779 } // namespace blink | 775 } // namespace blink |
| 780 | 776 |
| 781 #endif | 777 #endif |
| OLD | NEW |