| OLD | NEW |
| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 bool acceptsLoadDrops() override; | 114 bool acceptsLoadDrops() override; |
| 115 | 115 |
| 116 void setToolTipText(const blink::WebString&, | 116 void setToolTipText(const blink::WebString&, |
| 117 blink::WebTextDirection) override; | 117 blink::WebTextDirection) override; |
| 118 | 118 |
| 119 void startDragging(blink::WebLocalFrame* frame, | 119 void startDragging(blink::WebLocalFrame* frame, |
| 120 const blink::WebDragData& drag_data, | 120 const blink::WebDragData& drag_data, |
| 121 blink::WebDragOperationsMask mask, | 121 blink::WebDragOperationsMask mask, |
| 122 const blink::WebImage& image, | 122 const blink::WebImage& image, |
| 123 const blink::WebPoint& point) override; | 123 const blink::WebPoint& point) override; |
| 124 void convertViewportToWindow(blink::WebRect* rect) override; |
| 124 | 125 |
| 125 // TODO(ojan): Remove this override and have this class use a non-null | 126 // TODO(ojan): Remove this override and have this class use a non-null |
| 126 // layerTreeView. | 127 // layerTreeView. |
| 127 bool allowsBrokenNullLayerTreeView() const override; | 128 bool allowsBrokenNullLayerTreeView() const override; |
| 128 | 129 |
| 129 // WebWidgetClient methods: | 130 // WebWidgetClient methods: |
| 130 void didInvalidateRect(const blink::WebRect&) override; | 131 void didInvalidateRect(const blink::WebRect&) override; |
| 131 void didUpdateLayoutSize(const blink::WebSize&) override; | 132 void didUpdateLayoutSize(const blink::WebSize&) override; |
| 132 void didChangeCursor(const blink::WebCursorInfo& cursor) override; | 133 void didChangeCursor(const blink::WebCursorInfo& cursor) override; |
| 133 void scheduleAnimation() override; | 134 void scheduleAnimation() override; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 172 |
| 172 blink::WebURLResponse response_; | 173 blink::WebURLResponse response_; |
| 173 std::list<std::string> data_; | 174 std::list<std::string> data_; |
| 174 scoped_ptr<blink::WebURLError> error_; | 175 scoped_ptr<blink::WebURLError> error_; |
| 175 blink::WebString old_title_; | 176 blink::WebString old_title_; |
| 176 bool finished_loading_; | 177 bool finished_loading_; |
| 177 bool focused_; | 178 bool focused_; |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 181 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
| OLD | NEW |