OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/common/temp_scaffolding_stubs.h" | 5 #include "chrome/common/temp_scaffolding_stubs.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/gfx/rect.h" | 9 #include "base/gfx/rect.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "chrome/browser/browser_list.h" | |
12 #include "chrome/browser/first_run.h" | 11 #include "chrome/browser/first_run.h" |
13 #include "chrome/browser/rlz/rlz.h" | 12 #include "chrome/browser/rlz/rlz.h" |
14 | 13 |
15 #if defined(OS_LINUX) | 14 #if defined(OS_LINUX) |
16 #include "chrome/browser/dock_info.h" | 15 #include "chrome/browser/dock_info.h" |
17 #include "chrome/common/render_messages.h" | 16 #include "chrome/common/render_messages.h" |
18 #endif | 17 #endif |
19 | 18 |
20 #if defined(OS_MACOSX) | 19 #if defined(OS_MACOSX) |
21 #include "chrome/browser/automation/automation_provider.h" | 20 #include "chrome/browser/automation/automation_provider.h" |
| 21 #include "chrome/browser/browser_list.h" |
22 #include "chrome/browser/fonts_languages_window.h" | 22 #include "chrome/browser/fonts_languages_window.h" |
23 #include "chrome/browser/memory_details.h" | 23 #include "chrome/browser/memory_details.h" |
24 #endif | 24 #endif |
25 | 25 |
26 #if defined(TOOLKIT_VIEWS) | 26 #if defined(TOOLKIT_VIEWS) |
27 #include "chrome/browser/bookmarks/bookmark_editor.h" | 27 #include "chrome/browser/bookmarks/bookmark_editor.h" |
28 #include "chrome/browser/bookmarks/bookmark_manager.h" | 28 #include "chrome/browser/bookmarks/bookmark_manager.h" |
29 #include "chrome/browser/download/download_request_dialog_delegate.h" | 29 #include "chrome/browser/download/download_request_dialog_delegate.h" |
30 #include "chrome/browser/download/download_request_manager.h" | 30 #include "chrome/browser/download/download_request_manager.h" |
31 #include "chrome/browser/tab_contents/constrained_window.h" | 31 #include "chrome/browser/tab_contents/constrained_window.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 209 |
210 void DragDownload(const DownloadItem* download, | 210 void DragDownload(const DownloadItem* download, |
211 SkBitmap* icon, | 211 SkBitmap* icon, |
212 gfx::NativeView view) { | 212 gfx::NativeView view) { |
213 NOTIMPLEMENTED(); | 213 NOTIMPLEMENTED(); |
214 } | 214 } |
215 | 215 |
216 } // namespace download_util | 216 } // namespace download_util |
217 #endif | 217 #endif |
218 | 218 |
219 #if !defined(TOOLKIT_VIEWS) | 219 #if defined(OS_MACOSX) |
220 void BrowserList::AllBrowsersClosed() { | 220 void BrowserList::AllBrowsersClosed() { |
221 // TODO(port): Close any dependent windows if necessary when the last browser | 221 // TODO(port): Close any dependent windows if necessary when the last browser |
222 // window is closed. | 222 // window is closed. |
223 } | 223 } |
224 #endif | |
225 | 224 |
226 //-------------------------------------------------------------------------- | 225 //-------------------------------------------------------------------------- |
227 | 226 |
228 #if defined(OS_MACOSX) | |
229 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, | 227 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, |
230 bool* maximize_new_window) const { | 228 bool* maximize_new_window) const { |
231 // TODO(pinkerton): Implement on Mac. | 229 // TODO(pinkerton): Implement on Mac. |
232 // http://crbug.com/9274 | 230 // http://crbug.com/9274 |
233 return true; | 231 return true; |
234 } | 232 } |
235 | 233 |
236 void DockInfo::AdjustOtherWindowBounds() const { | 234 void DockInfo::AdjustOtherWindowBounds() const { |
237 // TODO(pinkerton): Implement on Mac. | 235 // TODO(pinkerton): Implement on Mac. |
238 // http://crbug.com/9274 | 236 // http://crbug.com/9274 |
(...skipping 30 matching lines...) Expand all Loading... |
269 NOTIMPLEMENTED(); | 267 NOTIMPLEMENTED(); |
270 } | 268 } |
271 | 269 |
272 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { | 270 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { |
273 } | 271 } |
274 void BookmarkManager::Show(Profile* profile) { | 272 void BookmarkManager::Show(Profile* profile) { |
275 } | 273 } |
276 | 274 |
277 #endif | 275 #endif |
278 | 276 |
OLD | NEW |