| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // WebWidget methods: | 70 // WebWidget methods: |
| 71 virtual void close() override; | 71 virtual void close() override; |
| 72 virtual WebSize size() override; | 72 virtual WebSize size() override; |
| 73 | 73 |
| 74 virtual void resize(const WebSize&) override; | 74 virtual void resize(const WebSize&) override; |
| 75 | 75 |
| 76 virtual void beginFrame(const WebBeginFrameArgs&) override; | 76 virtual void beginFrame(const WebBeginFrameArgs&) override; |
| 77 | 77 |
| 78 virtual void layout() override; | 78 virtual void layout() override; |
| 79 virtual void paint(WebCanvas*, const WebRect&) override; | 79 virtual void paint(WebCanvas*, const WebRect&) override; |
| 80 virtual bool isTrackingRepaints() const override; | |
| 81 virtual bool handleInputEvent(const WebInputEvent&) override; | 80 virtual bool handleInputEvent(const WebInputEvent&) override; |
| 82 virtual void setCursorVisibilityState(bool isVisible) override; | 81 virtual void setCursorVisibilityState(bool isVisible) override; |
| 83 virtual void mouseCaptureLost() override; | 82 virtual void mouseCaptureLost() override; |
| 84 virtual void setFocus(bool enable) override; | 83 virtual void setFocus(bool enable) override; |
| 85 virtual bool setComposition( | 84 virtual bool setComposition( |
| 86 const WebString& text, | 85 const WebString& text, |
| 87 const WebVector<WebCompositionUnderline>& underlines, | 86 const WebVector<WebCompositionUnderline>& underlines, |
| 88 int selectionStart, | 87 int selectionStart, |
| 89 int selectionEnd) override; | 88 int selectionEnd) override; |
| 90 virtual bool confirmComposition() override; | 89 virtual bool confirmComposition() override; |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 bool m_userGestureObserved; | 349 bool m_userGestureObserved; |
| 351 }; | 350 }; |
| 352 | 351 |
| 353 // We have no ways to check if the specified WebView is an instance of | 352 // We have no ways to check if the specified WebView is an instance of |
| 354 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 353 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 355 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 354 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 356 | 355 |
| 357 } // namespace blink | 356 } // namespace blink |
| 358 | 357 |
| 359 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ | 358 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ |
| OLD | NEW |