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

Side by Side Diff: ui/base/android/window_android_observer.h

Issue 929903002: Remove cc dependency from ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in ui/PRESUBMIT.py Created 5 years, 9 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
« no previous file with comments | « ui/base/android/window_android_compositor.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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.
4
5 #ifndef UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_
6 #define UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_
7
8 #include "ui/base/ui_base_export.h"
9
10 namespace ui {
11
12 class UI_BASE_EXPORT WindowAndroidObserver {
13 public:
14 virtual void OnCompositingDidCommit() = 0;
15 virtual void OnAttachCompositor() = 0;
16 virtual void OnDetachCompositor() = 0;
17 virtual void OnVSync(base::TimeTicks frame_time,
18 base::TimeDelta vsync_period) = 0;
19 virtual void OnAnimate(base::TimeTicks frame_begin_time) {}
20
21 protected:
22 virtual ~WindowAndroidObserver() {}
23 };
24
25 } // namespace ui
26
27 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/base/android/window_android_compositor.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698