| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
| 6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 6 #define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 void Layout() override; | 183 void Layout() override; |
| 184 const char* GetClassName() const override; | 184 const char* GetClassName() const override; |
| 185 gfx::Size GetPreferredSize() const override; | 185 gfx::Size GetPreferredSize() const override; |
| 186 bool OnKeyPressed(const ui::KeyEvent& event) override; | 186 bool OnKeyPressed(const ui::KeyEvent& event) override; |
| 187 bool OnMousePressed(const ui::MouseEvent& event) override; | 187 bool OnMousePressed(const ui::MouseEvent& event) override; |
| 188 void OnGestureEvent(ui::GestureEvent* event) override; | 188 void OnGestureEvent(ui::GestureEvent* event) override; |
| 189 bool GetTooltipText(const gfx::Point& p, | 189 bool GetTooltipText(const gfx::Point& p, |
| 190 base::string16* tooltip) const override; | 190 base::string16* tooltip) const override; |
| 191 bool GetTooltipTextOrigin(const gfx::Point& p, | 191 bool GetTooltipTextOrigin(const gfx::Point& p, |
| 192 gfx::Point* loc) const override; | 192 gfx::Point* loc) const override; |
| 193 void GetAccessibleState(ui::AXViewState* state) override; | 193 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 194 | 194 |
| 195 // ui::TableModelObserver overrides: | 195 // ui::TableModelObserver overrides: |
| 196 void OnModelChanged() override; | 196 void OnModelChanged() override; |
| 197 void OnItemsChanged(int start, int length) override; | 197 void OnItemsChanged(int start, int length) override; |
| 198 void OnItemsAdded(int start, int length) override; | 198 void OnItemsAdded(int start, int length) override; |
| 199 void OnItemsRemoved(int start, int length) override; | 199 void OnItemsRemoved(int start, int length) override; |
| 200 | 200 |
| 201 protected: | 201 protected: |
| 202 // View overrides: | 202 // View overrides: |
| 203 gfx::Point GetKeyboardContextMenuLocation() override; | 203 gfx::Point GetKeyboardContextMenuLocation() override; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 // True if in SetVisibleColumnWidth(). | 362 // True if in SetVisibleColumnWidth(). |
| 363 bool in_set_visible_column_width_; | 363 bool in_set_visible_column_width_; |
| 364 | 364 |
| 365 DISALLOW_COPY_AND_ASSIGN(TableView); | 365 DISALLOW_COPY_AND_ASSIGN(TableView); |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 } // namespace views | 368 } // namespace views |
| 369 | 369 |
| 370 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ | 370 #endif // UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_VIEWS_H_ |
| OLD | NEW |