| 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 "temp_scaffolding_stubs.h" | 5 #include "temp_scaffolding_stubs.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } | 274 } |
| 275 | 275 |
| 276 namespace download_util { | 276 namespace download_util { |
| 277 | 277 |
| 278 void DragDownload(const DownloadItem* download, SkBitmap* icon) { | 278 void DragDownload(const DownloadItem* download, SkBitmap* icon) { |
| 279 NOTIMPLEMENTED(); | 279 NOTIMPLEMENTED(); |
| 280 } | 280 } |
| 281 | 281 |
| 282 } // namespace download_util | 282 } // namespace download_util |
| 283 | 283 |
| 284 #if defined(OS_LINUX) | 284 #if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS) |
| 285 void WindowSizer::GetBrowserWindowBounds(const std::wstring& app_name, | 285 void WindowSizer::GetBrowserWindowBounds(const std::wstring& app_name, |
| 286 const gfx::Rect& specified_bounds, | 286 const gfx::Rect& specified_bounds, |
| 287 Browser* browser, | 287 Browser* browser, |
| 288 gfx::Rect* window_bounds, | 288 gfx::Rect* window_bounds, |
| 289 bool* maximized) { | 289 bool* maximized) { |
| 290 // If we're given a bounds, use it (for things like tearing off tabs during | 290 // If we're given a bounds, use it (for things like tearing off tabs during |
| 291 // drags). If not, make up something reasonable until the rest of the | 291 // drags). If not, make up something reasonable until the rest of the |
| 292 // WindowSizer infrastructure is in place. | 292 // WindowSizer infrastructure is in place. |
| 293 *window_bounds = specified_bounds; | 293 *window_bounds = specified_bounds; |
| 294 if (specified_bounds.IsEmpty()) { | 294 if (specified_bounds.IsEmpty()) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 314 | 314 |
| 315 //-------------------------------------------------------------------------- | 315 //-------------------------------------------------------------------------- |
| 316 | 316 |
| 317 #if defined(OS_MACOSX) | 317 #if defined(OS_MACOSX) |
| 318 void ShowOptionsWindow(OptionsPage page, | 318 void ShowOptionsWindow(OptionsPage page, |
| 319 OptionsGroup highlight_group, | 319 OptionsGroup highlight_group, |
| 320 Profile* profile) { | 320 Profile* profile) { |
| 321 NOTIMPLEMENTED(); | 321 NOTIMPLEMENTED(); |
| 322 } | 322 } |
| 323 #endif | 323 #endif |
| OLD | NEW |