| 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_MUS_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 void CloseTabAfterEventTracking() override; | 73 void CloseTabAfterEventTracking() override; |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 // Backend implementation of RenderViewHostDelegateView. | 76 // Backend implementation of RenderViewHostDelegateView. |
| 77 void ShowContextMenu(RenderFrameHost* render_frame_host, | 77 void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 78 const ContextMenuParams& params) override; | 78 const ContextMenuParams& params) override; |
| 79 void StartDragging(const DropData& drop_data, | 79 void StartDragging(const DropData& drop_data, |
| 80 blink::WebDragOperationsMask allowed_ops, | 80 blink::WebDragOperationsMask allowed_ops, |
| 81 const gfx::ImageSkia& image, | 81 const gfx::ImageSkia& image, |
| 82 const gfx::Vector2d& image_offset, | 82 const gfx::Vector2d& image_offset, |
| 83 const DragEventSourceInfo& event_info) override; | 83 const DragEventSourceInfo& event_info, |
| 84 RenderWidgetHost* source_rwh) override; |
| 84 void UpdateDragCursor(blink::WebDragOperation operation) override; | 85 void UpdateDragCursor(blink::WebDragOperation operation) override; |
| 85 void GotFocus() override; | 86 void GotFocus() override; |
| 86 void TakeFocus(bool reverse) override; | 87 void TakeFocus(bool reverse) override; |
| 87 | 88 |
| 88 // Overridden from aura::WindowDelegate: | 89 // Overridden from aura::WindowDelegate: |
| 89 gfx::Size GetMinimumSize() const override; | 90 gfx::Size GetMinimumSize() const override; |
| 90 gfx::Size GetMaximumSize() const override; | 91 gfx::Size GetMaximumSize() const override; |
| 91 void OnBoundsChanged(const gfx::Rect& old_bounds, | 92 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 92 const gfx::Rect& new_bounds) override; | 93 const gfx::Rect& new_bounds) override; |
| 93 gfx::NativeCursor GetCursor(const gfx::Point& point) override; | 94 gfx::NativeCursor GetCursor(const gfx::Point& point) override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 111 std::unique_ptr<WebContentsViewDelegate> delegate_; | 112 std::unique_ptr<WebContentsViewDelegate> delegate_; |
| 112 std::unique_ptr<aura::Window> aura_window_; | 113 std::unique_ptr<aura::Window> aura_window_; |
| 113 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 114 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus); | 116 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMus); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace content | 119 } // namespace content |
| 119 | 120 |
| 120 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ | 121 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MUS_H_ |
| OLD | NEW |