1 // Copyright 2013 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_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_ 7 8 namespace views { 9 class Widget; 10 } 11 12 namespace app_list { 13 14 class AppListViewObserver { 15 public: 16 virtual void OnActivationChanged(views::Widget* widget, bool active) = 0; 17 18 protected: ~AppListViewObserver()19 virtual ~AppListViewObserver() {} 20 }; 21 22 } // namespace app_list 23 24 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_OBSERVER_H_ 25