OLD | NEW |
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 Loading... |
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // LocalFrame wants to create the new Page. Also, the newly created window | 97 // LocalFrame wants to create the new Page. Also, the newly created window |
97 // should not be shown to the user until the ChromeClient of the newly | 98 // should not be shown to the user until the ChromeClient of the newly |
98 // created Page has its show method called. | 99 // created Page has its show method called. |
99 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 100 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
100 // request could be fulfilled. The ChromeClient should not load the request. | 101 // request could be fulfilled. The ChromeClient should not load the request. |
101 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; | 102 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; |
102 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0; | 103 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0; |
103 | 104 |
104 void setWindowFeatures(const WindowFeatures&); | 105 void setWindowFeatures(const WindowFeatures&); |
105 | 106 |
| 107 // Pass on values for overscroll glow animation on main thread. |
| 108 virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPo
int&, const FloatSize&) = 0; |
| 109 |
106 virtual void setToolbarsVisible(bool) = 0; | 110 virtual void setToolbarsVisible(bool) = 0; |
107 virtual bool toolbarsVisible() = 0; | 111 virtual bool toolbarsVisible() = 0; |
108 | 112 |
109 virtual void setStatusbarVisible(bool) = 0; | 113 virtual void setStatusbarVisible(bool) = 0; |
110 virtual bool statusbarVisible() = 0; | 114 virtual bool statusbarVisible() = 0; |
111 | 115 |
112 virtual void setScrollbarsVisible(bool) = 0; | 116 virtual void setScrollbarsVisible(bool) = 0; |
113 virtual bool scrollbarsVisible() = 0; | 117 virtual bool scrollbarsVisible() = 0; |
114 | 118 |
115 virtual void setMenubarVisible(bool) = 0; | 119 virtual void setMenubarVisible(bool) = 0; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 private: | 264 private: |
261 bool canRunModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const St
ring& message); | 265 bool canRunModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const St
ring& message); |
262 void setToolTip(const HitTestResult&); | 266 void setToolTip(const HitTestResult&); |
263 | 267 |
264 Cursor m_lastSetMouseCursorForTesting; | 268 Cursor m_lastSetMouseCursorForTesting; |
265 }; | 269 }; |
266 | 270 |
267 } // namespace blink | 271 } // namespace blink |
268 | 272 |
269 #endif // ChromeClient_h | 273 #endif // ChromeClient_h |
OLD | NEW |