| 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 583     // Returns true if the event was actually processed. | 583     // Returns true if the event was actually processed. | 
| 584     bool keyEventDefault(const WebKeyboardEvent&); | 584     bool keyEventDefault(const WebKeyboardEvent&); | 
| 585 | 585 | 
| 586     bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); | 586     bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); | 
| 587 | 587 | 
| 588     // Returns true if the view was scrolled. | 588     // Returns true if the view was scrolled. | 
| 589     bool scrollViewWithKeyboard(int keyCode, int modifiers); | 589     bool scrollViewWithKeyboard(int keyCode, int modifiers); | 
| 590 | 590 | 
| 591     void hideSelectPopup(); | 591     void hideSelectPopup(); | 
| 592 | 592 | 
| 593     // Converts |pos| from window coordinates to contents coordinates and gets | 593     HitTestResult hitTestResultForRootFramePos(const IntPoint&); | 
| 594     // the HitTestResult for it. | 594     HitTestResult hitTestResultForViewportPos(const IntPoint&); | 
| 595     HitTestResult hitTestResultForWindowPos(const IntPoint&); |  | 
| 596 | 595 | 
| 597     // Consolidate some common code between starting a drag over a target and | 596     // Consolidate some common code between starting a drag over a target and | 
| 598     // updating a drag over a target. If we're starting a drag, |isEntering| | 597     // updating a drag over a target. If we're starting a drag, |isEntering| | 
| 599     // should be true. | 598     // should be true. | 
| 600     WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, | 599     WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, | 
| 601                                                const WebPoint& screenPoint, | 600                                                const WebPoint& screenPoint, | 
| 602                                                DragAction, | 601                                                DragAction, | 
| 603                                                int modifiers); | 602                                                int modifiers); | 
| 604 | 603 | 
| 605     void configureAutoResizeMode(); | 604     void configureAutoResizeMode(); | 
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 788 }; | 787 }; | 
| 789 | 788 | 
| 790 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
     WebView()); | 789 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
     WebView()); | 
| 791 // We have no ways to check if the specified WebView is an instance of | 790 // We have no ways to check if the specified WebView is an instance of | 
| 792 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 791 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 
| 793 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 792 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 
| 794 | 793 | 
| 795 } // namespace blink | 794 } // namespace blink | 
| 796 | 795 | 
| 797 #endif | 796 #endif | 
| OLD | NEW | 
|---|