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

Side by Side Diff: chrome/browser/task_manager.h

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698