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

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

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

Powered by Google App Engine
This is Rietveld 408576698