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

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: Rebased to a newer master 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 const WebPoint& clientPoint, 222 const WebPoint& clientPoint,
223 const WebPoint& screenPoint, 223 const WebPoint& screenPoint,
224 WebDragOperationsMask operationsAllowed, 224 WebDragOperationsMask operationsAllowed,
225 int keyModifiers) OVERRIDE; 225 int keyModifiers) OVERRIDE;
226 virtual void dragTargetDragLeave() OVERRIDE; 226 virtual void dragTargetDragLeave() OVERRIDE;
227 virtual void dragTargetDrop( 227 virtual void dragTargetDrop(
228 const WebPoint& clientPoint, 228 const WebPoint& clientPoint,
229 const WebPoint& screenPoint, 229 const WebPoint& screenPoint,
230 int keyModifiers) OVERRIDE; 230 int keyModifiers) OVERRIDE;
231 virtual void spellingMarkers(WebVector<uint32_t>* markers) OVERRIDE; 231 virtual void spellingMarkers(WebVector<uint32_t>* markers) OVERRIDE;
232 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) OVERRIDE;
232 virtual unsigned long createUniqueIdentifierForRequest() OVERRIDE; 233 virtual unsigned long createUniqueIdentifierForRequest() OVERRIDE;
233 virtual void inspectElementAt(const WebPoint&) OVERRIDE; 234 virtual void inspectElementAt(const WebPoint&) OVERRIDE;
234 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE; 235 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE;
235 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE; 236 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE;
236 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE; 237 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE;
237 virtual WebAXObject accessibilityObject() OVERRIDE; 238 virtual WebAXObject accessibilityObject() OVERRIDE;
238 virtual void setSelectionColors(unsigned activeBackgroundColor, 239 virtual void setSelectionColors(unsigned activeBackgroundColor,
239 unsigned activeForegroundColor, 240 unsigned activeForegroundColor,
240 unsigned inactiveBackgroundColor, 241 unsigned inactiveBackgroundColor,
241 unsigned inactiveForegroundColor) OVERRIDE; 242 unsigned inactiveForegroundColor) OVERRIDE;
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 bool m_userGestureObserved; 716 bool m_userGestureObserved;
716 }; 717 };
717 718
718 // We have no ways to check if the specified WebView is an instance of 719 // We have no ways to check if the specified WebView is an instance of
719 // WebViewImpl because WebViewImpl is the only implementation of WebView. 720 // WebViewImpl because WebViewImpl is the only implementation of WebView.
720 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
721 722
722 } // namespace blink 723 } // namespace blink
723 724
724 #endif 725 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698