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

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

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: 'controller' may be nullptr. 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) 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool hasTouchEventHandlersAt(const WebPoint&) override; 146 bool hasTouchEventHandlersAt(const WebPoint&) override;
147 147
148 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 148 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
149 const WebFloatSize& layoutViewportDelta, 149 const WebFloatSize& layoutViewportDelta,
150 const WebFloatSize& elasticOverscrollDelta, 150 const WebFloatSize& elasticOverscrollDelta,
151 float pageScaleDelta, 151 float pageScaleDelta,
152 float browserControlsShownRatioDelta) override; 152 float browserControlsShownRatioDelta) override;
153 void mouseCaptureLost() override; 153 void mouseCaptureLost() override;
154 void setFocus(bool enable) override; 154 void setFocus(bool enable) override;
155 WebRange compositionRange() override; 155 WebRange compositionRange() override;
156 WebTextInputInfo textInputInfo() override;
157 WebTextInputType textInputType() override;
158 WebColor backgroundColor() const override; 156 WebColor backgroundColor() const override;
159 WebPagePopup* pagePopup() const override; 157 WebPagePopup* pagePopup() const override;
160 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 158 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
161 bool selectionTextDirection(WebTextDirection& start, 159 bool selectionTextDirection(WebTextDirection& start,
162 WebTextDirection& end) const override; 160 WebTextDirection& end) const override;
163 bool isSelectionAnchorFirst() const override; 161 bool isSelectionAnchorFirst() const override;
164 WebRange caretOrSelectionRange() override; 162 WebRange caretOrSelectionRange() override;
165 void setTextDirection(WebTextDirection) override; 163 void setTextDirection(WebTextDirection) override;
166 bool isAcceleratedCompositingActive() const override; 164 bool isAcceleratedCompositingActive() const override;
167 void willCloseLayerTreeView() override; 165 void willCloseLayerTreeView() override;
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
742 }; 740 };
743 741
744 // We have no ways to check if the specified WebView is an instance of 742 // We have no ways to check if the specified WebView is an instance of
745 // WebViewImpl because WebViewImpl is the only implementation of WebView. 743 // WebViewImpl because WebViewImpl is the only implementation of WebView.
746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
747 745
748 } // namespace blink 746 } // namespace blink
749 747
750 #endif 748 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698