Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 454863003: Revert of [Android] Use UIResource for overscroll glow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 // The output surface id of the last received frame. 348 // The output surface id of the last received frame.
349 uint32_t last_output_surface_id_; 349 uint32_t last_output_surface_id_;
350 350
351 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 351 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
352 352
353 std::queue<base::Closure> ack_callbacks_; 353 std::queue<base::Closure> ack_callbacks_;
354 354
355 const bool overscroll_effect_enabled_; 355 const bool overscroll_effect_enabled_;
356 // Used to render overscroll overlays. 356 // Used to render overscroll overlays.
357 // Note: |overscroll_effect_| will never be NULL, even if it's never enabled.
357 scoped_ptr<OverscrollGlow> overscroll_effect_; 358 scoped_ptr<OverscrollGlow> overscroll_effect_;
358 359
359 // Provides gesture synthesis given a stream of touch events (derived from 360 // Provides gesture synthesis given a stream of touch events (derived from
360 // Android MotionEvent's) and touch event acks. 361 // Android MotionEvent's) and touch event acks.
361 ui::FilteredGestureProvider gesture_provider_; 362 ui::FilteredGestureProvider gesture_provider_;
362 363
363 // Handles gesture based text selection 364 // Handles gesture based text selection
364 GestureTextSelector gesture_text_selector_; 365 GestureTextSelector gesture_text_selector_;
365 366
366 // Manages selection handle rendering and manipulation. 367 // Manages selection handle rendering and manipulation.
(...skipping 27 matching lines...) Expand all
394 scoped_ptr<LastFrameInfo> last_frame_info_; 395 scoped_ptr<LastFrameInfo> last_frame_info_;
395 396
396 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 397 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
397 398
398 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 399 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
399 }; 400 };
400 401
401 } // namespace content 402 } // namespace content
402 403
403 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 404 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698