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

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

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Created 4 years, 1 month 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 239
242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 240 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
243 WebFrameWidgetBase, 241 WebFrameWidgetBase,
244 widget, 242 widget,
245 widget->forSubframe(), 243 widget->forSubframe(),
246 widget.forSubframe()); 244 widget.forSubframe());
247 245
248 } // namespace blink 246 } // namespace blink
249 247
250 #endif 248 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698