[content shell] implement testRunner.overridePreference
[chromium-blink-merge.git] / ui / oak / oak_aura_window_display.h
blob4048578ccbe10d4ef7ee4652675ecb3fc568fcaa
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_OAK_OAK_AURA_WINDOW_DISPLAY_H_
6 #define UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_
8 #include "base/compiler_specific.h"
9 #include "ui/oak/oak_details_model.h"
11 namespace oak {
12 namespace internal {
14 class OakAuraWindowDisplay : public OakDetailsModel {
15 public:
16 OakAuraWindowDisplay();
17 virtual ~OakAuraWindowDisplay();
19 private:
20 // Overridden from OakDetailsModel:
21 virtual void SetValue(aura::Window* window) OVERRIDE;
23 // Overridden from ui::TableModel:
24 virtual int RowCount() OVERRIDE;
25 virtual string16 GetText(int row, int column_id) OVERRIDE;
26 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE;
28 ui::TableModelObserver* observer_;
29 aura::Window* window_;
31 DISALLOW_COPY_AND_ASSIGN(OakAuraWindowDisplay);
34 } // namespace internal
35 } // namespace oak
37 #endif // UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_