| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 // The Frame pointer provides the ChromeClient with context about which | 96 // The Frame pointer provides the ChromeClient with context about which |
| 97 // Frame wants to create the new Page. Also, the newly created window | 97 // Frame wants to create the new Page. Also, the newly created window |
| 98 // 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 |
| 99 // created Page has its show method called. | 99 // created Page has its show method called. |
| 100 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 100 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
| 101 // request could be fulfilled. The ChromeClient should not load the request. | 101 // request could be fulfilled. The ChromeClient should not load the request. |
| 102 virtual Page* createWindow(Frame*, const FrameLoadRequest&, const WindowFeat
ures&, NavigationPolicy, ShouldSendReferrer) = 0; | 102 virtual Page* createWindow(Frame*, const FrameLoadRequest&, const WindowFeat
ures&, NavigationPolicy, ShouldSendReferrer) = 0; |
| 103 virtual void show(NavigationPolicy) = 0; | 103 virtual void show(NavigationPolicy) = 0; |
| 104 | 104 |
| 105 virtual bool canRunModal() = 0; | |
| 106 virtual void runModal() = 0; | |
| 107 | |
| 108 virtual void setToolbarsVisible(bool) = 0; | 105 virtual void setToolbarsVisible(bool) = 0; |
| 109 virtual bool toolbarsVisible() = 0; | 106 virtual bool toolbarsVisible() = 0; |
| 110 | 107 |
| 111 virtual void setStatusbarVisible(bool) = 0; | 108 virtual void setStatusbarVisible(bool) = 0; |
| 112 virtual bool statusbarVisible() = 0; | 109 virtual bool statusbarVisible() = 0; |
| 113 | 110 |
| 114 virtual void setScrollbarsVisible(bool) = 0; | 111 virtual void setScrollbarsVisible(bool) = 0; |
| 115 virtual bool scrollbarsVisible() = 0; | 112 virtual bool scrollbarsVisible() = 0; |
| 116 | 113 |
| 117 virtual void setMenubarVisible(bool) = 0; | 114 virtual void setMenubarVisible(bool) = 0; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // Input mehtod editor related functions. | 257 // Input mehtod editor related functions. |
| 261 virtual void didCancelCompositionOnSelectionChange() { } | 258 virtual void didCancelCompositionOnSelectionChange() { } |
| 262 virtual void willSetInputMethodState() { } | 259 virtual void willSetInputMethodState() { } |
| 263 | 260 |
| 264 protected: | 261 protected: |
| 265 virtual ~ChromeClient() { } | 262 virtual ~ChromeClient() { } |
| 266 }; | 263 }; |
| 267 | 264 |
| 268 } | 265 } |
| 269 #endif // ChromeClient_h | 266 #endif // ChromeClient_h |
| OLD | NEW |