Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2303613003: WebRange-ify WebWidget::applyReplacementRange. (Closed)
Patch Set: Updated comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 bool isSelectionAnchorFirst() const override; 154 bool isSelectionAnchorFirst() const override;
155 WebRange caretOrSelectionRange() override; 155 WebRange caretOrSelectionRange() override;
156 void setTextDirection(WebTextDirection) override; 156 void setTextDirection(WebTextDirection) override;
157 bool isAcceleratedCompositingActive() const override; 157 bool isAcceleratedCompositingActive() const override;
158 void willCloseLayerTreeView() override; 158 void willCloseLayerTreeView() override;
159 void didAcquirePointerLock() override; 159 void didAcquirePointerLock() override;
160 void didNotAcquirePointerLock() override; 160 void didNotAcquirePointerLock() override;
161 void didLosePointerLock() override; 161 void didLosePointerLock() override;
162 void didChangeWindowResizerRect() override; 162 void didChangeWindowResizerRect() override;
163 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 163 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
164 void applyReplacementRange(int start, int length) override; 164 void applyReplacementRange(const WebRange&) override;
165 165
166 // WebView methods: 166 // WebView methods:
167 virtual bool isWebView() const { return true; } 167 virtual bool isWebView() const { return true; }
168 void setMainFrame(WebFrame*) override; 168 void setMainFrame(WebFrame*) override;
169 void setCredentialManagerClient(WebCredentialManagerClient*) override; 169 void setCredentialManagerClient(WebCredentialManagerClient*) override;
170 void setPrerendererClient(WebPrerendererClient*) override; 170 void setPrerendererClient(WebPrerendererClient*) override;
171 void setSpellCheckClient(WebSpellCheckClient*) override; 171 void setSpellCheckClient(WebSpellCheckClient*) override;
172 WebSettings* settings() override; 172 WebSettings* settings() override;
173 WebString pageEncoding() const override; 173 WebString pageEncoding() const override;
174 void setPageEncoding(const WebString&) override; 174 void setPageEncoding(const WebString&) override;
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 780 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
781 }; 781 };
782 782
783 // We have no ways to check if the specified WebView is an instance of 783 // We have no ways to check if the specified WebView is an instance of
784 // WebViewImpl because WebViewImpl is the only implementation of WebView. 784 // WebViewImpl because WebViewImpl is the only implementation of WebView.
785 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 785 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
786 786
787 } // namespace blink 787 } // namespace blink
788 788
789 #endif 789 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698