Update V8 to version 4.7.45.
[chromium-blink-merge.git] / ui / base / idle / idle_query_x11.h
blob56588e60f3fb70173b2b24e7fc39d1118556960d
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
3 // found in the LICENSE file.
5 #ifndef UI_BASE_IDLE_IDLE_QUERY_X11_H_
6 #define UI_BASE_IDLE_IDLE_QUERY_X11_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace ui {
13 class IdleData;
15 class IdleQueryX11 {
16 public:
17 IdleQueryX11();
18 ~IdleQueryX11();
20 int IdleTime();
22 private:
23 scoped_ptr<IdleData> idle_data_;
25 DISALLOW_COPY_AND_ASSIGN(IdleQueryX11);
28 } // namespace ui
30 #endif // UI_BASE_IDLE_IDLE_QUERY_X11_H_