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

Side by Side Diff: public/web/WebViewClient.h

Issue 259263003: Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « public/web/WebView.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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 virtual void numberOfWheelEventHandlersChanged(unsigned) { } 207 virtual void numberOfWheelEventHandlersChanged(unsigned) { }
208 208
209 // Indicates two things: 209 // Indicates two things:
210 // 1) This view may have a new layout now. 210 // 1) This view may have a new layout now.
211 // 2) Calling layout() is a no-op. 211 // 2) Calling layout() is a no-op.
212 // After calling WebWidget::layout(), expect to get this notification 212 // After calling WebWidget::layout(), expect to get this notification
213 // unless the view did not need a layout. 213 // unless the view did not need a layout.
214 virtual void didUpdateLayout() { } 214 virtual void didUpdateLayout() { }
215 215
216 // This method is called in response to getSmartClipData().
217 // It returns the clipped rect and the text contained in the clipped rect.
218 virtual void updateSmartClipDataResult(const WebString& text, const WebRect& rect) { }
abarth-chromium 2014/04/30 16:59:43 Why not just use an out parameters on the WebView
AviD 2014/05/02 15:03:22 Done.
219
216 // Return true to swallow the input event if the embedder will start a disam biguation popup 220 // Return true to swallow the input event if the embedder will start a disam biguation popup
217 virtual bool didTapMultipleTargets(const WebGestureEvent&, const WebVector<W ebRect>& targetRects) { return false; } 221 virtual bool didTapMultipleTargets(const WebGestureEvent&, const WebVector<W ebRect>& targetRects) { return false; }
218 222
219 // Returns comma separated list of accept languages. 223 // Returns comma separated list of accept languages.
220 virtual WebString acceptLanguages() { return WebString(); } 224 virtual WebString acceptLanguages() { return WebString(); }
221 225
222 226
223 // Session history ----------------------------------------------------- 227 // Session history -----------------------------------------------------
224 228
225 // Tells the embedder to navigate back or forward in session history by 229 // Tells the embedder to navigate back or forward in session history by
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // Informs the browser that the draggable regions have been updated. 335 // Informs the browser that the draggable regions have been updated.
332 virtual void draggableRegionsChanged() { } 336 virtual void draggableRegionsChanged() { }
333 337
334 protected: 338 protected:
335 ~WebViewClient() { } 339 ~WebViewClient() { }
336 }; 340 };
337 341
338 } // namespace blink 342 } // namespace blink
339 343
340 #endif 344 #endif
OLDNEW
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698