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

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

Issue 681023002: Remove a bunch of frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/ScrollbarGroup.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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 { 336 {
337 if (m_webView->client()) 337 if (m_webView->client())
338 m_webView->client()->didChangeCursor(cursor); 338 m_webView->client()->didChangeCursor(cursor);
339 } 339 }
340 340
341 String ChromeClientImpl::acceptLanguages() 341 String ChromeClientImpl::acceptLanguages()
342 { 342 {
343 return m_webView->client()->acceptLanguages(); 343 return m_webView->client()->acceptLanguages();
344 } 344 }
345 345
346 bool ChromeClientImpl::paintCustomOverhangArea(GraphicsContext* context, const I ntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRe ct& dirtyRect)
347 {
348 return false;
349 }
350
351 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const 346 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const
352 { 347 {
353 return m_webView->graphicsLayerFactory(); 348 return m_webView->graphicsLayerFactory();
354 } 349 }
355 350
356 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) 351 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer)
357 { 352 {
358 m_webView->setRootGraphicsLayer(rootLayer); 353 m_webView->setRootGraphicsLayer(rootLayer);
359 } 354 }
360 355
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 webFrame->client()->forwardInputEvent(&webEvent); 411 webFrame->client()->forwardInputEvent(&webEvent);
417 } else if (event->isWheelEvent()) { 412 } else if (event->isWheelEvent()) {
418 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas t<WheelEvent*>(event)); 413 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas t<WheelEvent*>(event));
419 if (webEvent.type == WebInputEvent::Undefined) 414 if (webEvent.type == WebInputEvent::Undefined)
420 return; 415 return;
421 webFrame->client()->forwardInputEvent(&webEvent); 416 webFrame->client()->forwardInputEvent(&webEvent);
422 } 417 }
423 } 418 }
424 419
425 } // namespace blink 420 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/ScrollbarGroup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698