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

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

Issue 533483004: Implement RenderWidgetHostViewAndroid::GetLastScrollOffset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 scoped_ptr<cc::CompositorFrame> frame; 422 scoped_ptr<cc::CompositorFrame> frame;
423 }; 423 };
424 424
425 scoped_ptr<LastFrameInfo> last_frame_info_; 425 scoped_ptr<LastFrameInfo> last_frame_info_;
426 426
427 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 427 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
428 428
429 // List of readbackrequests waiting for arrival of a valid frame. 429 // List of readbackrequests waiting for arrival of a valid frame.
430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; 430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_;
431 431
432 // The last scroll offset of the view.
433 gfx::Vector2dF last_scroll_offset_;
434
432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 435 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
433 }; 436 };
434 437
435 } // namespace content 438 } // namespace content
436 439
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698