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

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

Issue 1244443003: android: Use a hard coded BeginFrame deadline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 return max_size_for_auto_resize_; 450 return max_size_for_auto_resize_;
451 } 451 }
452 452
453 void FrameSwapped(const ui::LatencyInfo& latency_info); 453 void FrameSwapped(const ui::LatencyInfo& latency_info);
454 void DidReceiveRendererFrame(); 454 void DidReceiveRendererFrame();
455 455
456 // Returns the ID that uniquely describes this component to the latency 456 // Returns the ID that uniquely describes this component to the latency
457 // subsystem. 457 // subsystem.
458 int64 GetLatencyComponentId() const; 458 int64 GetLatencyComponentId() const;
459 459
460 base::TimeDelta GetEstimatedBrowserCompositeTime() const;
461
462 static void CompositorFrameDrawn( 460 static void CompositorFrameDrawn(
463 const std::vector<ui::LatencyInfo>& latency_info); 461 const std::vector<ui::LatencyInfo>& latency_info);
464 462
465 // Don't check whether we expected a resize ack during layout tests. 463 // Don't check whether we expected a resize ack during layout tests.
466 static void DisableResizeAckCheckForTesting(); 464 static void DisableResizeAckCheckForTesting();
467 465
468 InputRouter* input_router() { return input_router_.get(); } 466 InputRouter* input_router() { return input_router_.get(); }
469 467
470 // Get the BrowserAccessibilityManager for the root of the frame tree, 468 // Get the BrowserAccessibilityManager for the root of the frame tree,
471 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); 469 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager();
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 bool is_focused_; 831 bool is_focused_;
834 832
835 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 833 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
836 834
837 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 835 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
838 }; 836 };
839 837
840 } // namespace content 838 } // namespace content
841 839
842 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 840 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698