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

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

Issue 2832713002: Move WebDataSourceImpl from web/ -> core/exported/. (Closed)
Patch Set: Need to add BLINK_EXPORT to WebDataSource for windows to compile. Created 3 years, 8 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/dom/Fullscreen.h" 43 #include "core/dom/Fullscreen.h"
44 #include "core/events/DragEvent.h" 44 #include "core/events/DragEvent.h"
45 #include "core/events/EventQueue.h" 45 #include "core/events/EventQueue.h"
46 #include "core/events/GestureEvent.h" 46 #include "core/events/GestureEvent.h"
47 #include "core/events/KeyboardEvent.h" 47 #include "core/events/KeyboardEvent.h"
48 #include "core/events/MouseEvent.h" 48 #include "core/events/MouseEvent.h"
49 #include "core/events/ProgressEvent.h" 49 #include "core/events/ProgressEvent.h"
50 #include "core/events/ResourceProgressEvent.h" 50 #include "core/events/ResourceProgressEvent.h"
51 #include "core/events/TouchEvent.h" 51 #include "core/events/TouchEvent.h"
52 #include "core/events/WheelEvent.h" 52 #include "core/events/WheelEvent.h"
53 #include "core/exported/WebDataSourceImpl.h"
53 #include "core/frame/EventHandlerRegistry.h" 54 #include "core/frame/EventHandlerRegistry.h"
54 #include "core/frame/FrameView.h" 55 #include "core/frame/FrameView.h"
55 #include "core/frame/LocalFrame.h" 56 #include "core/frame/LocalFrame.h"
56 #include "core/frame/csp/ContentSecurityPolicy.h" 57 #include "core/frame/csp/ContentSecurityPolicy.h"
57 #include "core/html/HTMLFormElement.h" 58 #include "core/html/HTMLFormElement.h"
58 #include "core/html/HTMLPlugInElement.h" 59 #include "core/html/HTMLPlugInElement.h"
59 #include "core/input/EventHandler.h" 60 #include "core/input/EventHandler.h"
60 #include "core/layout/HitTestResult.h" 61 #include "core/layout/HitTestResult.h"
61 #include "core/layout/LayoutBox.h" 62 #include "core/layout/LayoutBox.h"
62 #include "core/layout/LayoutView.h" 63 #include "core/layout/LayoutView.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #include "public/platform/WebURLRequest.h" 96 #include "public/platform/WebURLRequest.h"
96 #include "public/web/WebDOMMessageEvent.h" 97 #include "public/web/WebDOMMessageEvent.h"
97 #include "public/web/WebDocument.h" 98 #include "public/web/WebDocument.h"
98 #include "public/web/WebElement.h" 99 #include "public/web/WebElement.h"
99 #include "public/web/WebFrameClient.h" 100 #include "public/web/WebFrameClient.h"
100 #include "public/web/WebPlugin.h" 101 #include "public/web/WebPlugin.h"
101 #include "public/web/WebPrintParams.h" 102 #include "public/web/WebPrintParams.h"
102 #include "public/web/WebPrintPresetOptions.h" 103 #include "public/web/WebPrintPresetOptions.h"
103 #include "public/web/WebViewClient.h" 104 #include "public/web/WebViewClient.h"
104 #include "web/ChromeClientImpl.h" 105 #include "web/ChromeClientImpl.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 109
110 namespace blink { 110 namespace blink {
111 111
112 // Public methods -------------------------------------------------------------- 112 // Public methods --------------------------------------------------------------
113 113
114 void WebPluginContainerImpl::SetParent(FrameView* parent) { 114 void WebPluginContainerImpl::SetParent(FrameView* parent) {
115 DCHECK(!parent || !parent_); 115 DCHECK(!parent || !parent_);
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, 1003 ComputeClipRectsForPlugin(element_, window_rect, clip_rect,
1004 unobscured_rect); 1004 unobscured_rect);
1005 } 1005 }
1006 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects); 1006 GetPluginOcclusions(element_, parent_, frame_rect_, cut_out_rects);
1007 // Convert to the plugin position. 1007 // Convert to the plugin position.
1008 for (size_t i = 0; i < cut_out_rects.size(); i++) 1008 for (size_t i = 0; i < cut_out_rects.size(); i++)
1009 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y()); 1009 cut_out_rects[i].Move(-frame_rect_.X(), -frame_rect_.Y());
1010 } 1010 }
1011 1011
1012 } // namespace blink 1012 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698