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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 virtual bool handleInputEvent(const WebInputEvent&) override; | 74 virtual bool handleInputEvent(const WebInputEvent&) override; |
75 virtual void setFocus(bool enable) override; | 75 virtual void setFocus(bool enable) override; |
76 virtual bool setComposition( | 76 virtual bool setComposition( |
77 const WebString& text, | 77 const WebString& text, |
78 const WebVector<WebCompositionUnderline>& underlines, | 78 const WebVector<WebCompositionUnderline>& underlines, |
79 int selectionStart, | 79 int selectionStart, |
80 int selectionEnd) override; | 80 int selectionEnd) override; |
81 virtual bool confirmComposition() override; | 81 virtual bool confirmComposition() override; |
82 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; | 82 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; |
83 virtual bool confirmComposition(const WebString& text) override; | 83 virtual bool confirmComposition(const WebString& text) override; |
84 virtual bool compositionRange(size_t* location, size_t* length) override; | |
85 virtual WebTextInputInfo textInputInfo() override; | 84 virtual WebTextInputInfo textInputInfo() override; |
86 virtual WebColor backgroundColor() const override; | |
87 | 85 |
88 // WebView methods: | 86 // WebView methods: |
89 virtual void setMainFrame(WebFrame*) override; | 87 virtual void setMainFrame(WebFrame*) override; |
90 virtual void injectModule(const WebString&) override; | 88 virtual void injectModule(const WebString&) override; |
91 virtual void setSpellCheckClient(WebSpellCheckClient*) override; | 89 virtual void setSpellCheckClient(WebSpellCheckClient*) override; |
92 virtual WebSettings* settings() override; | 90 virtual WebSettings* settings() override; |
93 virtual bool isTransparent() const override; | 91 virtual bool isTransparent() const override; |
94 virtual void setIsTransparent(bool value) override; | 92 virtual void setIsTransparent(bool value) override; |
95 virtual void setBaseBackgroundColor(WebColor) override; | 93 virtual void setBaseBackgroundColor(WebColor) override; |
96 virtual bool isActive() const override; | 94 virtual bool isActive() const override; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 WebColor m_backgroundColorOverride; | 248 WebColor m_backgroundColorOverride; |
251 }; | 249 }; |
252 | 250 |
253 // We have no ways to check if the specified WebView is an instance of | 251 // We have no ways to check if the specified WebView is an instance of |
254 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 252 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
255 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 253 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
256 | 254 |
257 } // namespace blink | 255 } // namespace blink |
258 | 256 |
259 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ | 257 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ |
OLD | NEW |