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

Unified Diff: ash/shelf/ink_drop_button_listener.h

Issue 2164733002: mash: Convert ash shelf overflow bubble to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/app_list_button.cc ('k') | ash/shelf/overflow_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/ink_drop_button_listener.h
diff --git a/ash/shelf/ink_drop_button_listener.h b/ash/shelf/ink_drop_button_listener.h
deleted file mode 100644
index 6374c3e565aea04bdaaee4ec87bb1f1437d76314..0000000000000000000000000000000000000000
--- a/ash/shelf/ink_drop_button_listener.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SHELF_INK_DROP_BUTTON_LISTENER_H_
-#define ASH_SHELF_INK_DROP_BUTTON_LISTENER_H_
-
-#include "ash/ash_export.h"
-
-namespace views {
-class Button;
-class InkDrop;
-}
-
-namespace ash {
-
-// An interface used by buttons on shelf to notify ShelfView when they are
-// pressed. |ink_drop| is used to do appropriate ink drop animation based on the
-// action performed.
-// TODO(mohsen): A better approach would be to return a value indicating the
-// type of action performed such that the button can animate the ink drop.
-// Currently, it is not possible because showing menu is synchronous and blocks
-// the call. Fix this after menu is converted to synchronous. Long-term, the
-// return value can be merged into ButtonListener.
-class ASH_EXPORT InkDropButtonListener {
- public:
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event,
- views::InkDrop* ink_drop) = 0;
-
- protected:
- virtual ~InkDropButtonListener() {}
-};
-
-} // namespace ash
-
-#endif // ASH_SHELF_INK_DROP_BUTTON_LISTENER_H_
« no previous file with comments | « ash/shelf/app_list_button.cc ('k') | ash/shelf/overflow_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698