| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 double item_font_size, | 77 double item_font_size, |
| 78 int selected_item, | 78 int selected_item, |
| 79 const std::vector<MenuItem>& items, | 79 const std::vector<MenuItem>& items, |
| 80 bool right_aligned, | 80 bool right_aligned, |
| 81 bool allow_multiple_selection) override; | 81 bool allow_multiple_selection) override; |
| 82 void HidePopupMenu() override; | 82 void HidePopupMenu() override; |
| 83 void StartDragging(const DropData& drop_data, | 83 void StartDragging(const DropData& drop_data, |
| 84 blink::WebDragOperationsMask allowed_ops, | 84 blink::WebDragOperationsMask allowed_ops, |
| 85 const gfx::ImageSkia& image, | 85 const gfx::ImageSkia& image, |
| 86 const gfx::Vector2d& image_offset, | 86 const gfx::Vector2d& image_offset, |
| 87 const DragEventSourceInfo& event_info) override; | 87 const DragEventSourceInfo& event_info, |
| 88 RenderWidgetHostImpl* source_rwh) override; |
| 88 void UpdateDragCursor(blink::WebDragOperation operation) override; | 89 void UpdateDragCursor(blink::WebDragOperation operation) override; |
| 89 void GotFocus() override; | 90 void GotFocus() override; |
| 90 void TakeFocus(bool reverse) override; | 91 void TakeFocus(bool reverse) override; |
| 91 | 92 |
| 92 void OnDragEntered(const std::vector<DropData::Metadata>& metadata, | 93 void OnDragEntered(const std::vector<DropData::Metadata>& metadata, |
| 93 const gfx::Point& location, | 94 const gfx::Point& location, |
| 94 const gfx::Point& screen_location); | 95 const gfx::Point& screen_location); |
| 95 void OnDragUpdated(const gfx::Point& location, | 96 void OnDragUpdated(const gfx::Point& location, |
| 96 const gfx::Point& screen_location); | 97 const gfx::Point& screen_location); |
| 97 void OnDragExited(); | 98 void OnDragExited(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 115 | 116 |
| 116 // Interface used to get notified of events from the synchronous compositor. | 117 // Interface used to get notified of events from the synchronous compositor. |
| 117 SynchronousCompositorClient* synchronous_compositor_client_; | 118 SynchronousCompositorClient* synchronous_compositor_client_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 120 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace content | 123 } // namespace content |
| 123 | 124 |
| 124 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 125 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| OLD | NEW |