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

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

Issue 2592953003: Revert of [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Created 4 years 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool hasTouchEventHandlersAt(const WebPoint&) override; 145 bool hasTouchEventHandlersAt(const WebPoint&) override;
146 146
147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, 147 void applyViewportDeltas(const WebFloatSize& visualViewportDelta,
148 const WebFloatSize& layoutViewportDelta, 148 const WebFloatSize& layoutViewportDelta,
149 const WebFloatSize& elasticOverscrollDelta, 149 const WebFloatSize& elasticOverscrollDelta,
150 float pageScaleDelta, 150 float pageScaleDelta,
151 float browserControlsShownRatioDelta) override; 151 float browserControlsShownRatioDelta) override;
152 void mouseCaptureLost() override; 152 void mouseCaptureLost() override;
153 void setFocus(bool enable) override; 153 void setFocus(bool enable) override;
154 WebRange compositionRange() override; 154 WebRange compositionRange() override;
155 WebTextInputInfo textInputInfo() override;
156 WebTextInputType textInputType() override;
155 WebColor backgroundColor() const override; 157 WebColor backgroundColor() const override;
156 WebPagePopup* pagePopup() const override; 158 WebPagePopup* pagePopup() const override;
157 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 159 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
158 bool selectionTextDirection(WebTextDirection& start, 160 bool selectionTextDirection(WebTextDirection& start,
159 WebTextDirection& end) const override; 161 WebTextDirection& end) const override;
160 bool isSelectionAnchorFirst() const override; 162 bool isSelectionAnchorFirst() const override;
161 WebRange caretOrSelectionRange() override; 163 WebRange caretOrSelectionRange() override;
162 void setTextDirection(WebTextDirection) override; 164 void setTextDirection(WebTextDirection) override;
163 bool isAcceleratedCompositingActive() const override; 165 bool isAcceleratedCompositingActive() const override;
164 void willCloseLayerTreeView() override; 166 void willCloseLayerTreeView() override;
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 738 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
737 }; 739 };
738 740
739 // We have no ways to check if the specified WebView is an instance of 741 // We have no ways to check if the specified WebView is an instance of
740 // WebViewImpl because WebViewImpl is the only implementation of WebView. 742 // WebViewImpl because WebViewImpl is the only implementation of WebView.
741 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 743 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
742 744
743 } // namespace blink 745 } // namespace blink
744 746
745 #endif 747 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698