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

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

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/FrameLoaderClientImpl.cpp ('k') | sky/engine/web/WebRuntimeFeatures.cpp » ('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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #include "sky/engine/core/rendering/RenderTreeAsText.h" 112 #include "sky/engine/core/rendering/RenderTreeAsText.h"
113 #include "sky/engine/core/rendering/RenderView.h" 113 #include "sky/engine/core/rendering/RenderView.h"
114 #include "sky/engine/core/rendering/style/StyleInheritedData.h" 114 #include "sky/engine/core/rendering/style/StyleInheritedData.h"
115 #include "sky/engine/platform/TraceEvent.h" 115 #include "sky/engine/platform/TraceEvent.h"
116 #include "sky/engine/platform/clipboard/ClipboardUtilities.h" 116 #include "sky/engine/platform/clipboard/ClipboardUtilities.h"
117 #include "sky/engine/platform/fonts/FontCache.h" 117 #include "sky/engine/platform/fonts/FontCache.h"
118 #include "sky/engine/platform/graphics/GraphicsContext.h" 118 #include "sky/engine/platform/graphics/GraphicsContext.h"
119 #include "sky/engine/platform/graphics/skia/SkiaUtils.h" 119 #include "sky/engine/platform/graphics/skia/SkiaUtils.h"
120 #include "sky/engine/platform/heap/Handle.h" 120 #include "sky/engine/platform/heap/Handle.h"
121 #include "sky/engine/platform/network/ResourceRequest.h" 121 #include "sky/engine/platform/network/ResourceRequest.h"
122 #include "sky/engine/platform/scroll/ScrollTypes.h"
123 #include "sky/engine/platform/weborigin/KURL.h" 122 #include "sky/engine/platform/weborigin/KURL.h"
124 #include "sky/engine/platform/weborigin/SecurityPolicy.h" 123 #include "sky/engine/platform/weborigin/SecurityPolicy.h"
125 #include "sky/engine/public/platform/Platform.h" 124 #include "sky/engine/public/platform/Platform.h"
126 #include "sky/engine/public/platform/WebFloatPoint.h" 125 #include "sky/engine/public/platform/WebFloatPoint.h"
127 #include "sky/engine/public/platform/WebFloatRect.h" 126 #include "sky/engine/public/platform/WebFloatRect.h"
128 #include "sky/engine/public/platform/WebLayer.h" 127 #include "sky/engine/public/platform/WebLayer.h"
129 #include "sky/engine/public/platform/WebPoint.h" 128 #include "sky/engine/public/platform/WebPoint.h"
130 #include "sky/engine/public/platform/WebRect.h" 129 #include "sky/engine/public/platform/WebRect.h"
131 #include "sky/engine/public/platform/WebSize.h" 130 #include "sky/engine/public/platform/WebSize.h"
132 #include "sky/engine/public/platform/WebURLError.h" 131 #include "sky/engine/public/platform/WebURLError.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 653
655 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor) 654 void WebLocalFrameImpl::setInputEventsTransformForEmulation(const IntSize& offse t, float contentScaleFactor)
656 { 655 {
657 m_inputEventsOffsetForEmulation = offset; 656 m_inputEventsOffsetForEmulation = offset;
658 m_inputEventsScaleFactorForEmulation = contentScaleFactor; 657 m_inputEventsScaleFactorForEmulation = contentScaleFactor;
659 if (frame()->view()) 658 if (frame()->view())
660 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation); 659 frame()->view()->setInputEventsTransformForEmulation(m_inputEventsOffset ForEmulation, m_inputEventsScaleFactorForEmulation);
661 } 660 }
662 661
663 } // namespace blink 662 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/FrameLoaderClientImpl.cpp ('k') | sky/engine/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698