| 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 24 matching lines...) Expand all Loading... |
| 35 #include "base/logging.h" | 35 #include "base/logging.h" |
| 36 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 36 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 37 #include "sky/engine/core/dom/Document.h" | 37 #include "sky/engine/core/dom/Document.h" |
| 38 #include "sky/engine/core/dom/Element.h" | 38 #include "sky/engine/core/dom/Element.h" |
| 39 #include "sky/engine/core/dom/Node.h" | 39 #include "sky/engine/core/dom/Node.h" |
| 40 #include "sky/engine/core/events/KeyboardEvent.h" | 40 #include "sky/engine/core/events/KeyboardEvent.h" |
| 41 #include "sky/engine/core/frame/FrameView.h" | 41 #include "sky/engine/core/frame/FrameView.h" |
| 42 #include "sky/engine/core/frame/Settings.h" | 42 #include "sky/engine/core/frame/Settings.h" |
| 43 #include "sky/engine/core/page/Page.h" | 43 #include "sky/engine/core/page/Page.h" |
| 44 #include "sky/engine/core/rendering/HitTestResult.h" | 44 #include "sky/engine/core/rendering/HitTestResult.h" |
| 45 #include "sky/engine/platform/Cursor.h" | |
| 46 #include "sky/engine/platform/NotImplemented.h" | 45 #include "sky/engine/platform/NotImplemented.h" |
| 47 #include "sky/engine/platform/PlatformScreen.h" | 46 #include "sky/engine/platform/PlatformScreen.h" |
| 48 #include "sky/engine/platform/exported/WrappedResourceRequest.h" | 47 #include "sky/engine/platform/exported/WrappedResourceRequest.h" |
| 49 #include "sky/engine/platform/geometry/FloatRect.h" | 48 #include "sky/engine/platform/geometry/FloatRect.h" |
| 50 #include "sky/engine/platform/geometry/IntRect.h" | 49 #include "sky/engine/platform/geometry/IntRect.h" |
| 51 #include "sky/engine/public/platform/Platform.h" | 50 #include "sky/engine/public/platform/Platform.h" |
| 52 #include "sky/engine/public/platform/WebCursorInfo.h" | |
| 53 #include "sky/engine/public/platform/WebInputEvent.h" | 51 #include "sky/engine/public/platform/WebInputEvent.h" |
| 54 #include "sky/engine/public/platform/WebRect.h" | 52 #include "sky/engine/public/platform/WebRect.h" |
| 55 #include "sky/engine/public/platform/WebURLRequest.h" | 53 #include "sky/engine/public/platform/WebURLRequest.h" |
| 56 #include "sky/engine/public/web/Sky.h" | 54 #include "sky/engine/public/web/Sky.h" |
| 57 #include "sky/engine/public/web/WebConsoleMessage.h" | 55 #include "sky/engine/public/web/WebConsoleMessage.h" |
| 58 #include "sky/engine/public/web/WebFrameClient.h" | 56 #include "sky/engine/public/web/WebFrameClient.h" |
| 59 #include "sky/engine/public/web/WebNode.h" | 57 #include "sky/engine/public/web/WebNode.h" |
| 60 #include "sky/engine/public/web/WebSettings.h" | 58 #include "sky/engine/public/web/WebSettings.h" |
| 61 #include "sky/engine/public/web/WebTextDirection.h" | 59 #include "sky/engine/public/web/WebTextDirection.h" |
| 62 #include "sky/engine/public/web/WebViewClient.h" | 60 #include "sky/engine/public/web/WebViewClient.h" |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 } | 205 } |
| 208 | 206 |
| 209 return screenRect; | 207 return screenRect; |
| 210 } | 208 } |
| 211 | 209 |
| 212 WebScreenInfo ChromeClientImpl::screenInfo() const | 210 WebScreenInfo ChromeClientImpl::screenInfo() const |
| 213 { | 211 { |
| 214 return m_webView->client() ? m_webView->client()->screenInfo() : WebScreenIn
fo(); | 212 return m_webView->client() ? m_webView->client()->screenInfo() : WebScreenIn
fo(); |
| 215 } | 213 } |
| 216 | 214 |
| 217 void ChromeClientImpl::setCursor(const Cursor& cursor) | |
| 218 { | |
| 219 setCursor(WebCursorInfo(cursor)); | |
| 220 } | |
| 221 | |
| 222 void ChromeClientImpl::setCursor(const WebCursorInfo& cursor) | |
| 223 { | |
| 224 } | |
| 225 | |
| 226 String ChromeClientImpl::acceptLanguages() | 215 String ChromeClientImpl::acceptLanguages() |
| 227 { | 216 { |
| 228 return m_webView->client()->acceptLanguages(); | 217 return m_webView->client()->acceptLanguages(); |
| 229 } | 218 } |
| 230 | 219 |
| 231 } // namespace blink | 220 } // namespace blink |
| OLD | NEW |