Home | History | Annotate | Download | only in oak
      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.
      4 
      5 #ifndef UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_
      6 #define UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_
      7 
      8 #include "base/compiler_specific.h"
      9 #include "ui/oak/oak_details_model.h"
     10 
     11 namespace oak {
     12 namespace internal {
     13 
     14 class OakAuraWindowDisplay : public OakDetailsModel {
     15  public:
     16   OakAuraWindowDisplay();
     17   virtual ~OakAuraWindowDisplay();
     18 
     19  private:
     20   // Overridden from OakDetailsModel:
     21   virtual void SetValue(aura::Window* window) OVERRIDE;
     22 
     23   // Overridden from ui::TableModel:
     24   virtual int RowCount() OVERRIDE;
     25   virtual base::string16 GetText(int row, int column_id) OVERRIDE;
     26   virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE;
     27 
     28   ui::TableModelObserver* observer_;
     29   aura::Window* window_;
     30 
     31   DISALLOW_COPY_AND_ASSIGN(OakAuraWindowDisplay);
     32 };
     33 
     34 }  // namespace internal
     35 }  // namespace oak
     36 
     37 #endif  // UI_OAK_OAK_AURA_WINDOW_DISPLAY_H_
     38