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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 bool right_aligned, | 136 bool right_aligned, |
137 bool allow_multiple_selection) OVERRIDE; | 137 bool allow_multiple_selection) OVERRIDE; |
138 virtual void StartDragging(const DropData& drop_data, | 138 virtual void StartDragging(const DropData& drop_data, |
139 WebKit::WebDragOperationsMask operations, | 139 WebKit::WebDragOperationsMask operations, |
140 const gfx::ImageSkia& image, | 140 const gfx::ImageSkia& image, |
141 const gfx::Vector2d& image_offset, | 141 const gfx::Vector2d& image_offset, |
142 const DragEventSourceInfo& event_info) OVERRIDE; | 142 const DragEventSourceInfo& event_info) OVERRIDE; |
143 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; | 143 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; |
144 virtual void GotFocus() OVERRIDE; | 144 virtual void GotFocus() OVERRIDE; |
145 virtual void TakeFocus(bool reverse) OVERRIDE; | 145 virtual void TakeFocus(bool reverse) OVERRIDE; |
| 146 virtual bool GrabSnapshot(const std::string& format, |
| 147 int quality, |
| 148 double scale, |
| 149 std::vector<uint8>* data) OVERRIDE; |
146 | 150 |
147 // Overridden from OverscrollControllerDelegate: | 151 // Overridden from OverscrollControllerDelegate: |
148 virtual void OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE; | 152 virtual void OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE; |
149 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE; | 153 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE; |
150 virtual void OnOverscrollModeChange(OverscrollMode old_mode, | 154 virtual void OnOverscrollModeChange(OverscrollMode old_mode, |
151 OverscrollMode new_mode) OVERRIDE; | 155 OverscrollMode new_mode) OVERRIDE; |
152 | 156 |
153 // Overridden from ui::ImplicitAnimationObserver: | 157 // Overridden from ui::ImplicitAnimationObserver: |
154 virtual void OnImplicitAnimationsCompleted() OVERRIDE; | 158 virtual void OnImplicitAnimationsCompleted() OVERRIDE; |
155 | 159 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; | 232 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; |
229 | 233 |
230 scoped_ptr<TouchEditableImplAura> touch_editable_; | 234 scoped_ptr<TouchEditableImplAura> touch_editable_; |
231 | 235 |
232 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 236 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
233 }; | 237 }; |
234 | 238 |
235 } // namespace content | 239 } // namespace content |
236 | 240 |
237 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 241 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |