summaryrefslogtreecommitdiffstats
path: root/ui/oak/oak_aura_window_display.h
blob: 4048578ccbe10d4ef7ee4652675ecb3fc568fcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_
#define UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_

#include "base/compiler_specific.h"
#include "ui/oak/oak_details_model.h"

namespace oak {
namespace internal {

class OakAuraWindowDisplay : public OakDetailsModel {
 public:
  OakAuraWindowDisplay();
  virtual ~OakAuraWindowDisplay();

 private:
  // Overridden from OakDetailsModel:
  virtual void SetValue(aura::Window* window) OVERRIDE;

  // Overridden from ui::TableModel:
  virtual int RowCount() OVERRIDE;
  virtual string16 GetText(int row, int column_id) OVERRIDE;
  virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE;

  ui::TableModelObserver* observer_;
  aura::Window* window_;

  DISALLOW_COPY_AND_ASSIGN(OakAuraWindowDisplay);
};

}  // namespace internal
}  // namespace oak

#endif  // UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_