OLD | NEW |
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 void StopObservingRootWindow(); | 320 void StopObservingRootWindow(); |
321 void SendBeginFrame(base::TimeTicks frame_time, base::TimeDelta vsync_period); | 321 void SendBeginFrame(base::TimeTicks frame_time, base::TimeDelta vsync_period); |
322 bool Animate(base::TimeTicks frame_time); | 322 bool Animate(base::TimeTicks frame_time); |
323 void RequestDisallowInterceptTouchEvent(); | 323 void RequestDisallowInterceptTouchEvent(); |
324 | 324 |
325 bool SyncCompositorOnMessageReceived(const IPC::Message& message); | 325 bool SyncCompositorOnMessageReceived(const IPC::Message& message); |
326 | 326 |
327 // The model object. | 327 // The model object. |
328 RenderWidgetHostImpl* host_; | 328 RenderWidgetHostImpl* host_; |
329 | 329 |
330 bool use_surfaces_; | |
331 | |
332 // Used to control action dispatch at the next |OnVSync()| call. | 330 // Used to control action dispatch at the next |OnVSync()| call. |
333 uint32_t outstanding_vsync_requests_; | 331 uint32_t outstanding_vsync_requests_; |
334 | 332 |
335 bool is_showing_; | 333 bool is_showing_; |
336 | 334 |
337 // Window-specific bits that affect widget visibility. | 335 // Window-specific bits that affect widget visibility. |
338 bool is_window_visible_; | 336 bool is_window_visible_; |
339 bool is_window_activity_started_; | 337 bool is_window_activity_started_; |
340 | 338 |
341 // ContentViewCoreImpl is our interface to the view system. | 339 // ContentViewCoreImpl is our interface to the view system. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 gfx::Vector2dF last_scroll_offset_; | 404 gfx::Vector2dF last_scroll_offset_; |
407 | 405 |
408 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 406 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
409 | 407 |
410 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 408 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
411 }; | 409 }; |
412 | 410 |
413 } // namespace content | 411 } // namespace content |
414 | 412 |
415 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 413 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |