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

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

Issue 2177333002: Move setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: switch to refs Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 {} 266 void didUpdateTextOfFocusedElementByNonUserInput() override {}
267 void hasTouchEventHandlers(bool) override {} 267 void hasTouchEventHandlers(bool) override {}
268 void initializeLayerTreeView() override {} 268 void initializeLayerTreeView() override {}
269 void onMouseDown(const WebNode& mouseDownNode) override {} 269 void onMouseDown(const WebNode& mouseDownNode) override {}
270 void resetInputMethod() override {} 270 void resetInputMethod() override {}
271 WebScreenInfo screenInfo() override { return WebScreenInfo(); } 271 WebScreenInfo screenInfo() override { return WebScreenInfo(); }
272 void setToolTipText(const WebString&, WebTextDirection hint) override {} 272 void setToolTipText(const WebString&, WebTextDirection hint) override {}
273 void setTouchAction(WebTouchAction touchAction) override {} 273 void setTouchAction(WebTouchAction touchAction) override {}
274 void setWindowRect(const WebRect&) override {}
275 void showImeIfNeeded() override {} 274 void showImeIfNeeded() override {}
276 void showUnhandledTapUIIfNeeded(const WebPoint& tappedPosition, const WebNod e& tappedNode, bool pageChanged) override {} 275 void showUnhandledTapUIIfNeeded(const WebPoint& tappedPosition, const WebNod e& tappedNode, bool pageChanged) override {}
277 void show(WebNavigationPolicy) override {} 276 void show(WebNavigationPolicy) override {}
278 WebRect windowRect() override { return WebRect(); }
279 WebRect windowResizerRect() override { return WebRect(); } 277 WebRect windowResizerRect() override { return WebRect(); }
280 virtual WebWidgetClient* widgetClient() { return this; } 278 virtual WebWidgetClient* widgetClient() { return this; }
281 279
282 protected: 280 protected:
283 ~WebViewClient() { } 281 ~WebViewClient() { }
284 }; 282 };
285 283
286 } // namespace blink 284 } // namespace blink
287 285
288 #endif 286 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698