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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 bool isSelectionAnchorFirst() const override; 110 bool isSelectionAnchorFirst() const override;
111 WebRange caretOrSelectionRange() override; 111 WebRange caretOrSelectionRange() override;
112 void setTextDirection(WebTextDirection) override; 112 void setTextDirection(WebTextDirection) override;
113 bool isAcceleratedCompositingActive() const override; 113 bool isAcceleratedCompositingActive() const override;
114 void willCloseLayerTreeView() override; 114 void willCloseLayerTreeView() override;
115 void didChangeWindowResizerRect() override; 115 void didChangeWindowResizerRect() override;
116 void didAcquirePointerLock() override; 116 void didAcquirePointerLock() override;
117 void didNotAcquirePointerLock() override; 117 void didNotAcquirePointerLock() override;
118 void didLosePointerLock() override; 118 void didLosePointerLock() override;
119 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 119 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
120 void applyReplacementRange(int start, int length) override; 120 void applyReplacementRange(const WebRange&) override;
121 121
122 // WebFrameWidget implementation. 122 // WebFrameWidget implementation.
123 WebLocalFrameImpl* localRoot() override { return m_localRoot; } 123 WebLocalFrameImpl* localRoot() override { return m_localRoot; }
124 void setVisibilityState(WebPageVisibilityState) override; 124 void setVisibilityState(WebPageVisibilityState) override;
125 bool isTransparent() const override; 125 bool isTransparent() const override;
126 void setIsTransparent(bool) override; 126 void setIsTransparent(bool) override;
127 void setBaseBackgroundColor(WebColor) override; 127 void setBaseBackgroundColor(WebColor) override;
128 128
129 Frame* focusedCoreFrame() const; 129 Frame* focusedCoreFrame() const;
130 130
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 WebColor m_baseBackgroundColor; 254 WebColor m_baseBackgroundColor;
255 255
256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; 256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive;
257 }; 257 };
258 258
259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe()); 259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub frame(), widget.forSubframe());
260 260
261 } // namespace blink 261 } // namespace blink
262 262
263 #endif 263 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698