| 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" | 11 #include "chrome/browser/browser_list.h" |
| 12 #include "chrome/browser/first_run.h" | 12 #include "chrome/browser/first_run.h" |
| 13 #include "chrome/browser/rlz/rlz.h" | 13 #include "chrome/browser/rlz/rlz.h" |
| 14 | 14 |
| 15 #if defined(OS_LINUX) | 15 #if defined(OS_LINUX) |
| 16 #include "chrome/browser/dock_info.h" | 16 #include "chrome/browser/dock_info.h" |
| 17 #include "chrome/common/render_messages.h" | 17 #include "chrome/common/render_messages.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #if defined(OS_MACOSX) | 20 #if defined(OS_MACOSX) |
| 21 #include "chrome/browser/automation/automation_provider.h" | 21 #include "chrome/browser/automation/automation_provider.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 #include "chrome/browser/options_window.h" | |
| 25 #endif | 24 #endif |
| 26 | 25 |
| 27 #if defined(TOOLKIT_VIEWS) | 26 #if defined(TOOLKIT_VIEWS) |
| 28 #include "chrome/browser/bookmarks/bookmark_editor.h" | 27 #include "chrome/browser/bookmarks/bookmark_editor.h" |
| 29 #include "chrome/browser/bookmarks/bookmark_manager.h" | 28 #include "chrome/browser/bookmarks/bookmark_manager.h" |
| 30 #include "chrome/browser/download/download_request_dialog_delegate.h" | 29 #include "chrome/browser/download/download_request_dialog_delegate.h" |
| 31 #include "chrome/browser/download/download_request_manager.h" | 30 #include "chrome/browser/download/download_request_manager.h" |
| 32 #include "chrome/browser/tab_contents/constrained_window.h" | 31 #include "chrome/browser/tab_contents/constrained_window.h" |
| 33 #endif | 32 #endif |
| 34 | 33 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 #if !defined(TOOLKIT_VIEWS) | 258 #if !defined(TOOLKIT_VIEWS) |
| 260 void BrowserList::AllBrowsersClosed() { | 259 void BrowserList::AllBrowsersClosed() { |
| 261 // TODO(port): Close any dependent windows if necessary when the last browser | 260 // TODO(port): Close any dependent windows if necessary when the last browser |
| 262 // window is closed. | 261 // window is closed. |
| 263 } | 262 } |
| 264 #endif | 263 #endif |
| 265 | 264 |
| 266 //-------------------------------------------------------------------------- | 265 //-------------------------------------------------------------------------- |
| 267 | 266 |
| 268 #if defined(OS_MACOSX) | 267 #if defined(OS_MACOSX) |
| 269 void ShowOptionsWindow(OptionsPage page, | |
| 270 OptionsGroup highlight_group, | |
| 271 Profile* profile) { | |
| 272 NOTIMPLEMENTED(); | |
| 273 } | |
| 274 #endif | |
| 275 | |
| 276 #if defined(OS_MACOSX) | |
| 277 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, | 268 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, |
| 278 bool* maximize_new_window) const { | 269 bool* maximize_new_window) const { |
| 279 NOTIMPLEMENTED(); | 270 // TODO(pinkerton): Implement on Mac. |
| 271 // http://crbug.com/9274 |
| 280 return true; | 272 return true; |
| 281 } | 273 } |
| 282 | 274 |
| 283 void DockInfo::AdjustOtherWindowBounds() const { | 275 void DockInfo::AdjustOtherWindowBounds() const { |
| 284 NOTIMPLEMENTED(); | 276 // TODO(pinkerton): Implement on Mac. |
| 277 // http://crbug.com/9274 |
| 285 } | 278 } |
| 286 #endif | 279 #endif |
| 287 | 280 |
| 288 //------------------------------------------------------------------------------ | 281 //------------------------------------------------------------------------------ |
| 289 | 282 |
| 290 #if defined(OS_MACOSX) | 283 #if defined(OS_MACOSX) |
| 291 void ShowFontsLanguagesWindow(gfx::NativeWindow window, | 284 void ShowFontsLanguagesWindow(gfx::NativeWindow window, |
| 292 FontsLanguagesPage page, | 285 FontsLanguagesPage page, |
| 293 Profile* profile) { | 286 Profile* profile) { |
| 294 NOTIMPLEMENTED(); | 287 NOTIMPLEMENTED(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 315 NOTIMPLEMENTED(); | 308 NOTIMPLEMENTED(); |
| 316 } | 309 } |
| 317 | 310 |
| 318 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { | 311 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { |
| 319 } | 312 } |
| 320 void BookmarkManager::Show(Profile* profile) { | 313 void BookmarkManager::Show(Profile* profile) { |
| 321 } | 314 } |
| 322 | 315 |
| 323 #endif | 316 #endif |
| 324 | 317 |
| OLD | NEW |