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

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: Fixed Rebase Created 3 years, 12 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) 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;
157 WebColor backgroundColor() const override; 155 WebColor backgroundColor() const override;
158 WebPagePopup* pagePopup() const override; 156 WebPagePopup* pagePopup() const override;
159 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 157 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
160 bool selectionTextDirection(WebTextDirection& start, 158 bool selectionTextDirection(WebTextDirection& start,
161 WebTextDirection& end) const override; 159 WebTextDirection& end) const override;
162 bool isSelectionAnchorFirst() const override; 160 bool isSelectionAnchorFirst() const override;
163 WebRange caretOrSelectionRange() override; 161 WebRange caretOrSelectionRange() override;
164 void setTextDirection(WebTextDirection) override; 162 void setTextDirection(WebTextDirection) override;
165 bool isAcceleratedCompositingActive() const override; 163 bool isAcceleratedCompositingActive() const override;
166 void willCloseLayerTreeView() override; 164 void willCloseLayerTreeView() override;
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 736 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
739 }; 737 };
740 738
741 // We have no ways to check if the specified WebView is an instance of 739 // We have no ways to check if the specified WebView is an instance of
742 // WebViewImpl because WebViewImpl is the only implementation of WebView. 740 // WebViewImpl because WebViewImpl is the only implementation of WebView.
743 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 741 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
744 742
745 } // namespace blink 743 } // namespace blink
746 744
747 #endif 745 #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