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

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

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

Powered by Google App Engine
This is Rietveld 408576698