ozone: fix HDPMLegacy - do the PF after overlays, also clear old overlays
[chromium-blink-merge.git] / ui / ozone / platform / dri / page_flip_observer.h
blobc12b54dd8ed0e01d15cc1ceb2ea44c741efd8c95
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_OZONE_PLATFORM_DRI_PAGE_FLIP_OBSERVER_H_
6 #define UI_OZONE_PLATFORM_DRI_PAGE_FLIP_OBSERVER_H_
8 namespace ui {
10 class PageFlipObserver {
11 public:
12 virtual ~PageFlipObserver() {}
14 virtual void OnPageFlipEvent() = 0;
17 } // namespace ui
19 #endif // UI_OZONE_PLATFORM_DRI_PAGE_FLIP_OBSERVER_H_