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

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

Issue 419563003: Adding a word to dictionary should remove spelling markers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed my own nit Created 6 years, 4 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 const WebPoint& clientPoint, 224 const WebPoint& clientPoint,
225 const WebPoint& screenPoint, 225 const WebPoint& screenPoint,
226 WebDragOperationsMask operationsAllowed, 226 WebDragOperationsMask operationsAllowed,
227 int keyModifiers) OVERRIDE; 227 int keyModifiers) OVERRIDE;
228 virtual void dragTargetDragLeave() OVERRIDE; 228 virtual void dragTargetDragLeave() OVERRIDE;
229 virtual void dragTargetDrop( 229 virtual void dragTargetDrop(
230 const WebPoint& clientPoint, 230 const WebPoint& clientPoint,
231 const WebPoint& screenPoint, 231 const WebPoint& screenPoint,
232 int keyModifiers) OVERRIDE; 232 int keyModifiers) OVERRIDE;
233 virtual void spellingMarkers(WebVector<uint32_t>* markers) OVERRIDE; 233 virtual void spellingMarkers(WebVector<uint32_t>* markers) OVERRIDE;
234 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) OVERRIDE;
234 virtual unsigned long createUniqueIdentifierForRequest() OVERRIDE; 235 virtual unsigned long createUniqueIdentifierForRequest() OVERRIDE;
235 virtual void inspectElementAt(const WebPoint&) OVERRIDE; 236 virtual void inspectElementAt(const WebPoint&) OVERRIDE;
236 virtual WebString inspectorSettings() const OVERRIDE; 237 virtual WebString inspectorSettings() const OVERRIDE;
237 virtual void setInspectorSettings(const WebString&) OVERRIDE; 238 virtual void setInspectorSettings(const WebString&) OVERRIDE;
238 virtual bool inspectorSetting(const WebString& key, WebString* value) const OVERRIDE; 239 virtual bool inspectorSetting(const WebString& key, WebString* value) const OVERRIDE;
239 virtual void setInspectorSetting(const WebString& key, const WebString& valu e) OVERRIDE; 240 virtual void setInspectorSetting(const WebString& key, const WebString& valu e) OVERRIDE;
240 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE; 241 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE;
241 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE; 242 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE;
242 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE; 243 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE;
243 virtual WebAXObject accessibilityObject() OVERRIDE; 244 virtual WebAXObject accessibilityObject() OVERRIDE;
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 bool m_userGestureObserved; 726 bool m_userGestureObserved;
726 }; 727 };
727 728
728 // We have no ways to check if the specified WebView is an instance of 729 // We have no ways to check if the specified WebView is an instance of
729 // WebViewImpl because WebViewImpl is the only implementation of WebView. 730 // WebViewImpl because WebViewImpl is the only implementation of WebView.
730 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 731 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
731 732
732 } // namespace blink 733 } // namespace blink
733 734
734 #endif 735 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698