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

Side by Side Diff: components/plugins/renderer/webview_plugin.h

Issue 2874133002: Removed WebFrameClient.cpp from Source/web (Closed)
Patch Set: Added TODO back Created 3 years, 7 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 | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const blink::WebPoint&) override; 167 const blink::WebPoint&) override;
168 // TODO(ojan): Remove this override and have this class use a non-null 168 // TODO(ojan): Remove this override and have this class use a non-null
169 // layerTreeView. 169 // layerTreeView.
170 bool AllowsBrokenNullLayerTreeView() const override; 170 bool AllowsBrokenNullLayerTreeView() const override;
171 void DidInvalidateRect(const blink::WebRect&) override; 171 void DidInvalidateRect(const blink::WebRect&) override;
172 void DidChangeCursor(const blink::WebCursorInfo& cursor) override; 172 void DidChangeCursor(const blink::WebCursorInfo& cursor) override;
173 void ScheduleAnimation() override; 173 void ScheduleAnimation() override;
174 174
175 // WebFrameClient methods: 175 // WebFrameClient methods:
176 void DidClearWindowObject() override; 176 void DidClearWindowObject() override;
177 void FrameDetached(blink::WebLocalFrame*, DetachType) override;
177 178
178 private: 179 private:
179 WebViewPlugin* plugin_; 180 WebViewPlugin* plugin_;
180 181
181 // Owned by us, deleted via |close()|. 182 // Owned by us, deleted via |close()|.
182 blink::WebView* web_view_; 183 blink::WebView* web_view_;
183 }; 184 };
184 WebViewHelper web_view_helper_; 185 WebViewHelper web_view_helper_;
185 186
186 // Should be invalidated when destroy() is called. 187 // Should be invalidated when destroy() is called.
187 base::WeakPtrFactory<WebViewPlugin> weak_factory_; 188 base::WeakPtrFactory<WebViewPlugin> weak_factory_;
188 }; 189 };
189 190
190 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 191 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698