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

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

Issue 1309883003: Add hooks for capturing meaningful text info, gently. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oopsie fixed. Created 5 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 | Annotate | Revision Log
« public/web/WebLocalFrame.h ('K') | « 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 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // is the newly focused node. Either can be null. 189 // is the newly focused node. Either can be null.
190 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo de) { } 190 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo de) { }
191 191
192 // Indicates two things: 192 // Indicates two things:
193 // 1) This view may have a new layout now. 193 // 1) This view may have a new layout now.
194 // 2) Calling layout() is a no-op. 194 // 2) Calling layout() is a no-op.
195 // After calling WebWidget::layout(), expect to get this notification 195 // After calling WebWidget::layout(), expect to get this notification
196 // unless the view did not need a layout. 196 // unless the view did not need a layout.
197 virtual void didUpdateLayout() { } 197 virtual void didUpdateLayout() { }
198 198
199 // The frame's document finished layout immediately after the parsing finish ed.
200 // Another way to put it: first frame after DOMContentLoaded is dispatched.
201 virtual void didFirstLayoutAfterFinishedParsing() { }
nasko 2015/08/24 22:57:50 Is there a reason this method isn't on WebFrameCli
202
199 // Return true to swallow the input event if the embedder will start a disam biguation popup 203 // Return true to swallow the input event if the embedder will start a disam biguation popup
200 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; } 204 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; }
201 205
202 // Returns comma separated list of accept languages. 206 // Returns comma separated list of accept languages.
203 virtual WebString acceptLanguages() { return WebString(); } 207 virtual WebString acceptLanguages() { return WebString(); }
204 208
205 209
206 // Session history ----------------------------------------------------- 210 // Session history -----------------------------------------------------
207 211
208 // Tells the embedder to navigate back or forward in session history by 212 // Tells the embedder to navigate back or forward in session history by
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // Informs the browser that the draggable regions have been updated. 273 // Informs the browser that the draggable regions have been updated.
270 virtual void draggableRegionsChanged() { } 274 virtual void draggableRegionsChanged() { }
271 275
272 protected: 276 protected:
273 ~WebViewClient() { } 277 ~WebViewClient() { }
274 }; 278 };
275 279
276 } // namespace blink 280 } // namespace blink
277 281
278 #endif 282 #endif
OLDNEW
« public/web/WebLocalFrame.h ('K') | « public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698