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

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

Issue 1348503003: One AXObjectCache per frame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix issues in AutomationApiTest.Events Created 5 years, 2 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/Source/web/ChromeClientImpl.cpp ('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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 // Take focus away from the WebView by focusing an adjacent UI element 185 // Take focus away from the WebView by focusing an adjacent UI element
186 // in the containing window. 186 // in the containing window.
187 virtual void focusNext() { } 187 virtual void focusNext() { }
188 virtual void focusPrevious() { } 188 virtual void focusPrevious() { }
189 189
190 // Called when a new node gets focused. |fromNode| is the previously focused node, |toNode| 190 // Called when a new node gets focused. |fromNode| is the previously focused node, |toNode|
191 // is the newly focused node. Either can be null. 191 // is the newly focused node. Either can be null.
192 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo de) { } 192 virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNo de) { }
193 193
194 // Called when the focused frame changes.
195 virtual void focusedFrameChanged() { }
196
194 // Indicates two things: 197 // Indicates two things:
195 // 1) This view may have a new layout now. 198 // 1) This view may have a new layout now.
196 // 2) Calling layout() is a no-op. 199 // 2) Calling layout() is a no-op.
197 // After calling WebWidget::layout(), expect to get this notification 200 // After calling WebWidget::layout(), expect to get this notification
198 // unless the view did not need a layout. 201 // unless the view did not need a layout.
199 virtual void didUpdateLayout() { } 202 virtual void didUpdateLayout() { }
200 203
201 // Return true to swallow the input event if the embedder will start a disam biguation popup 204 // Return true to swallow the input event if the embedder will start a disam biguation popup
202 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; } 205 virtual bool didTapMultipleTargets(const WebSize& pinchViewportOffset, const WebRect& touchRect, const WebVector<WebRect>& targetRects) { return false; }
203 206
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Informs the browser that the draggable regions have been updated. 274 // Informs the browser that the draggable regions have been updated.
272 virtual void draggableRegionsChanged() { } 275 virtual void draggableRegionsChanged() { }
273 276
274 protected: 277 protected:
275 ~WebViewClient() { } 278 ~WebViewClient() { }
276 }; 279 };
277 280
278 } // namespace blink 281 } // namespace blink
279 282
280 #endif 283 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698