| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 void AddResource(Resource* resource); | 123 void AddResource(Resource* resource); |
| 124 void RemoveResource(Resource* resource); | 124 void RemoveResource(Resource* resource); |
| 125 | 125 |
| 126 // views::DialogDelegate methods: | 126 // views::DialogDelegate methods: |
| 127 virtual bool CanResize() const; | 127 virtual bool CanResize() const; |
| 128 virtual bool CanMaximize() const; | 128 virtual bool CanMaximize() const; |
| 129 virtual bool ShouldShowWindowIcon() const; | 129 virtual bool ShouldShowWindowIcon() const; |
| 130 virtual bool IsAlwaysOnTop() const; | 130 virtual bool IsAlwaysOnTop() const; |
| 131 virtual bool HasAlwaysOnTopMenu() const; | 131 virtual bool HasAlwaysOnTopMenu() const; |
| 132 virtual std::wstring GetWindowTitle() const; | 132 virtual std::wstring GetWindowTitle() const; |
| 133 virtual void SaveWindowPosition(const CRect& bounds, | 133 virtual std::wstring GetWindowName() const; |
| 134 bool maximized, | |
| 135 bool always_on_top); | |
| 136 virtual bool RestoreWindowPosition(CRect* bounds, | |
| 137 bool* maximized, | |
| 138 bool* always_on_top); | |
| 139 virtual int GetDialogButtons() const; | 134 virtual int GetDialogButtons() const; |
| 140 virtual void WindowClosing(); | 135 virtual void WindowClosing(); |
| 141 virtual views::View* GetContentsView(); | 136 virtual views::View* GetContentsView(); |
| 142 | 137 |
| 143 private: | 138 private: |
| 144 // Obtain an instance via GetInstance(). | 139 // Obtain an instance via GetInstance(). |
| 145 TaskManager(); | 140 TaskManager(); |
| 146 friend DefaultSingletonTraits<TaskManager>; | 141 friend DefaultSingletonTraits<TaskManager>; |
| 147 | 142 |
| 148 ~TaskManager(); | 143 ~TaskManager(); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 312 |
| 318 // See design doc at http://go/at-teleporter for more information. | 313 // See design doc at http://go/at-teleporter for more information. |
| 319 static int goats_teleported_; | 314 static int goats_teleported_; |
| 320 | 315 |
| 321 DISALLOW_COPY_AND_ASSIGN(TaskManagerTableModel); | 316 DISALLOW_COPY_AND_ASSIGN(TaskManagerTableModel); |
| 322 }; | 317 }; |
| 323 | 318 |
| 324 #endif // CHROME_BROWSER_TASK_MANAGER_H_ | 319 #endif // CHROME_BROWSER_TASK_MANAGER_H_ |
| 325 | 320 |
| 326 | 321 |
| OLD | NEW |