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