| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebLocalFrame_h | 5 #ifndef WebLocalFrame_h |
| 6 #define WebLocalFrame_h | 6 #define WebLocalFrame_h |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include "WebCompositionUnderline.h" | 9 #include "WebCompositionUnderline.h" |
| 10 #include "WebFrame.h" | 10 #include "WebFrame.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class WebAutofillClient; | 26 class WebAutofillClient; |
| 27 class WebContentSettingsClient; | 27 class WebContentSettingsClient; |
| 28 class WebDevToolsAgent; | 28 class WebDevToolsAgent; |
| 29 class WebDevToolsAgentClient; | 29 class WebDevToolsAgentClient; |
| 30 class WebDoubleSize; | 30 class WebDoubleSize; |
| 31 class WebFrameClient; | 31 class WebFrameClient; |
| 32 class WebFrameWidget; | 32 class WebFrameWidget; |
| 33 class WebInputMethodController; | 33 class WebInputMethodController; |
| 34 class WebRange; | 34 class WebRange; |
| 35 class WebScriptExecutionCallback; | 35 class WebScriptExecutionCallback; |
| 36 class WebTextCheckClient; |
| 36 enum class WebCachePolicy; | 37 enum class WebCachePolicy; |
| 37 enum class WebSandboxFlags; | 38 enum class WebSandboxFlags; |
| 38 enum class WebTreeScopeType; | 39 enum class WebTreeScopeType; |
| 39 struct WebConsoleMessage; | 40 struct WebConsoleMessage; |
| 40 struct WebContentSecurityPolicyViolation; | 41 struct WebContentSecurityPolicyViolation; |
| 41 struct WebFindOptions; | 42 struct WebFindOptions; |
| 42 struct WebFloatRect; | 43 struct WebFloatRect; |
| 43 struct WebPrintPresetOptions; | 44 struct WebPrintPresetOptions; |
| 44 struct WebSourceLocation; | 45 struct WebSourceLocation; |
| 45 | 46 |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 // glyphs. | 367 // glyphs. |
| 367 // 2. This method does nothing if there are one or more invalid surrogate | 368 // 2. This method does nothing if there are one or more invalid surrogate |
| 368 // pairs in the requested range. | 369 // pairs in the requested range. |
| 369 virtual void deleteSurroundingTextInCodePoints(int before, int after) = 0; | 370 virtual void deleteSurroundingTextInCodePoints(int before, int after) = 0; |
| 370 | 371 |
| 371 virtual void extractSmartClipData(WebRect rectInViewport, | 372 virtual void extractSmartClipData(WebRect rectInViewport, |
| 372 WebString& clipText, | 373 WebString& clipText, |
| 373 WebString& clipHtml) = 0; | 374 WebString& clipHtml) = 0; |
| 374 | 375 |
| 375 // Spell-checking support ------------------------------------------------- | 376 // Spell-checking support ------------------------------------------------- |
| 377 virtual void setTextCheckClient(WebTextCheckClient*) = 0; |
| 376 virtual void replaceMisspelledRange(const WebString&) = 0; | 378 virtual void replaceMisspelledRange(const WebString&) = 0; |
| 377 virtual void enableSpellChecking(bool) = 0; | 379 virtual void enableSpellChecking(bool) = 0; |
| 378 virtual bool isSpellCheckingEnabled() const = 0; | 380 virtual bool isSpellCheckingEnabled() const = 0; |
| 379 virtual void removeSpellingMarkers() = 0; | 381 virtual void removeSpellingMarkers() = 0; |
| 380 | 382 |
| 381 // Content Settings ------------------------------------------------------- | 383 // Content Settings ------------------------------------------------------- |
| 382 | 384 |
| 383 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; | 385 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; |
| 384 | 386 |
| 385 // Image reload ----------------------------------------------------------- | 387 // Image reload ----------------------------------------------------------- |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 // to call these on a WebLocalFrame. | 536 // to call these on a WebLocalFrame. |
| 535 bool isWebLocalFrame() const override = 0; | 537 bool isWebLocalFrame() const override = 0; |
| 536 WebLocalFrame* toWebLocalFrame() override = 0; | 538 WebLocalFrame* toWebLocalFrame() override = 0; |
| 537 bool isWebRemoteFrame() const override = 0; | 539 bool isWebRemoteFrame() const override = 0; |
| 538 WebRemoteFrame* toWebRemoteFrame() override = 0; | 540 WebRemoteFrame* toWebRemoteFrame() override = 0; |
| 539 }; | 541 }; |
| 540 | 542 |
| 541 } // namespace blink | 543 } // namespace blink |
| 542 | 544 |
| 543 #endif // WebLocalFrame_h | 545 #endif // WebLocalFrame_h |
| OLD | NEW |