Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(826)

Side by Side Diff: ash/common/shelf/shelf_view.h

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/shelf/shelf_button.cc ('k') | ash/common/shelf/shelf_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ASH_COMMON_SHELF_SHELF_VIEW_H_ 5 #ifndef ASH_COMMON_SHELF_SHELF_VIEW_H_
6 #define ASH_COMMON_SHELF_SHELF_VIEW_H_ 6 #define ASH_COMMON_SHELF_SHELF_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // Fade in last visible item. 270 // Fade in last visible item.
271 void StartFadeInLastVisibleItem(); 271 void StartFadeInLastVisibleItem();
272 272
273 // Updates the visible range of overflow items in |overflow_view|. 273 // Updates the visible range of overflow items in |overflow_view|.
274 void UpdateOverflowRange(ShelfView* overflow_view) const; 274 void UpdateOverflowRange(ShelfView* overflow_view) const;
275 275
276 // Overridden from views::View: 276 // Overridden from views::View:
277 gfx::Size GetPreferredSize() const override; 277 gfx::Size GetPreferredSize() const override;
278 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; 278 void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
279 FocusTraversable* GetPaneFocusTraversable() override; 279 FocusTraversable* GetPaneFocusTraversable() override;
280 void GetAccessibleState(ui::AXViewState* state) override; 280 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
281 void ViewHierarchyChanged( 281 void ViewHierarchyChanged(
282 const ViewHierarchyChangedDetails& details) override; 282 const ViewHierarchyChangedDetails& details) override;
283 283
284 // Overridden from ui::EventHandler: 284 // Overridden from ui::EventHandler:
285 void OnGestureEvent(ui::GestureEvent* event) override; 285 void OnGestureEvent(ui::GestureEvent* event) override;
286 286
287 // Overridden from ShelfModelObserver: 287 // Overridden from ShelfModelObserver:
288 void ShelfItemAdded(int model_index) override; 288 void ShelfItemAdded(int model_index) override;
289 void ShelfItemRemoved(int model_index, ShelfID id) override; 289 void ShelfItemRemoved(int model_index, ShelfID id) override;
290 void ShelfItemChanged(int model_index, const ShelfItem& old_item) override; 290 void ShelfItemChanged(int model_index, const ShelfItem& old_item) override;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 // Tracks UMA metrics based on shelf button press actions. 462 // Tracks UMA metrics based on shelf button press actions.
463 ShelfButtonPressedMetricTracker shelf_button_pressed_metric_tracker_; 463 ShelfButtonPressedMetricTracker shelf_button_pressed_metric_tracker_;
464 464
465 DISALLOW_COPY_AND_ASSIGN(ShelfView); 465 DISALLOW_COPY_AND_ASSIGN(ShelfView);
466 }; 466 };
467 467
468 } // namespace ash 468 } // namespace ash
469 469
470 #endif // ASH_COMMON_SHELF_SHELF_VIEW_H_ 470 #endif // ASH_COMMON_SHELF_SHELF_VIEW_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_button.cc ('k') | ash/common/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698