| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual void print(WebCore::Frame*); | 130 virtual void print(WebCore::Frame*); |
| 131 virtual void annotatedRegionsChanged(); | 131 virtual void annotatedRegionsChanged(); |
| 132 virtual bool paintCustomOverhangArea(WebCore::GraphicsContext*, const WebCor
e::IntRect&, const WebCore::IntRect&, const WebCore::IntRect&); | 132 virtual bool paintCustomOverhangArea(WebCore::GraphicsContext*, const WebCor
e::IntRect&, const WebCore::IntRect&, const WebCore::IntRect&); |
| 133 virtual PassOwnPtr<WebCore::ColorChooser> createColorChooser(WebCore::ColorC
hooserClient*, const WebCore::Color&) OVERRIDE; | 133 virtual PassOwnPtr<WebCore::ColorChooser> createColorChooser(WebCore::ColorC
hooserClient*, const WebCore::Color&) OVERRIDE; |
| 134 virtual PassRefPtr<WebCore::DateTimeChooser> openDateTimeChooser(WebCore::Da
teTimeChooserClient*, const WebCore::DateTimeChooserParameters&) OVERRIDE; | 134 virtual PassRefPtr<WebCore::DateTimeChooser> openDateTimeChooser(WebCore::Da
teTimeChooserClient*, const WebCore::DateTimeChooserParameters&) OVERRIDE; |
| 135 virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>)
; | 135 virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>)
; |
| 136 virtual void enumerateChosenDirectory(WebCore::FileChooser*); | 136 virtual void enumerateChosenDirectory(WebCore::FileChooser*); |
| 137 virtual void setCursor(const WebCore::Cursor&); | 137 virtual void setCursor(const WebCore::Cursor&); |
| 138 virtual void formStateDidChange(const WebCore::Node*); | 138 virtual void formStateDidChange(const WebCore::Node*); |
| 139 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE; | 139 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE; |
| 140 virtual void setTouchAction(int touchId, WebCore::TouchAction touchActions)
OVERRIDE; |
| 140 | 141 |
| 141 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE
; | 142 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE
; |
| 142 | 143 |
| 143 // Pass 0 as the GraphicsLayer to detatch the root layer. | 144 // Pass 0 as the GraphicsLayer to detatch the root layer. |
| 144 virtual void attachRootGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer
*); | 145 virtual void attachRootGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer
*); |
| 145 | 146 |
| 146 // Sets a flag to specify that the view needs to be updated, so we need | 147 // Sets a flag to specify that the view needs to be updated, so we need |
| 147 // to do an eager layout before the drawing. | 148 // to do an eager layout before the drawing. |
| 148 virtual void scheduleCompositingLayerFlush(); | 149 virtual void scheduleCompositingLayerFlush(); |
| 149 | 150 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 220 |
| 220 inline ChromeClientImpl* toChromeClientImpl(WebCore::ChromeClient& client) | 221 inline ChromeClientImpl* toChromeClientImpl(WebCore::ChromeClient& client) |
| 221 { | 222 { |
| 222 ASSERT_WITH_SECURITY_IMPLICATION(client.isChromeClientImpl()); | 223 ASSERT_WITH_SECURITY_IMPLICATION(client.isChromeClientImpl()); |
| 223 return static_cast<ChromeClientImpl*>(&client); | 224 return static_cast<ChromeClientImpl*>(&client); |
| 224 } | 225 } |
| 225 | 226 |
| 226 } // namespace blink | 227 } // namespace blink |
| 227 | 228 |
| 228 #endif | 229 #endif |
| OLD | NEW |