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

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

Issue 2682593002: Refactor ContentViewClient (4/6) (Closed)
Patch Set: . Created 3 years, 10 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 372
373 SynchronousCompositorClient* synchronous_compositor_client_; 373 SynchronousCompositorClient* synchronous_compositor_client_;
374 374
375 std::unique_ptr<DelegatedFrameEvictor> frame_evictor_; 375 std::unique_ptr<DelegatedFrameEvictor> frame_evictor_;
376 376
377 bool observing_root_window_; 377 bool observing_root_window_;
378 378
379 // The last scroll offset of the view. 379 // The last scroll offset of the view.
380 gfx::Vector2dF last_scroll_offset_; 380 gfx::Vector2dF last_scroll_offset_;
381 381
382 float prev_top_shown_pix_;
383 float prev_bottom_shown_pix_;
384
382 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 385 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
383 386
384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
385 }; 388 };
386 389
387 } // namespace content 390 } // namespace content
388 391
389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 392 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698