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

Side by Side Diff: ui/aura/root_window.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 11 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
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/root_window.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 UI_AURA_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 // Overridden from ui::CompositorDelegate: 239 // Overridden from ui::CompositorDelegate:
240 virtual void ScheduleDraw() OVERRIDE; 240 virtual void ScheduleDraw() OVERRIDE;
241 241
242 // Overridden from ui::CompositorObserver: 242 // Overridden from ui::CompositorObserver:
243 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE; 243 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE;
244 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; 244 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE;
245 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; 245 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE;
246 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; 246 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE;
247 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE; 247 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE;
248 virtual void OnReceivedLatencyInfo(ui::Compositor*,
249 const cc::LatencyInfo&) OVERRIDE;
248 250
249 // Overridden from ui::LayerDelegate: 251 // Overridden from ui::LayerDelegate:
250 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 252 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
251 253
252 // Overridden from Window: 254 // Overridden from Window:
253 virtual bool CanFocus() const OVERRIDE; 255 virtual bool CanFocus() const OVERRIDE;
254 virtual bool CanReceiveEvents() const OVERRIDE; 256 virtual bool CanReceiveEvents() const OVERRIDE;
255 257
256 // Overridden from aura::client::CaptureDelegate: 258 // Overridden from aura::client::CaptureDelegate:
257 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE; 259 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_; 400 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_;
399 401
400 scoped_ptr<ui::ViewProp> prop_; 402 scoped_ptr<ui::ViewProp> prop_;
401 403
402 DISALLOW_COPY_AND_ASSIGN(RootWindow); 404 DISALLOW_COPY_AND_ASSIGN(RootWindow);
403 }; 405 };
404 406
405 } // namespace aura 407 } // namespace aura
406 408
407 #endif // UI_AURA_ROOT_WINDOW_H_ 409 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698