| 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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void ShowContextMenu(RenderFrameHost* render_frame_host, | 130 void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 131 const ContextMenuParams& params) override; | 131 const ContextMenuParams& params) override; |
| 132 void StartDragging(const DropData& drop_data, | 132 void StartDragging(const DropData& drop_data, |
| 133 blink::WebDragOperationsMask operations, | 133 blink::WebDragOperationsMask operations, |
| 134 const gfx::ImageSkia& image, | 134 const gfx::ImageSkia& image, |
| 135 const gfx::Vector2d& image_offset, | 135 const gfx::Vector2d& image_offset, |
| 136 const DragEventSourceInfo& event_info, | 136 const DragEventSourceInfo& event_info, |
| 137 RenderWidgetHostImpl* source_rwh) override; | 137 RenderWidgetHostImpl* source_rwh) override; |
| 138 void UpdateDragCursor(blink::WebDragOperation operation) override; | 138 void UpdateDragCursor(blink::WebDragOperation operation) override; |
| 139 void GotFocus() override; | 139 void GotFocus() override; |
| 140 void Blured() override; |
| 140 void TakeFocus(bool reverse) override; | 141 void TakeFocus(bool reverse) override; |
| 141 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) | 142 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) |
| 142 void ShowPopupMenu(RenderFrameHost* render_frame_host, | 143 void ShowPopupMenu(RenderFrameHost* render_frame_host, |
| 143 const gfx::Rect& bounds, | 144 const gfx::Rect& bounds, |
| 144 int item_height, | 145 int item_height, |
| 145 double item_font_size, | 146 double item_font_size, |
| 146 int selected_item, | 147 int selected_item, |
| 147 const std::vector<MenuItem>& items, | 148 const std::vector<MenuItem>& items, |
| 148 bool right_aligned, | 149 bool right_aligned, |
| 149 bool allow_multiple_selection) override; | 150 bool allow_multiple_selection) override; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 std::unique_ptr<GestureNavSimple> gesture_nav_simple_; | 247 std::unique_ptr<GestureNavSimple> gesture_nav_simple_; |
| 247 | 248 |
| 248 bool init_rwhv_with_null_parent_for_testing_; | 249 bool init_rwhv_with_null_parent_for_testing_; |
| 249 | 250 |
| 250 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 251 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 } // namespace content | 254 } // namespace content |
| 254 | 255 |
| 255 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 256 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
| OLD | NEW |