OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual WebDocument document() const override; | 69 virtual WebDocument document() const override; |
70 virtual void executeScript(const WebScriptSource&) override; | 70 virtual void executeScript(const WebScriptSource&) override; |
71 virtual void addMessageToConsole(const WebConsoleMessage&) override; | 71 virtual void addMessageToConsole(const WebConsoleMessage&) override; |
72 virtual void collectGarbage() override; | 72 virtual void collectGarbage() override; |
73 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); | 73 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); |
74 virtual void replaceSelection(const WebString&) override; | 74 virtual void replaceSelection(const WebString&) override; |
75 virtual void insertText(const WebString&) override; | 75 virtual void insertText(const WebString&) override; |
76 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) override; | 76 virtual void setMarkedText(const WebString&, unsigned location, unsigned len
gth) override; |
77 virtual void unmarkText() override; | 77 virtual void unmarkText() override; |
78 virtual bool hasMarkedText() const override; | 78 virtual bool hasMarkedText() const override; |
79 virtual WebRange markedRange() const override; | |
80 virtual bool firstRectForCharacterRange(unsigned location, unsigned length,
WebRect&) const override; | |
81 virtual size_t characterIndexForPoint(const WebPoint&) const override; | |
82 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov
erride; | 79 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov
erride; |
83 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; | 80 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; |
84 virtual bool isCommandEnabled(const WebString&) const override; | 81 virtual bool isCommandEnabled(const WebString&) const override; |
85 virtual void enableContinuousSpellChecking(bool) override; | 82 virtual void enableContinuousSpellChecking(bool) override; |
86 virtual bool isContinuousSpellCheckingEnabled() const override; | 83 virtual bool isContinuousSpellCheckingEnabled() const override; |
87 virtual void requestTextChecking(const WebElement&) override; | 84 virtual void requestTextChecking(const WebElement&) override; |
88 virtual void replaceMisspelledRange(const WebString&) override; | 85 virtual void replaceMisspelledRange(const WebString&) override; |
89 virtual void removeSpellingMarkers() override; | 86 virtual void removeSpellingMarkers() override; |
90 virtual bool hasSelection() const override; | 87 virtual bool hasSelection() const override; |
91 virtual WebRange selectionRange() const override; | 88 virtual WebRange selectionRange() const override; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 149 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
153 IntSize m_inputEventsOffsetForEmulation; | 150 IntSize m_inputEventsOffsetForEmulation; |
154 float m_inputEventsScaleFactorForEmulation; | 151 float m_inputEventsScaleFactorForEmulation; |
155 }; | 152 }; |
156 | 153 |
157 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 154 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
158 | 155 |
159 } // namespace blink | 156 } // namespace blink |
160 | 157 |
161 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ | 158 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ |
OLD | NEW |