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

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: minor input event changes Created 8 years 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 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // Overridden from ui::CompositorDelegate: 236 // Overridden from ui::CompositorDelegate:
237 virtual void ScheduleDraw() OVERRIDE; 237 virtual void ScheduleDraw() OVERRIDE;
238 238
239 // Overridden from ui::CompositorObserver: 239 // Overridden from ui::CompositorObserver:
240 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE; 240 virtual void OnCompositingDidCommit(ui::Compositor*) OVERRIDE;
241 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; 241 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE;
242 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE; 242 virtual void OnCompositingEnded(ui::Compositor*) OVERRIDE;
243 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE; 243 virtual void OnCompositingAborted(ui::Compositor*) OVERRIDE;
244 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE; 244 virtual void OnCompositingLockStateChanged(ui::Compositor*) OVERRIDE;
245 virtual void OnReceivedLatencyInfo(ui::Compositor*,
246 const WebKit::WebLatencyInfoImpl&) OVERRIDE;
245 247
246 // Overridden from ui::LayerDelegate: 248 // Overridden from ui::LayerDelegate:
247 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 249 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
248 250
249 // Overridden from Window: 251 // Overridden from Window:
250 virtual bool CanFocus() const OVERRIDE; 252 virtual bool CanFocus() const OVERRIDE;
251 virtual bool CanReceiveEvents() const OVERRIDE; 253 virtual bool CanReceiveEvents() const OVERRIDE;
252 254
253 // Overridden from aura::client::CaptureDelegate: 255 // Overridden from aura::client::CaptureDelegate:
254 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE; 256 virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_; 397 base::WeakPtrFactory<RootWindow> held_mouse_event_factory_;
396 398
397 scoped_ptr<ui::ViewProp> prop_; 399 scoped_ptr<ui::ViewProp> prop_;
398 400
399 DISALLOW_COPY_AND_ASSIGN(RootWindow); 401 DISALLOW_COPY_AND_ASSIGN(RootWindow);
400 }; 402 };
401 403
402 } // namespace aura 404 } // namespace aura
403 405
404 #endif // UI_AURA_ROOT_WINDOW_H_ 406 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« cc/gl_renderer.h ('K') | « 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