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

Side by Side Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 14888002: Android WebView Merged-Thread Hardware Draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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 | Annotate | Revision Log
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 ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 9
10 #include "android_webview/common/aw_hit_test_data.h" 10 #include "android_webview/common/aw_hit_test_data.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 private: 63 private:
64 // content::WebContentsObserver implementation. 64 // content::WebContentsObserver implementation.
65 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 65 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
66 virtual void DidNavigateAnyFrame( 66 virtual void DidNavigateAnyFrame(
67 const content::LoadCommittedDetails& details, 67 const content::LoadCommittedDetails& details,
68 const content::FrameNavigateParams& params) OVERRIDE; 68 const content::FrameNavigateParams& params) OVERRIDE;
69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
70 70
71 void OnDocumentHasImagesResponse(int msg_id, bool has_images); 71 void OnDocumentHasImagesResponse(int msg_id, bool has_images);
72 void OnUpdateHitTestData(const AwHitTestData& hit_test_data); 72 void OnUpdateHitTestData(const AwHitTestData& hit_test_data);
73 void OnPictureUpdated(); 73 void OnDidActivateAcceleratedCompositing(int input_handler_id);
74 74
75 bool IsRenderViewReady() const; 75 bool IsRenderViewReady() const;
76 76
77 std::map<int, DocumentHasImagesResult> pending_document_has_images_requests_; 77 std::map<int, DocumentHasImagesResult> pending_document_has_images_requests_;
78 78
79 // Master copy of hit test data on the browser side. This is updated 79 // Master copy of hit test data on the browser side. This is updated
80 // as a result of DoHitTest called explicitly or when the FocusedNodeChanged 80 // as a result of DoHitTest called explicitly or when the FocusedNodeChanged
81 // is called in AwRenderViewExt. 81 // is called in AwRenderViewExt.
82 AwHitTestData last_hit_test_data_; 82 AwHitTestData last_hit_test_data_;
83 83
84 bool has_new_hit_test_data_; 84 bool has_new_hit_test_data_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); 86 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt);
87 }; 87 };
88 88
89 } // namespace android_webview 89 } // namespace android_webview
90 90
91 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ 91 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698