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

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

Issue 2315223003: Move didUpdateTextOfFocusedElementByNonUserInput from WebViewClient to WebWidgetClient. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 virtual void draggableRegionsChanged() { } 256 virtual void draggableRegionsChanged() { }
257 257
258 // TODO(lfg): These methods are only exposed through WebViewClient while we 258 // TODO(lfg): These methods are only exposed through WebViewClient while we
259 // refactor WebView to not inherit from WebWidget. 259 // refactor WebView to not inherit from WebWidget.
260 // WebWidgetClient overrides. 260 // WebWidgetClient overrides.
261 void closeWidgetSoon() override {} 261 void closeWidgetSoon() override {}
262 void convertViewportToWindow(WebRect* rect) override {} 262 void convertViewportToWindow(WebRect* rect) override {}
263 void convertWindowToViewport(WebFloatRect* rect) override {} 263 void convertWindowToViewport(WebFloatRect* rect) override {}
264 void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled ) override {} 264 void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled ) override {}
265 void didOverscroll(const WebFloatSize& overscrollDelta, const WebFloatSize& accumulatedOverscroll, const WebFloatPoint& positionInViewport, const WebFloatSi ze& velocityInViewport) override {} 265 void didOverscroll(const WebFloatSize& overscrollDelta, const WebFloatSize& accumulatedOverscroll, const WebFloatPoint& positionInViewport, const WebFloatSi ze& velocityInViewport) override {}
266 void didUpdateTextOfFocusedElementByNonUserInput() override {}
267 void hasTouchEventHandlers(bool) override {} 266 void hasTouchEventHandlers(bool) override {}
268 void initializeLayerTreeView() override {} 267 void initializeLayerTreeView() override {}
269 void onMouseDown(const WebNode& mouseDownNode) override {} 268 void onMouseDown(const WebNode& mouseDownNode) override {}
270 void resetInputMethod() override {} 269 void resetInputMethod() override {}
271 WebScreenInfo screenInfo() override { return WebScreenInfo(); } 270 WebScreenInfo screenInfo() override { return WebScreenInfo(); }
272 void setToolTipText(const WebString&, WebTextDirection hint) override {} 271 void setToolTipText(const WebString&, WebTextDirection hint) override {}
273 void setTouchAction(WebTouchAction touchAction) override {} 272 void setTouchAction(WebTouchAction touchAction) override {}
274 void showImeIfNeeded() override {} 273 void showImeIfNeeded() override {}
275 void showUnhandledTapUIIfNeeded(const WebPoint& tappedPosition, const WebNod e& tappedNode, bool pageChanged) override {} 274 void showUnhandledTapUIIfNeeded(const WebPoint& tappedPosition, const WebNod e& tappedNode, bool pageChanged) override {}
276 void show(WebNavigationPolicy) override {} 275 void show(WebNavigationPolicy) override {}
277 WebRect windowResizerRect() override { return WebRect(); } 276 WebRect windowResizerRect() override { return WebRect(); }
278 virtual WebWidgetClient* widgetClient() { return this; } 277 virtual WebWidgetClient* widgetClient() { return this; }
279 278
280 protected: 279 protected:
281 ~WebViewClient() { } 280 ~WebViewClient() { }
282 }; 281 };
283 282
284 } // namespace blink 283 } // namespace blink
285 284
286 #endif 285 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698