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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 bool replace) override; | 132 bool replace) override; |
133 void stopLoading() override; | 133 void stopLoading() override; |
134 WebDataSource* provisionalDataSource() const override; | 134 WebDataSource* provisionalDataSource() const override; |
135 WebDataSource* dataSource() const override; | 135 WebDataSource* dataSource() const override; |
136 void enableViewSourceMode(bool enable) override; | 136 void enableViewSourceMode(bool enable) override; |
137 bool isViewSourceModeEnabled() const override; | 137 bool isViewSourceModeEnabled() const override; |
138 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 138 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
139 void dispatchWillSendRequest(WebURLRequest&) override; | 139 void dispatchWillSendRequest(WebURLRequest&) override; |
140 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override
; | 140 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override
; |
141 unsigned unloadListenerCount() const override; | 141 unsigned unloadListenerCount() const override; |
142 void insertText(const WebString&) override; | |
143 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; | 142 void setMarkedText(const WebString&, unsigned location, unsigned length) ove
rride; |
144 void unmarkText() override; | 143 void unmarkText() override; |
145 bool hasMarkedText() const override; | 144 bool hasMarkedText() const override; |
146 WebRange markedRange() const override; | 145 WebRange markedRange() const override; |
147 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; | 146 bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&
) const override; |
148 size_t characterIndexForPoint(const WebPoint&) const override; | 147 size_t characterIndexForPoint(const WebPoint&) const override; |
149 bool executeCommand(const WebString&) override; | 148 bool executeCommand(const WebString&) override; |
150 bool executeCommand(const WebString&, const WebString& value) override; | 149 bool executeCommand(const WebString&, const WebString& value) override; |
151 bool isCommandEnabled(const WebString&) const override; | 150 bool isCommandEnabled(const WebString&) const override; |
152 void enableSpellChecking(bool) override; | 151 void enableSpellChecking(bool) override; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 // Accomplish that by keeping a self-referential Persistent<>. It is | 392 // Accomplish that by keeping a self-referential Persistent<>. It is |
394 // cleared upon close(). | 393 // cleared upon close(). |
395 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 394 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
396 }; | 395 }; |
397 | 396 |
398 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 397 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
399 | 398 |
400 } // namespace blink | 399 } // namespace blink |
401 | 400 |
402 #endif | 401 #endif |
OLD | NEW |