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

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

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implemented WebViewImpl::getCompositionCharacterBounds Created 4 years, 6 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool isSelectionAnchorFirst() const override; 151 bool isSelectionAnchorFirst() const override;
152 bool caretOrSelectionRange(size_t* location, size_t* length) override; 152 bool caretOrSelectionRange(size_t* location, size_t* length) override;
153 void setTextDirection(WebTextDirection) override; 153 void setTextDirection(WebTextDirection) override;
154 bool isAcceleratedCompositingActive() const override; 154 bool isAcceleratedCompositingActive() const override;
155 void willCloseLayerTreeView() override; 155 void willCloseLayerTreeView() override;
156 void didAcquirePointerLock() override; 156 void didAcquirePointerLock() override;
157 void didNotAcquirePointerLock() override; 157 void didNotAcquirePointerLock() override;
158 void didLosePointerLock() override; 158 void didLosePointerLock() override;
159 void didChangeWindowResizerRect() override; 159 void didChangeWindowResizerRect() override;
160 void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool hasPotent ialPerformanceRegression) override; 160 void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool hasPotent ialPerformanceRegression) override;
161 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
kenrb 2016/06/07 20:18:13 The IME methods in WebViewImpl could possibly be m
dcheng 2016/06/08 04:39:43 It seems inconsistent to move the code off RenderV
kenrb 2016/06/08 15:26:04 A bit more concrete argument for this that I thoug
EhsanK 2016/06/09 03:24:26 Acknowledged.
EhsanK 2016/06/09 03:24:26 Acknowledged.
161 162
162 // WebView methods: 163 // WebView methods:
163 virtual bool isWebView() const { return true; } 164 virtual bool isWebView() const { return true; }
164 void setMainFrame(WebFrame*) override; 165 void setMainFrame(WebFrame*) override;
165 void setCredentialManagerClient(WebCredentialManagerClient*) override; 166 void setCredentialManagerClient(WebCredentialManagerClient*) override;
166 void setPrerendererClient(WebPrerendererClient*) override; 167 void setPrerendererClient(WebPrerendererClient*) override;
167 void setSpellCheckClient(WebSpellCheckClient*) override; 168 void setSpellCheckClient(WebSpellCheckClient*) override;
168 WebSettings* settings() override; 169 WebSettings* settings() override;
169 WebString pageEncoding() const override; 170 WebString pageEncoding() const override;
170 void setPageEncoding(const WebString&) override; 171 void setPageEncoding(const WebString&) override;
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 double m_lastFrameTimeMonotonic; 769 double m_lastFrameTimeMonotonic;
769 }; 770 };
770 771
771 // We have no ways to check if the specified WebView is an instance of 772 // We have no ways to check if the specified WebView is an instance of
772 // WebViewImpl because WebViewImpl is the only implementation of WebView. 773 // WebViewImpl because WebViewImpl is the only implementation of WebView.
773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 774 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
774 775
775 } // namespace blink 776 } // namespace blink
776 777
777 #endif 778 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698