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

Side by Side Diff: chrome/browser/ui/views/download/download_item_view_md.h

Issue 1937103003: Rename of InkDropAnimation classes to InkDropRipple. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test_ink_drop_animation_observer.h from views.gyp and doc update. Created 4 years, 7 months 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // A view that implements one download on the Download shelf. 5 // A view that implements one download on the Download shelf.
6 // Each DownloadItemViewMd contains an application icon, a text label 6 // Each DownloadItemViewMd contains an application icon, a text label
7 // indicating the download's file name, a text label indicating the 7 // indicating the download's file name, a text label indicating the
8 // download's status (such as the number of bytes downloaded so far) 8 // download's status (such as the number of bytes downloaded so far)
9 // and a button for canceling an in progress download, or opening 9 // and a button for canceling an in progress download, or opening
10 // the completed download. 10 // the completed download.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void OnMouseReleased(const ui::MouseEvent& event) override; 99 void OnMouseReleased(const ui::MouseEvent& event) override;
100 void OnMouseCaptureLost() override; 100 void OnMouseCaptureLost() override;
101 bool OnKeyPressed(const ui::KeyEvent& event) override; 101 bool OnKeyPressed(const ui::KeyEvent& event) override;
102 bool GetTooltipText(const gfx::Point& p, 102 bool GetTooltipText(const gfx::Point& p,
103 base::string16* tooltip) const override; 103 base::string16* tooltip) const override;
104 void GetAccessibleState(ui::AXViewState* state) override; 104 void GetAccessibleState(ui::AXViewState* state) override;
105 void OnThemeChanged() override; 105 void OnThemeChanged() override;
106 106
107 // Overridden from view::InkDropHostView: 107 // Overridden from view::InkDropHostView:
108 void AddInkDropLayer(ui::Layer* ink_drop_layer) override; 108 void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
109 std::unique_ptr<views::InkDropAnimation> CreateInkDropAnimation() 109 std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
110 const override;
111 std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override; 110 std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override;
112 111
113 // Overridden from ui::EventHandler: 112 // Overridden from ui::EventHandler:
114 void OnGestureEvent(ui::GestureEvent* event) override; 113 void OnGestureEvent(ui::GestureEvent* event) override;
115 114
116 // Overridden from views::ContextMenuController. 115 // Overridden from views::ContextMenuController.
117 void ShowContextMenuForView(View* source, 116 void ShowContextMenuForView(View* source,
118 const gfx::Point& point, 117 const gfx::Point& point,
119 ui::MenuSourceType source_type) override; 118 ui::MenuSourceType source_type) override;
120 119
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 std::unique_ptr<extensions::ExperienceSamplingEvent> sampling_event_; 321 std::unique_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
323 322
324 // Method factory used to delay reenabling of the item when opening the 323 // Method factory used to delay reenabling of the item when opening the
325 // downloaded file. 324 // downloaded file.
326 base::WeakPtrFactory<DownloadItemViewMd> weak_ptr_factory_; 325 base::WeakPtrFactory<DownloadItemViewMd> weak_ptr_factory_;
327 326
328 DISALLOW_COPY_AND_ASSIGN(DownloadItemViewMd); 327 DISALLOW_COPY_AND_ASSIGN(DownloadItemViewMd);
329 }; 328 };
330 329
331 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_ITEM_VIEW_MD_H_ 330 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_ITEM_VIEW_MD_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/download/download_item_view_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698