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

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

Issue 2816263003: Move spelling marker related functions from WebView to WebLocalFrame (Closed)
Patch Set: Created 3 years, 8 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void EnableAutoResizeMode(const WebSize& min_size, 218 void EnableAutoResizeMode(const WebSize& min_size,
219 const WebSize& max_size) override; 219 const WebSize& max_size) override;
220 void DisableAutoResizeMode() override; 220 void DisableAutoResizeMode() override;
221 void PerformMediaPlayerAction(const WebMediaPlayerAction& action, 221 void PerformMediaPlayerAction(const WebMediaPlayerAction& action,
222 const WebPoint& location) override; 222 const WebPoint& location) override;
223 void PerformPluginAction(const WebPluginAction&, const WebPoint&) override; 223 void PerformPluginAction(const WebPluginAction&, const WebPoint&) override;
224 void AudioStateChanged(bool is_audio_playing) override; 224 void AudioStateChanged(bool is_audio_playing) override;
225 WebHitTestResult HitTestResultAt(const WebPoint&) override; 225 WebHitTestResult HitTestResultAt(const WebPoint&) override;
226 WebHitTestResult HitTestResultForTap(const WebPoint&, 226 WebHitTestResult HitTestResultForTap(const WebPoint&,
227 const WebSize&) override; 227 const WebSize&) override;
228 void SpellingMarkerOffsetsForTest(WebVector<unsigned>* offsets) override;
229 void RemoveSpellingMarkersUnderWords(
230 const WebVector<WebString>& words) override;
231 unsigned long CreateUniqueIdentifierForRequest() override; 228 unsigned long CreateUniqueIdentifierForRequest() override;
232 void EnableDeviceEmulation(const WebDeviceEmulationParams&) override; 229 void EnableDeviceEmulation(const WebDeviceEmulationParams&) override;
233 void DisableDeviceEmulation() override; 230 void DisableDeviceEmulation() override;
234 WebAXObject AccessibilityObject() override; 231 WebAXObject AccessibilityObject() override;
235 void SetSelectionColors(unsigned active_background_color, 232 void SetSelectionColors(unsigned active_background_color,
236 unsigned active_foreground_color, 233 unsigned active_foreground_color,
237 unsigned inactive_background_color, 234 unsigned inactive_background_color,
238 unsigned inactive_foreground_color) override; 235 unsigned inactive_foreground_color) override;
239 void PerformCustomContextMenuAction(unsigned action) override; 236 void PerformCustomContextMenuAction(unsigned action) override;
240 void ShowContextMenu() override; 237 void ShowContextMenu() override;
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 733 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
737 }; 734 };
738 735
739 // We have no ways to check if the specified WebView is an instance of 736 // We have no ways to check if the specified WebView is an instance of
740 // WebViewImpl because WebViewImpl is the only implementation of WebView. 737 // WebViewImpl because WebViewImpl is the only implementation of WebView.
741 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
742 739
743 } // namespace blink 740 } // namespace blink
744 741
745 #endif 742 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698