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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual void didHideCandidateWindow() override; | 112 virtual void didHideCandidateWindow() override; |
113 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const override; | 113 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const override; |
114 virtual bool isSelectionAnchorFirst() const override; | 114 virtual bool isSelectionAnchorFirst() const override; |
115 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e; | 115 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e; |
116 virtual void setTextDirection(WebTextDirection) override; | 116 virtual void setTextDirection(WebTextDirection) override; |
117 virtual bool isAcceleratedCompositingActive() const override; | 117 virtual bool isAcceleratedCompositingActive() const override; |
118 virtual void willCloseLayerTreeView() override; | 118 virtual void willCloseLayerTreeView() override; |
119 | 119 |
120 // WebView methods: | 120 // WebView methods: |
121 virtual void setMainFrame(WebFrame*) override; | 121 virtual void setMainFrame(WebFrame*) override; |
| 122 virtual void injectModule(const WebString&) override; |
122 virtual void setSpellCheckClient(WebSpellCheckClient*) override; | 123 virtual void setSpellCheckClient(WebSpellCheckClient*) override; |
123 virtual WebSettings* settings() override; | 124 virtual WebSettings* settings() override; |
124 virtual WebString pageEncoding() const override; | 125 virtual WebString pageEncoding() const override; |
125 virtual void setPageEncoding(const WebString&) override; | 126 virtual void setPageEncoding(const WebString&) override; |
126 virtual bool isTransparent() const override; | 127 virtual bool isTransparent() const override; |
127 virtual void setIsTransparent(bool value) override; | 128 virtual void setIsTransparent(bool value) override; |
128 virtual void setBaseBackgroundColor(WebColor) override; | 129 virtual void setBaseBackgroundColor(WebColor) override; |
129 virtual bool tabsToLinks() const override; | 130 virtual bool tabsToLinks() const override; |
130 virtual void setTabsToLinks(bool value) override; | 131 virtual void setTabsToLinks(bool value) override; |
131 virtual bool tabKeyCyclesThroughElements() const override; | 132 virtual bool tabKeyCyclesThroughElements() const override; |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 bool m_userGestureObserved; | 491 bool m_userGestureObserved; |
491 }; | 492 }; |
492 | 493 |
493 // We have no ways to check if the specified WebView is an instance of | 494 // We have no ways to check if the specified WebView is an instance of |
494 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 495 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
495 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 496 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
496 | 497 |
497 } // namespace blink | 498 } // namespace blink |
498 | 499 |
499 #endif | 500 #endif |
OLD | NEW |