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

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

Issue 2842693005: Store physical backing size in ViewAndroid (Closed)
Patch Set: no UpdateLayerBounds Created 3 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 bool TransformPointToCoordSpaceForView( 178 bool TransformPointToCoordSpaceForView(
179 const gfx::Point& point, 179 const gfx::Point& point,
180 RenderWidgetHostViewBase* target_view, 180 RenderWidgetHostViewBase* target_view,
181 gfx::Point* transformed_point) override; 181 gfx::Point* transformed_point) override;
182 182
183 // ui::ViewClient implementation. 183 // ui::ViewClient implementation.
184 bool OnTouchEvent(const ui::MotionEventAndroid& m, 184 bool OnTouchEvent(const ui::MotionEventAndroid& m,
185 bool for_touch_handle) override; 185 bool for_touch_handle) override;
186 bool OnMouseEvent(const ui::MotionEventAndroid& m) override; 186 bool OnMouseEvent(const ui::MotionEventAndroid& m) override;
187 bool OnMouseWheelEvent(const ui::MotionEventAndroid& event) override; 187 bool OnMouseWheelEvent(const ui::MotionEventAndroid& event) override;
188 void OnPhysicalBackingSizeChanged() override;
188 189
189 // ui::GestureProviderClient implementation. 190 // ui::GestureProviderClient implementation.
190 void OnGestureEvent(const ui::GestureEventData& gesture) override; 191 void OnGestureEvent(const ui::GestureEventData& gesture) override;
191 192
192 // ui::WindowAndroidObserver implementation. 193 // ui::WindowAndroidObserver implementation.
193 void OnCompositingDidCommit() override {} 194 void OnCompositingDidCommit() override {}
194 void OnRootWindowVisibilityChanged(bool visible) override; 195 void OnRootWindowVisibilityChanged(bool visible) override;
195 void OnAttachCompositor() override; 196 void OnAttachCompositor() override;
196 void OnDetachCompositor() override; 197 void OnDetachCompositor() override;
197 void OnAnimate(base::TimeTicks begin_frame_time) override; 198 void OnAnimate(base::TimeTicks begin_frame_time) override;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 base::ObserverList<DestructionObserver> destruction_observers_; 426 base::ObserverList<DestructionObserver> destruction_observers_;
426 427
427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 428 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
428 429
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
430 }; 431 };
431 432
432 } // namespace content 433 } // namespace content
433 434
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698