| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } | 271 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } |
| 272 | 272 |
| 273 void setOverlayLayer(GraphicsLayer*); | 273 void setOverlayLayer(GraphicsLayer*); |
| 274 | 274 |
| 275 const WebPoint& lastMouseDownPoint() const | 275 const WebPoint& lastMouseDownPoint() const |
| 276 { | 276 { |
| 277 return m_lastMouseDownPoint; | 277 return m_lastMouseDownPoint; |
| 278 } | 278 } |
| 279 | 279 |
| 280 Frame* focusedWebCoreFrame() const; | 280 Frame* focusedCoreFrame() const; |
| 281 | 281 |
| 282 // Returns the currently focused Element or null if no element has focus. | 282 // Returns the currently focused Element or null if no element has focus. |
| 283 Element* focusedElement() const; | 283 Element* focusedElement() const; |
| 284 | 284 |
| 285 static WebViewImpl* fromPage(Page*); | 285 static WebViewImpl* fromPage(Page*); |
| 286 | 286 |
| 287 WebViewClient* client() | 287 WebViewClient* client() |
| 288 { | 288 { |
| 289 return m_client; | 289 return m_client; |
| 290 } | 290 } |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 bool m_userGestureObserved; | 715 bool m_userGestureObserved; |
| 716 }; | 716 }; |
| 717 | 717 |
| 718 // We have no ways to check if the specified WebView is an instance of | 718 // We have no ways to check if the specified WebView is an instance of |
| 719 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 719 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 720 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 720 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 721 | 721 |
| 722 } // namespace blink | 722 } // namespace blink |
| 723 | 723 |
| 724 #endif | 724 #endif |
| OLD | NEW |