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

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

Issue 2608293002: [reland, refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodContr… (Closed)
Patch Set: Applied the fix. Created 3 years, 11 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool hasTouchEventHandlersAt(const WebPoint&) override; 93 bool hasTouchEventHandlersAt(const WebPoint&) override;
94 94
95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
96 const WebFloatSize& mainFrameDelta, 96 const WebFloatSize& mainFrameDelta,
97 const WebFloatSize& elasticOverscrollDelta, 97 const WebFloatSize& elasticOverscrollDelta,
98 float pageScaleDelta, 98 float pageScaleDelta,
99 float browserControlsDelta) override; 99 float browserControlsDelta) override;
100 void mouseCaptureLost() override; 100 void mouseCaptureLost() override;
101 void setFocus(bool enable) override; 101 void setFocus(bool enable) override;
102 WebRange compositionRange() override; 102 WebRange compositionRange() override;
103 WebTextInputInfo textInputInfo() override;
104 WebTextInputType textInputType() override;
105 WebColor backgroundColor() const override; 103 WebColor backgroundColor() const override;
106 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 104 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
107 bool selectionTextDirection(WebTextDirection& start, 105 bool selectionTextDirection(WebTextDirection& start,
108 WebTextDirection& end) const override; 106 WebTextDirection& end) const override;
109 bool isSelectionAnchorFirst() const override; 107 bool isSelectionAnchorFirst() const override;
110 WebRange caretOrSelectionRange() override; 108 WebRange caretOrSelectionRange() override;
111 void setTextDirection(WebTextDirection) override; 109 void setTextDirection(WebTextDirection) override;
112 bool isAcceleratedCompositingActive() const override; 110 bool isAcceleratedCompositingActive() const override;
113 void willCloseLayerTreeView() override; 111 void willCloseLayerTreeView() override;
114 void didAcquirePointerLock() override; 112 void didAcquirePointerLock() override;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 236
239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 237 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
240 WebFrameWidgetBase, 238 WebFrameWidgetBase,
241 widget, 239 widget,
242 widget->forSubframe(), 240 widget->forSubframe(),
243 widget.forSubframe()); 241 widget.forSubframe());
244 242
245 } // namespace blink 243 } // namespace blink
246 244
247 #endif 245 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698