Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: sky/engine/web/ChromeClientImpl.cpp

Issue 1076623002: Remove our impressive amount of CSS Cursor code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698