| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 bool acceptsLoadDrops() override; | 120 bool acceptsLoadDrops() override; |
| 121 | 121 |
| 122 void setToolTipText(const blink::WebString&, | 122 void setToolTipText(const blink::WebString&, |
| 123 blink::WebTextDirection) override; | 123 blink::WebTextDirection) override; |
| 124 | 124 |
| 125 void startDragging(blink::WebLocalFrame* frame, | 125 void startDragging(blink::WebLocalFrame* frame, |
| 126 const blink::WebDragData& drag_data, | 126 const blink::WebDragData& drag_data, |
| 127 blink::WebDragOperationsMask mask, | 127 blink::WebDragOperationsMask mask, |
| 128 const blink::WebImage& image, | 128 const blink::WebImage& image, |
| 129 const blink::WebPoint& point) override; | 129 const blink::WebPoint& point) override; |
| 130 void convertViewportToScreen(blink::WebRect* rect) override; |
| 130 | 131 |
| 131 // TODO(ojan): Remove this override and have this class use a non-null | 132 // TODO(ojan): Remove this override and have this class use a non-null |
| 132 // layerTreeView. | 133 // layerTreeView. |
| 133 bool allowsBrokenNullLayerTreeView() const override; | 134 bool allowsBrokenNullLayerTreeView() const override; |
| 134 | 135 |
| 135 // WebWidgetClient methods: | 136 // WebWidgetClient methods: |
| 136 void didInvalidateRect(const blink::WebRect&) override; | 137 void didInvalidateRect(const blink::WebRect&) override; |
| 137 void didUpdateLayoutSize(const blink::WebSize&) override; | 138 void didUpdateLayoutSize(const blink::WebSize&) override; |
| 138 void didChangeCursor(const blink::WebCursorInfo& cursor) override; | 139 void didChangeCursor(const blink::WebCursorInfo& cursor) override; |
| 139 void scheduleAnimation() override; | 140 void scheduleAnimation() override; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 178 |
| 178 blink::WebURLResponse response_; | 179 blink::WebURLResponse response_; |
| 179 std::list<std::string> data_; | 180 std::list<std::string> data_; |
| 180 scoped_ptr<blink::WebURLError> error_; | 181 scoped_ptr<blink::WebURLError> error_; |
| 181 blink::WebString old_title_; | 182 blink::WebString old_title_; |
| 182 bool finished_loading_; | 183 bool finished_loading_; |
| 183 bool focused_; | 184 bool focused_; |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 187 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
| OLD | NEW |