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

Side by Side Diff: third_party/WebKit/public/web/WebView.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
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // Data exchange ------------------------------------------------------- 358 // Data exchange -------------------------------------------------------
359 359
360 // Do a hit test at given point and return the HitTestResult. 360 // Do a hit test at given point and return the HitTestResult.
361 virtual WebHitTestResult HitTestResultAt(const WebPoint&) = 0; 361 virtual WebHitTestResult HitTestResultAt(const WebPoint&) = 0;
362 362
363 // Do a hit test equivalent to what would be done for a GestureTap event 363 // Do a hit test equivalent to what would be done for a GestureTap event
364 // that has width/height corresponding to the supplied |tapArea|. 364 // that has width/height corresponding to the supplied |tapArea|.
365 virtual WebHitTestResult HitTestResultForTap(const WebPoint& tap_point, 365 virtual WebHitTestResult HitTestResultForTap(const WebPoint& tap_point,
366 const WebSize& tap_area) = 0; 366 const WebSize& tap_area) = 0;
367 367
368 // Retrieves a list of spelling markers.
369 virtual void SpellingMarkerOffsetsForTest(WebVector<unsigned>* offsets) = 0;
370 virtual void RemoveSpellingMarkersUnderWords(
371 const WebVector<WebString>& words) = 0;
372
373 // Support for resource loading initiated by plugins ------------------- 368 // Support for resource loading initiated by plugins -------------------
374 369
375 // Returns next unused request identifier which is unique within the 370 // Returns next unused request identifier which is unique within the
376 // parent Page. 371 // parent Page.
377 virtual unsigned long CreateUniqueIdentifierForRequest() = 0; 372 virtual unsigned long CreateUniqueIdentifierForRequest() = 0;
378 373
379 // Developer tools ----------------------------------------------------- 374 // Developer tools -----------------------------------------------------
380 375
381 // Enables device emulation as specified in params. 376 // Enables device emulation as specified in params.
382 virtual void EnableDeviceEmulation(const WebDeviceEmulationParams&) = 0; 377 virtual void EnableDeviceEmulation(const WebDeviceEmulationParams&) = 0;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 // completed. 495 // completed.
501 WebWidget* GetWidget() { return this; } 496 WebWidget* GetWidget() { return this; }
502 497
503 protected: 498 protected:
504 ~WebView() {} 499 ~WebView() {}
505 }; 500 };
506 501
507 } // namespace blink 502 } // namespace blink
508 503
509 #endif 504 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698