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

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

Issue 746023002: Make absolute and sort all Sky headers (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/WebViewImpl.h ('k') | sky/engine/web/linux/WebFontRendering.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 10 matching lines...) Expand all
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "sky/engine/config.h"
32 #include "web/WebViewImpl.h" 32 #include "sky/engine/web/WebViewImpl.h"
33 33
34 #include "core/dom/Document.h"
35 #include "core/dom/DocumentMarkerController.h"
36 #include "core/dom/NodeRenderingTraversal.h"
37 #include "core/dom/Text.h"
38 #include "core/editing/Editor.h"
39 #include "core/editing/FrameSelection.h"
40 #include "core/editing/HTMLInterchange.h"
41 #include "core/editing/InputMethodController.h"
42 #include "core/editing/markup.h"
43 #include "core/editing/TextIterator.h"
44 #include "core/events/KeyboardEvent.h"
45 #include "core/events/WheelEvent.h"
46 #include "core/frame/FrameHost.h"
47 #include "core/frame/FrameView.h"
48 #include "core/frame/LocalFrame.h"
49 #include "core/frame/Settings.h"
50 #include "core/html/HTMLImportElement.h"
51 #include "core/html/ime/InputMethodContext.h"
52 #include "core/loader/FrameLoader.h"
53 #include "core/loader/UniqueIdentifier.h"
54 #include "core/page/Chrome.h"
55 #include "core/page/EventHandler.h"
56 #include "core/page/EventWithHitTestResults.h"
57 #include "core/page/FocusController.h"
58 #include "core/page/Page.h"
59 #include "core/page/TouchDisambiguation.h"
60 #include "core/rendering/compositing/RenderLayerCompositor.h"
61 #include "core/rendering/RenderView.h"
62 #include "gen/sky/core/CSSValueKeywords.h" 34 #include "gen/sky/core/CSSValueKeywords.h"
63 #include "gen/sky/core/HTMLNames.h" 35 #include "gen/sky/core/HTMLNames.h"
64 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 36 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
65 #include "platform/Cursor.h" 37 #include "sky/engine/core/dom/Document.h"
66 #include "platform/exported/WebActiveGestureAnimation.h" 38 #include "sky/engine/core/dom/DocumentMarkerController.h"
67 #include "platform/fonts/FontCache.h" 39 #include "sky/engine/core/dom/NodeRenderingTraversal.h"
68 #include "platform/graphics/Color.h" 40 #include "sky/engine/core/dom/Text.h"
69 #include "platform/graphics/Image.h" 41 #include "sky/engine/core/editing/Editor.h"
70 #include "platform/graphics/ImageBuffer.h" 42 #include "sky/engine/core/editing/FrameSelection.h"
71 #include "platform/KeyboardCodes.h" 43 #include "sky/engine/core/editing/HTMLInterchange.h"
72 #include "platform/Logging.h" 44 #include "sky/engine/core/editing/InputMethodController.h"
73 #include "platform/NotImplemented.h" 45 #include "sky/engine/core/editing/TextIterator.h"
74 #include "platform/PlatformGestureEvent.h" 46 #include "sky/engine/core/editing/markup.h"
75 #include "platform/PlatformKeyboardEvent.h" 47 #include "sky/engine/core/events/KeyboardEvent.h"
76 #include "platform/PlatformMouseEvent.h" 48 #include "sky/engine/core/events/WheelEvent.h"
77 #include "platform/PlatformWheelEvent.h" 49 #include "sky/engine/core/frame/FrameHost.h"
78 #include "platform/scroll/Scrollbar.h" 50 #include "sky/engine/core/frame/FrameView.h"
79 #include "platform/TraceEvent.h" 51 #include "sky/engine/core/frame/LocalFrame.h"
80 #include "platform/UserGestureIndicator.h" 52 #include "sky/engine/core/frame/Settings.h"
81 #include "platform/weborigin/SchemeRegistry.h" 53 #include "sky/engine/core/html/HTMLImportElement.h"
82 #include "public/platform/Platform.h" 54 #include "sky/engine/core/html/ime/InputMethodContext.h"
83 #include "public/platform/WebFloatPoint.h" 55 #include "sky/engine/core/loader/FrameLoader.h"
84 #include "public/platform/WebGestureCurve.h" 56 #include "sky/engine/core/loader/UniqueIdentifier.h"
85 #include "public/platform/WebImage.h" 57 #include "sky/engine/core/page/Chrome.h"
86 #include "public/platform/WebLayerTreeView.h" 58 #include "sky/engine/core/page/EventHandler.h"
87 #include "public/platform/WebURLRequest.h" 59 #include "sky/engine/core/page/EventWithHitTestResults.h"
88 #include "public/platform/WebVector.h" 60 #include "sky/engine/core/page/FocusController.h"
89 #include "public/web/WebActiveWheelFlingParameters.h" 61 #include "sky/engine/core/page/Page.h"
90 #include "public/web/WebBeginFrameArgs.h" 62 #include "sky/engine/core/page/TouchDisambiguation.h"
91 #include "public/web/WebFrameClient.h" 63 #include "sky/engine/core/rendering/RenderView.h"
92 #include "public/web/WebHitTestResult.h" 64 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h"
93 #include "public/web/WebNode.h" 65 #include "sky/engine/platform/Cursor.h"
94 #include "public/web/WebRange.h" 66 #include "sky/engine/platform/KeyboardCodes.h"
95 #include "public/web/WebTextInputInfo.h" 67 #include "sky/engine/platform/Logging.h"
96 #include "public/web/WebViewClient.h" 68 #include "sky/engine/platform/NotImplemented.h"
97 #include "web/CompositionUnderlineVectorBuilder.h" 69 #include "sky/engine/platform/PlatformGestureEvent.h"
98 #include "web/GraphicsLayerFactoryChromium.h" 70 #include "sky/engine/platform/PlatformKeyboardEvent.h"
99 #include "web/LinkHighlight.h" 71 #include "sky/engine/platform/PlatformMouseEvent.h"
100 #include "web/painting/ContinuousPainter.h" 72 #include "sky/engine/platform/PlatformWheelEvent.h"
101 #include "web/WebInputEventConversion.h" 73 #include "sky/engine/platform/TraceEvent.h"
102 #include "web/WebLocalFrameImpl.h" 74 #include "sky/engine/platform/UserGestureIndicator.h"
103 #include "web/WebSettingsImpl.h" 75 #include "sky/engine/platform/exported/WebActiveGestureAnimation.h"
104 #include "wtf/CurrentTime.h" 76 #include "sky/engine/platform/fonts/FontCache.h"
105 #include "wtf/RefPtr.h" 77 #include "sky/engine/platform/graphics/Color.h"
106 #include "wtf/TemporaryChange.h" 78 #include "sky/engine/platform/graphics/Image.h"
79 #include "sky/engine/platform/graphics/ImageBuffer.h"
80 #include "sky/engine/platform/scroll/Scrollbar.h"
81 #include "sky/engine/platform/weborigin/SchemeRegistry.h"
82 #include "sky/engine/public/platform/Platform.h"
83 #include "sky/engine/public/platform/WebFloatPoint.h"
84 #include "sky/engine/public/platform/WebGestureCurve.h"
85 #include "sky/engine/public/platform/WebImage.h"
86 #include "sky/engine/public/platform/WebLayerTreeView.h"
87 #include "sky/engine/public/platform/WebURLRequest.h"
88 #include "sky/engine/public/platform/WebVector.h"
89 #include "sky/engine/public/web/WebActiveWheelFlingParameters.h"
90 #include "sky/engine/public/web/WebBeginFrameArgs.h"
91 #include "sky/engine/public/web/WebFrameClient.h"
92 #include "sky/engine/public/web/WebHitTestResult.h"
93 #include "sky/engine/public/web/WebNode.h"
94 #include "sky/engine/public/web/WebRange.h"
95 #include "sky/engine/public/web/WebTextInputInfo.h"
96 #include "sky/engine/public/web/WebViewClient.h"
97 #include "sky/engine/web/CompositionUnderlineVectorBuilder.h"
98 #include "sky/engine/web/GraphicsLayerFactoryChromium.h"
99 #include "sky/engine/web/LinkHighlight.h"
100 #include "sky/engine/web/WebInputEventConversion.h"
101 #include "sky/engine/web/WebLocalFrameImpl.h"
102 #include "sky/engine/web/WebSettingsImpl.h"
103 #include "sky/engine/web/painting/ContinuousPainter.h"
104 #include "sky/engine/wtf/CurrentTime.h"
105 #include "sky/engine/wtf/RefPtr.h"
106 #include "sky/engine/wtf/TemporaryChange.h"
107 107
108 // Get rid of WTF's pow define so we can use std::pow. 108 // Get rid of WTF's pow define so we can use std::pow.
109 #undef pow 109 #undef pow
110 #include <cmath> // for std::pow 110 #include <cmath> // for std::pow
111 111
112 namespace blink { 112 namespace blink {
113 113
114 // WebView ---------------------------------------------------------------- 114 // WebView ----------------------------------------------------------------
115 115
116 WebView* WebView::create(WebViewClient* client) 116 WebView* WebView::create(WebViewClient* client)
(...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2255 m_layerTreeView->setVisible(visible); 2255 m_layerTreeView->setVisible(visible);
2256 } 2256 }
2257 } 2257 }
2258 2258
2259 bool WebViewImpl::shouldDisableDesktopWorkarounds() 2259 bool WebViewImpl::shouldDisableDesktopWorkarounds()
2260 { 2260 {
2261 return true; 2261 return true;
2262 } 2262 }
2263 2263
2264 } // namespace blink 2264 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/WebViewImpl.h ('k') | sky/engine/web/linux/WebFontRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698