Chromium Code Reviews| 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 |
| 11 #include "base/file_util.h" | |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 #include "base/thread.h" | |
| 14 #include "base/path_service.h" | |
| 15 #include "base/string_piece.h" | |
| 16 #include "base/singleton.h" | |
| 17 #include "base/task.h" | |
| 18 #include "chrome/browser/autocomplete/history_url_provider.h" | |
| 19 #include "chrome/browser/automation/automation_provider.h" | 12 #include "chrome/browser/automation/automation_provider.h" |
| 20 #include "chrome/browser/browser.h" | |
| 21 #include "chrome/browser/browser_shutdown.h" | |
| 22 #include "chrome/browser/debugger/debugger_shell.h" | |
| 23 #include "chrome/browser/dom_ui/dom_ui.h" | |
| 24 #include "chrome/browser/download/download_request_dialog_delegate.h" | 13 #include "chrome/browser/download/download_request_dialog_delegate.h" |
| 25 #include "chrome/browser/download/download_request_manager.h" | 14 #include "chrome/browser/download/download_request_manager.h" |
| 26 #include "chrome/browser/first_run.h" | 15 #include "chrome/browser/first_run.h" |
| 27 #include "chrome/browser/history/in_memory_history_backend.h" | |
| 28 #include "chrome/browser/memory_details.h" | 16 #include "chrome/browser/memory_details.h" |
| 29 #include "chrome/browser/profile_manager.h" | |
| 30 #include "chrome/browser/renderer_host/render_widget_helper.h" | |
| 31 #include "chrome/browser/renderer_host/resource_message_filter.h" | |
| 32 #include "chrome/browser/rlz/rlz.h" | 17 #include "chrome/browser/rlz/rlz.h" |
| 33 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" | |
| 34 #include "chrome/browser/shell_integration.h" | 18 #include "chrome/browser/shell_integration.h" |
| 35 #include "chrome/browser/tab_contents/web_contents.h" | |
| 36 #include "chrome/common/chrome_constants.h" | |
| 37 #include "chrome/common/chrome_paths.h" | |
| 38 #include "chrome/common/chrome_plugin_util.h" | |
| 39 #include "chrome/common/gfx/chrome_font.h" | |
| 40 #include "chrome/common/gfx/text_elider.h" | |
| 41 #include "chrome/common/notification_service.h" | |
| 42 #include "chrome/common/pref_service.h" | |
| 43 #include "chrome/common/process_watcher.h" | 19 #include "chrome/common/process_watcher.h" |
| 44 #include "net/url_request/url_request_context.h" | 20 |
| 45 #include "webkit/glue/webcursor.h" | 21 #if defined(OS_MACOSX) |
| 46 #include "webkit/glue/webkit_glue.h" | 22 #include "chrome/browser/download/download_item_model.h" |
|
Evan Stade
2009/04/08 23:45:54
wow nice!
| |
| 23 #include "chrome/browser/download/download_shelf.h" | |
| 24 #endif | |
| 25 | |
| 26 class TabContents; | |
| 47 | 27 |
| 48 //-------------------------------------------------------------------------- | 28 //-------------------------------------------------------------------------- |
| 49 | 29 |
| 50 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); } | 30 void AutomationProvider::GetActiveWindow(int* handle) { NOTIMPLEMENTED(); } |
| 51 | 31 |
| 52 void AutomationProvider::IsWindowActive(int handle, bool* success, | 32 void AutomationProvider::IsWindowActive(int handle, bool* success, |
| 53 bool* is_active) { | 33 bool* is_active) { |
| 54 *success = false; | 34 *success = false; |
| 55 NOTIMPLEMENTED(); | 35 NOTIMPLEMENTED(); |
| 56 } | 36 } |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 345 gfx::Rect* window_bounds, | 325 gfx::Rect* window_bounds, |
| 346 bool* maximized) { | 326 bool* maximized) { |
| 347 // If we're given a bounds, use it (for things like tearing off tabs during | 327 // If we're given a bounds, use it (for things like tearing off tabs during |
| 348 // drags). If not, make up something reasonable until the rest of the | 328 // drags). If not, make up something reasonable until the rest of the |
| 349 // WindowSizer infrastructure is in place. | 329 // WindowSizer infrastructure is in place. |
| 350 *window_bounds = specified_bounds; | 330 *window_bounds = specified_bounds; |
| 351 if (specified_bounds.IsEmpty()) { | 331 if (specified_bounds.IsEmpty()) { |
| 352 *window_bounds = gfx::Rect(0, 0, 1024, 768); | 332 *window_bounds = gfx::Rect(0, 0, 1024, 768); |
| 353 } | 333 } |
| 354 } | 334 } |
| OLD | NEW |