| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/linked_ptr.h" | 11 #include "base/linked_ptr.h" |
| 12 #include "base/singleton.h" | 12 #include "base/singleton.h" |
| 13 #include "base/timer.h" | 13 #include "base/timer.h" |
| 14 #include "chrome/browser/browser_list.h" | 14 #include "chrome/browser/browser_list.h" |
| 15 #include "chrome/browser/chromeos/wm_message_listener.h" | 15 #include "chrome/browser/chromeos/wm_message_listener.h" |
| 16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
| 17 #include "gfx/rect.h" | 17 #include "gfx/rect.h" |
| 18 | 18 |
| 19 namespace views { | 19 namespace views { |
| 20 class Widget; | 20 class Widget; |
| 21 } | 21 } |
| 22 | 22 |
| 23 class Animation; | |
| 24 class Browser; | 23 class Browser; |
| 25 class RenderWidgetHost; | 24 class RenderWidgetHost; |
| 26 | 25 |
| 27 namespace chromeos { | 26 namespace chromeos { |
| 28 | 27 |
| 29 class BrowserListener; | 28 class BrowserListener; |
| 30 | 29 |
| 31 // WmOverviewController is responsible for managing a list of objects | 30 // WmOverviewController is responsible for managing a list of objects |
| 32 // that listen to the browsers (BrowserListeners, defined in the | 31 // that listen to the browsers (BrowserListeners, defined in the |
| 33 // source file for this class) for changes, and keep a list of | 32 // source file for this class) for changes, and keep a list of |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // fashion. | 153 // fashion. |
| 155 int browser_listener_index_; // index of the last updated browser listener. | 154 int browser_listener_index_; // index of the last updated browser listener. |
| 156 int tab_contents_index_; // index of the last updated tab contents. | 155 int tab_contents_index_; // index of the last updated tab contents. |
| 157 | 156 |
| 158 DISALLOW_COPY_AND_ASSIGN(WmOverviewController); | 157 DISALLOW_COPY_AND_ASSIGN(WmOverviewController); |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 } // namespace chromeos | 160 } // namespace chromeos |
| 162 | 161 |
| 163 #endif // CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ | 162 #endif // CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_CONTROLLER_H_ |
| OLD | NEW |