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

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

Issue 422013003: [Android] Use UIResource for overscroll glow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary layer disabling code 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.
358 scoped_ptr<OverscrollGlow> overscroll_effect_; 357 scoped_ptr<OverscrollGlow> overscroll_effect_;
359 358
360 // Provides gesture synthesis given a stream of touch events (derived from 359 // Provides gesture synthesis given a stream of touch events (derived from
361 // Android MotionEvent's) and touch event acks. 360 // Android MotionEvent's) and touch event acks.
362 ui::FilteredGestureProvider gesture_provider_; 361 ui::FilteredGestureProvider gesture_provider_;
363 362
364 // Handles gesture based text selection 363 // Handles gesture based text selection
365 GestureTextSelector gesture_text_selector_; 364 GestureTextSelector gesture_text_selector_;
366 365
367 // Manages selection handle rendering and manipulation. 366 // Manages selection handle rendering and manipulation.
(...skipping 27 matching lines...) Expand all
395 scoped_ptr<LastFrameInfo> last_frame_info_; 394 scoped_ptr<LastFrameInfo> last_frame_info_;
396 395
397 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 396 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
398 397
399 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 398 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
400 }; 399 };
401 400
402 } // namespace content 401 } // namespace content
403 402
404 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 403 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698