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

Side by Side Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #include "platform/graphics/paint/CullRect.h" 80 #include "platform/graphics/paint/CullRect.h"
81 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" 81 #include "platform/graphics/paint/ForeignLayerDisplayItem.h"
82 #include "platform/scroll/ScrollAnimatorBase.h" 82 #include "platform/scroll/ScrollAnimatorBase.h"
83 #include "platform/scroll/ScrollbarTheme.h" 83 #include "platform/scroll/ScrollbarTheme.h"
84 #include "public/platform/Platform.h" 84 #include "public/platform/Platform.h"
85 #include "public/platform/WebClipboard.h" 85 #include "public/platform/WebClipboard.h"
86 #include "public/platform/WebCompositorSupport.h" 86 #include "public/platform/WebCompositorSupport.h"
87 #include "public/platform/WebCursorInfo.h" 87 #include "public/platform/WebCursorInfo.h"
88 #include "public/platform/WebDragData.h" 88 #include "public/platform/WebDragData.h"
89 #include "public/platform/WebExternalTextureLayer.h" 89 #include "public/platform/WebExternalTextureLayer.h"
90 #include "public/platform/WebInputEvent.h"
90 #include "public/platform/WebRect.h" 91 #include "public/platform/WebRect.h"
91 #include "public/platform/WebString.h" 92 #include "public/platform/WebString.h"
92 #include "public/platform/WebURL.h" 93 #include "public/platform/WebURL.h"
93 #include "public/platform/WebURLError.h" 94 #include "public/platform/WebURLError.h"
94 #include "public/platform/WebURLRequest.h" 95 #include "public/platform/WebURLRequest.h"
95 #include "public/web/WebDOMMessageEvent.h" 96 #include "public/web/WebDOMMessageEvent.h"
96 #include "public/web/WebDocument.h" 97 #include "public/web/WebDocument.h"
97 #include "public/web/WebElement.h" 98 #include "public/web/WebElement.h"
98 #include "public/web/WebFrameClient.h" 99 #include "public/web/WebFrameClient.h"
99 #include "public/web/WebInputEvent.h"
100 #include "public/web/WebPlugin.h" 100 #include "public/web/WebPlugin.h"
101 #include "public/web/WebPrintParams.h" 101 #include "public/web/WebPrintParams.h"
102 #include "public/web/WebPrintPresetOptions.h" 102 #include "public/web/WebPrintPresetOptions.h"
103 #include "public/web/WebViewClient.h" 103 #include "public/web/WebViewClient.h"
104 #include "web/ChromeClientImpl.h" 104 #include "web/ChromeClientImpl.h"
105 #include "web/WebDataSourceImpl.h" 105 #include "web/WebDataSourceImpl.h"
106 #include "web/WebInputEventConversion.h" 106 #include "web/WebInputEventConversion.h"
107 #include "web/WebLocalFrameImpl.h" 107 #include "web/WebLocalFrameImpl.h"
108 #include "web/WebViewImpl.h" 108 #include "web/WebViewImpl.h"
109 #include "wtf/Assertions.h" 109 #include "wtf/Assertions.h"
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 // frame view. 973 // frame view.
974 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRect); 974 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRect);
975 } 975 }
976 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); 976 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects);
977 // Convert to the plugin position. 977 // Convert to the plugin position.
978 for (size_t i = 0; i < cutOutRects.size(); i++) 978 for (size_t i = 0; i < cutOutRects.size(); i++)
979 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); 979 cutOutRects[i].move(-frameRect().x(), -frameRect().y());
980 } 980 }
981 981
982 } // namespace blink 982 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698