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

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

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/FrameLoaderClientImpl.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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const 344 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const
345 { 345 {
346 return m_webView->graphicsLayerFactory(); 346 return m_webView->graphicsLayerFactory();
347 } 347 }
348 348
349 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) 349 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer)
350 { 350 {
351 m_webView->setRootGraphicsLayer(rootLayer); 351 m_webView->setRootGraphicsLayer(rootLayer);
352 } 352 }
353 353
354 void ChromeClientImpl::clearCompositedSelectionBounds()
355 {
356 m_webView->clearCompositedSelectionBounds();
357 }
358
359 void ChromeClientImpl::setTouchAction(TouchAction touchAction) 354 void ChromeClientImpl::setTouchAction(TouchAction touchAction)
360 { 355 {
361 if (WebViewClient* client = m_webView->client()) { 356 if (WebViewClient* client = m_webView->client()) {
362 WebTouchAction webTouchAction = static_cast<WebTouchAction>(touchAction) ; 357 WebTouchAction webTouchAction = static_cast<WebTouchAction>(touchAction) ;
363 client->setTouchAction(webTouchAction); 358 client->setTouchAction(webTouchAction);
364 } 359 }
365 } 360 }
366 361
367 void ChromeClientImpl::willSetInputMethodState() 362 void ChromeClientImpl::willSetInputMethodState()
368 { 363 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 webFrame->client()->forwardInputEvent(&webEvent); 399 webFrame->client()->forwardInputEvent(&webEvent);
405 } else if (event->isWheelEvent()) { 400 } else if (event->isWheelEvent()) {
406 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas t<WheelEvent*>(event)); 401 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas t<WheelEvent*>(event));
407 if (webEvent.type == WebInputEvent::Undefined) 402 if (webEvent.type == WebInputEvent::Undefined)
408 return; 403 return;
409 webFrame->client()->forwardInputEvent(&webEvent); 404 webFrame->client()->forwardInputEvent(&webEvent);
410 } 405 }
411 } 406 }
412 407
413 } // namespace blink 408 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698