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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1879103002: Convert main-thread overscroll parameters into viewport space. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Majid's review Created 4 years, 8 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 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 IntRect windowRect() override; 59 IntRect windowRect() override;
60 IntRect pageRect() override; 60 IntRect pageRect() override;
61 void focus() override; 61 void focus() override;
62 bool canTakeFocus(WebFocusType) override; 62 bool canTakeFocus(WebFocusType) override;
63 void takeFocus(WebFocusType) override; 63 void takeFocus(WebFocusType) override;
64 void focusedNodeChanged(Node* fromNode, Node* toNode) override; 64 void focusedNodeChanged(Node* fromNode, Node* toNode) override;
65 bool hadFormInteraction() const override; 65 bool hadFormInteraction() const override;
66 Page* createWindow( 66 Page* createWindow(
67 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ShouldSetOpener) override; 67 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ShouldSetOpener) override;
68 void show(NavigationPolicy) override; 68 void show(NavigationPolicy) override;
69 void didOverscroll(const FloatSize&, const FloatSize&, const FloatPoint&, co nst FloatSize&) override; 69 void didOverscroll(
70 const FloatSize& overscrollDelta,
71 const FloatSize& accumulatedOverscroll,
72 const FloatPoint& positionInViewport,
73 const FloatSize& velocityInViewport) override;
70 void setToolbarsVisible(bool) override; 74 void setToolbarsVisible(bool) override;
71 bool toolbarsVisible() override; 75 bool toolbarsVisible() override;
72 void setStatusbarVisible(bool) override; 76 void setStatusbarVisible(bool) override;
73 bool statusbarVisible() override; 77 bool statusbarVisible() override;
74 void setScrollbarsVisible(bool) override; 78 void setScrollbarsVisible(bool) override;
75 bool scrollbarsVisible() override; 79 bool scrollbarsVisible() override;
76 void setMenubarVisible(bool) override; 80 void setMenubarVisible(bool) override;
77 bool menubarVisible() override; 81 bool menubarVisible() override;
78 void setResizable(bool) override; 82 void setResizable(bool) override;
79 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de; 83 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 Cursor m_lastSetMouseCursorForTesting; 198 Cursor m_lastSetMouseCursorForTesting;
195 bool m_cursorOverridden; 199 bool m_cursorOverridden;
196 bool m_didRequestNonEmptyToolTip; 200 bool m_didRequestNonEmptyToolTip;
197 }; 201 };
198 202
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 203 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
200 204
201 } // namespace blink 205 } // namespace blink
202 206
203 #endif 207 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698