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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 1056983004: OverscrollGlow for mainThread-{BLINK CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No Overscroll on non-scrollable axes Created 5 years, 6 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 namespace blink { 43 namespace blink {
44 44
45 class AXObject; 45 class AXObject;
46 class ColorChooser; 46 class ColorChooser;
47 class ColorChooserClient; 47 class ColorChooserClient;
48 class DateTimeChooser; 48 class DateTimeChooser;
49 class DateTimeChooserClient; 49 class DateTimeChooserClient;
50 class Element; 50 class Element;
51 class FileChooser; 51 class FileChooser;
52 class Frame; 52 class Frame;
53 class FloatPoint;
53 class GraphicsContext; 54 class GraphicsContext;
54 class GraphicsLayer; 55 class GraphicsLayer;
55 class GraphicsLayerFactory; 56 class GraphicsLayerFactory;
56 class HitTestResult; 57 class HitTestResult;
57 class HTMLFormControlElement; 58 class HTMLFormControlElement;
58 class HTMLInputElement; 59 class HTMLInputElement;
59 class IntRect; 60 class IntRect;
60 class LocalFrame; 61 class LocalFrame;
61 class Node; 62 class Node;
62 class Page; 63 class Page;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // LocalFrame wants to create the new Page. Also, the newly created window 95 // LocalFrame wants to create the new Page. Also, the newly created window
95 // should not be shown to the user until the ChromeClient of the newly 96 // should not be shown to the user until the ChromeClient of the newly
96 // created Page has its show method called. 97 // created Page has its show method called.
97 // The FrameLoadRequest parameter is only for ChromeClient to check if the 98 // The FrameLoadRequest parameter is only for ChromeClient to check if the
98 // request could be fulfilled. The ChromeClient should not load the request. 99 // request could be fulfilled. The ChromeClient should not load the request.
99 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; 100 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0;
100 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0; 101 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0;
101 102
102 void setWindowFeatures(const WindowFeatures&); 103 void setWindowFeatures(const WindowFeatures&);
103 104
105 // Pass on values for overscroll glow animation on main thread.
106 virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPo int&, const FloatSize&) = 0;
107
104 virtual void setToolbarsVisible(bool) = 0; 108 virtual void setToolbarsVisible(bool) = 0;
105 virtual bool toolbarsVisible() = 0; 109 virtual bool toolbarsVisible() = 0;
106 110
107 virtual void setStatusbarVisible(bool) = 0; 111 virtual void setStatusbarVisible(bool) = 0;
108 virtual bool statusbarVisible() = 0; 112 virtual bool statusbarVisible() = 0;
109 113
110 virtual void setScrollbarsVisible(bool) = 0; 114 virtual void setScrollbarsVisible(bool) = 0;
111 virtual bool scrollbarsVisible() = 0; 115 virtual bool scrollbarsVisible() = 0;
112 116
113 virtual void setMenubarVisible(bool) = 0; 117 virtual void setMenubarVisible(bool) = 0;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 bool canRunModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const St ring& message); 269 bool canRunModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const St ring& message);
266 void setToolTip(const HitTestResult&); 270 void setToolTip(const HitTestResult&);
267 271
268 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 272 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
269 Cursor m_lastSetMouseCursorForTesting; 273 Cursor m_lastSetMouseCursorForTesting;
270 }; 274 };
271 275
272 } // namespace blink 276 } // namespace blink
273 277
274 #endif // ChromeClient_h 278 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698