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

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

Issue 584243002: Fix plugin placeholder invalidation issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const blink::WebImage& image, 117 const blink::WebImage& image,
118 const blink::WebPoint& point); 118 const blink::WebPoint& point);
119 119
120 // TODO(ojan): Remove this override and have this class use a non-null 120 // TODO(ojan): Remove this override and have this class use a non-null
121 // layerTreeView. 121 // layerTreeView.
122 virtual bool allowsBrokenNullLayerTreeView() const; 122 virtual bool allowsBrokenNullLayerTreeView() const;
123 123
124 // WebWidgetClient methods: 124 // WebWidgetClient methods:
125 virtual void didInvalidateRect(const blink::WebRect&); 125 virtual void didInvalidateRect(const blink::WebRect&);
126 virtual void didChangeCursor(const blink::WebCursorInfo& cursor); 126 virtual void didChangeCursor(const blink::WebCursorInfo& cursor);
127 virtual void scheduleAnimation();
127 128
128 // WebFrameClient methods: 129 // WebFrameClient methods:
129 virtual void didClearWindowObject(blink::WebLocalFrame* frame); 130 virtual void didClearWindowObject(blink::WebLocalFrame* frame);
130 131
131 // This method is defined in WebPlugin as well as in WebFrameClient, but with 132 // This method is defined in WebPlugin as well as in WebFrameClient, but with
132 // different parameters. We only care about implementing the WebPlugin 133 // different parameters. We only care about implementing the WebPlugin
133 // version, so we implement this method and call the default in WebFrameClient 134 // version, so we implement this method and call the default in WebFrameClient
134 // (which does nothing) to correctly overload it. 135 // (which does nothing) to correctly overload it.
135 virtual void didReceiveResponse(blink::WebLocalFrame* frame, 136 virtual void didReceiveResponse(blink::WebLocalFrame* frame,
136 unsigned identifier, 137 unsigned identifier,
(...skipping 21 matching lines...) Expand all
158 159
159 blink::WebURLResponse response_; 160 blink::WebURLResponse response_;
160 std::list<std::string> data_; 161 std::list<std::string> data_;
161 bool finished_loading_; 162 bool finished_loading_;
162 scoped_ptr<blink::WebURLError> error_; 163 scoped_ptr<blink::WebURLError> error_;
163 blink::WebString old_title_; 164 blink::WebString old_title_;
164 bool focused_; 165 bool focused_;
165 }; 166 };
166 167
167 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 168 #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