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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 virtual void focusedNodeChanged(Node*, Node*) = 0; | 91 virtual void focusedNodeChanged(Node*, Node*) = 0; |
92 | 92 |
93 virtual void focusedFrameChanged(LocalFrame*) = 0; | 93 virtual void focusedFrameChanged(LocalFrame*) = 0; |
94 | 94 |
95 // The LocalFrame pointer provides the ChromeClient with context about which | 95 // The LocalFrame pointer provides the ChromeClient with context about which |
96 // 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 |
97 // 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 |
98 // created Page has its show method called. | 98 // created Page has its show method called. |
99 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 99 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
100 // request could be fulfilled. The ChromeClient should not load the request. | 100 // request could be fulfilled. The ChromeClient should not load the request. |
101 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; | 101 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo
wFeatures&, NavigationPolicy, ShouldSendReferrer, CreateWindowReason) = 0; |
102 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0; | 102 virtual void show(NavigationPolicy, CreateWindowReason) = 0; |
103 | 103 |
104 void setWindowFeatures(const WindowFeatures&); | 104 void setWindowFeatures(const WindowFeatures&); |
105 | 105 |
106 virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPo
int&, const FloatSize&) = 0; | 106 virtual void didOverscroll(const FloatSize&, const FloatSize&, const FloatPo
int&, const FloatSize&) = 0; |
107 | 107 |
108 virtual void setToolbarsVisible(bool) = 0; | 108 virtual void setToolbarsVisible(bool) = 0; |
109 virtual bool toolbarsVisible() = 0; | 109 virtual bool toolbarsVisible() = 0; |
110 | 110 |
111 virtual void setStatusbarVisible(bool) = 0; | 111 virtual void setStatusbarVisible(bool) = 0; |
112 virtual bool statusbarVisible() = 0; | 112 virtual bool statusbarVisible() = 0; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 virtual void printDelegate(LocalFrame*) = 0; | 260 virtual void printDelegate(LocalFrame*) = 0; |
261 | 261 |
262 private: | 262 private: |
263 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); | 263 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); |
264 void setToolTip(const HitTestResult&); | 264 void setToolTip(const HitTestResult&); |
265 }; | 265 }; |
266 | 266 |
267 } // namespace blink | 267 } // namespace blink |
268 | 268 |
269 #endif // ChromeClient_h | 269 #endif // ChromeClient_h |
OLD | NEW |