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 28 matching lines...) Expand all Loading... |
91 | 92 |
92 // The LocalFrame pointer provides the ChromeClient with context about which | 93 // The LocalFrame pointer provides the ChromeClient with context about which |
93 // LocalFrame wants to create the new Page. Also, the newly created window | 94 // LocalFrame wants to create the new Page. Also, the newly created window |
94 // should not be shown to the user until the ChromeClient of the newly | 95 // should not be shown to the user until the ChromeClient of the newly |
95 // created Page has its show method called. | 96 // created Page has its show method called. |
96 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 97 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
97 // request could be fulfilled. The ChromeClient should not load the request. | 98 // request could be fulfilled. The ChromeClient should not load the request. |
98 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; | 99 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; |
99 virtual void show(NavigationPolicy) = 0; | 100 virtual void show(NavigationPolicy) = 0; |
100 | 101 |
| 102 // Pass on values for overscroll glow animation on main thread. |
| 103 virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPo
int&, const FloatSize&) = 0; |
| 104 |
101 virtual void setToolbarsVisible(bool) = 0; | 105 virtual void setToolbarsVisible(bool) = 0; |
102 virtual bool toolbarsVisible() = 0; | 106 virtual bool toolbarsVisible() = 0; |
103 | 107 |
104 virtual void setStatusbarVisible(bool) = 0; | 108 virtual void setStatusbarVisible(bool) = 0; |
105 virtual bool statusbarVisible() = 0; | 109 virtual bool statusbarVisible() = 0; |
106 | 110 |
107 virtual void setScrollbarsVisible(bool) = 0; | 111 virtual void setScrollbarsVisible(bool) = 0; |
108 virtual bool scrollbarsVisible() = 0; | 112 virtual bool scrollbarsVisible() = 0; |
109 | 113 |
110 virtual void setMenubarVisible(bool) = 0; | 114 virtual void setMenubarVisible(bool) = 0; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 241 |
238 virtual void didUpdateTopControls() const { } | 242 virtual void didUpdateTopControls() const { } |
239 | 243 |
240 protected: | 244 protected: |
241 virtual ~ChromeClient() { } | 245 virtual ~ChromeClient() { } |
242 }; | 246 }; |
243 | 247 |
244 } // namespace blink | 248 } // namespace blink |
245 | 249 |
246 #endif // ChromeClient_h | 250 #endif // ChromeClient_h |
OLD | NEW |