diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:06:12 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:06:12 +0000 |
commit | 4dd5793c22cc4e9991055adcb4e7163fbba8c246 (patch) | |
tree | fb2307f59725643e4c4ce8d4f215188fd8920bdd | |
parent | 7e06cb9f6a1bfd890eebd08195a903a58912cdc9 (diff) | |
download | chromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.zip chromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.tar.gz chromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.tar.bz2 |
Move the remaining files in chrome\common to content\common.
TBR=avi
Review URL: http://codereview.chromium.org/6672070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78516 0039d316-1c4b-4281-b951-d872f2087c98
169 files changed, 243 insertions, 249 deletions
diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc index dfff428..11dbdde 100644 --- a/chrome/app/breakpad_win.cc +++ b/chrome/app/breakpad_win.cc @@ -27,10 +27,10 @@ #include "chrome/common/child_process_logging.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/env_vars.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/google_chrome_sxs_distribution.h" #include "chrome/installer/util/google_update_settings.h" #include "chrome/installer/util/install_util.h" +#include "content/common/result_codes.h" #include "policy/policy_constants.h" namespace { diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc index 296431c..28c0da4 100644 --- a/chrome/app/chrome_exe_main_win.cc +++ b/chrome/app/chrome_exe_main_win.cc @@ -10,7 +10,7 @@ #include "base/win/windows_version.h" #include "chrome/app/breakpad_win.h" #include "chrome/app/client_util.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" #include "sandbox/src/dep.h" #include "sandbox/src/sandbox_factory.h" diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc index 2252546..400c637 100644 --- a/chrome/app/chrome_main.cc +++ b/chrome/app/chrome_main.cc @@ -33,13 +33,13 @@ #include "chrome/common/chrome_version_info.h" #include "chrome/common/logging_chrome.h" #include "chrome/common/profiling.h" -#include "chrome/common/set_process_title.h" #include "chrome/common/url_constants.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/common/content_client.h" #include "content/common/content_paths.h" #include "content/common/main_function_params.h" #include "content/common/sandbox_init_wrapper.h" +#include "content/common/set_process_title.h" #include "ipc/ipc_switches.h" #include "ui/base/resource/resource_bundle.h" #include "ui/base/ui_base_paths.h" diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc index 174d62d..38d5d11 100644 --- a/chrome/app/client_util.cc +++ b/chrome/app/client_util.cc @@ -19,12 +19,12 @@ #include "chrome/app/client_util.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/browser_distribution.h" #include "chrome/installer/util/channel_info.h" #include "chrome/installer/util/install_util.h" #include "chrome/installer/util/google_update_constants.h" #include "chrome/installer/util/util_constants.h" +#include "content/common/result_codes.h" namespace { // The entry point signature of chrome.dll. diff --git a/chrome/app/dummy_main_functions.cc b/chrome/app/dummy_main_functions.cc index bb0b5e5..bc942f6 100644 --- a/chrome/app/dummy_main_functions.cc +++ b/chrome/app/dummy_main_functions.cc @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/result_codes.h" #include "content/common/main_function_params.h" +#include "content/common/result_codes.h" // Native Client binary for 64-bit Windows can run only the NaCl loader or // the sandbox broker processes. Other process types are not supported. diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h index 7bb0dc0..e830902 100644 --- a/chrome/browser/autocomplete/autocomplete_edit.h +++ b/chrome/browser/autocomplete/autocomplete_edit.h @@ -11,7 +11,7 @@ #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" #include "chrome/browser/autocomplete/autocomplete_match.h" #include "chrome/common/instant_types.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "ui/gfx/native_widget_types.h" #include "webkit/glue/window_open_disposition.h" diff --git a/chrome/browser/autocomplete/autocomplete_edit_view.h b/chrome/browser/autocomplete/autocomplete_edit_view.h index 99951f8..2054699 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view.h @@ -15,7 +15,7 @@ #include <string> #include "base/string16.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "ui/gfx/native_widget_types.h" #include "webkit/glue/window_open_disposition.h" diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index cc8bbd6..60d83c3 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -17,9 +17,9 @@ #include "chrome/browser/autocomplete/autocomplete_edit_view.h" #include "chrome/browser/ui/gtk/owned_widget_gtk.h" #include "chrome/browser/ui/toolbar/toolbar_model.h" -#include "chrome/common/page_transition_types.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" #include "ui/base/animation/animation_delegate.h" #include "ui/base/gtk/gtk_signal.h" #include "ui/base/gtk/gtk_signal_registrar.h" diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_views.h b/chrome/browser/autocomplete/autocomplete_edit_view_views.h index 3c66c8c..4f32ed9 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_views.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_views.h @@ -12,8 +12,8 @@ #include "base/scoped_ptr.h" #include "chrome/browser/autocomplete/autocomplete_edit_view.h" #include "chrome/browser/ui/toolbar/toolbar_model.h" -#include "chrome/common/page_transition_types.h" #include "content/common/notification_observer.h" +#include "content/common/page_transition_types.h" #include "ui/base/range/range.h" #include "views/controls/textfield/textfield_controller.h" #include "views/view.h" diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.h b/chrome/browser/autocomplete/autocomplete_edit_view_win.h index 8a29b84..3b9e49b 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.h @@ -19,7 +19,7 @@ #include "chrome/browser/autocomplete/autocomplete_edit_view.h" #include "chrome/browser/ui/toolbar/toolbar_model.h" #include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "ui/base/models/simple_menu_model.h" #include "ui/gfx/font.h" #include "views/controls/menu/menu_2.h" diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h index 49d9fbb..a376062 100644 --- a/chrome/browser/autocomplete/autocomplete_match.h +++ b/chrome/browser/autocomplete/autocomplete_match.h @@ -9,7 +9,7 @@ #include <vector> #include <string> -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" class AutocompleteProvider; diff --git a/chrome/browser/automation/automation_provider_win.cc b/chrome/browser/automation/automation_provider_win.cc index c213509..9047ed7 100644 --- a/chrome/browser/automation/automation_provider_win.cc +++ b/chrome/browser/automation/automation_provider_win.cc @@ -21,9 +21,9 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" #include "chrome/common/automation_messages.h" -#include "chrome/common/page_zoom.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/page_zoom.h" #include "ui/base/keycodes/keyboard_codes.h" #include "views/focus/accelerator_handler.h" #include "views/widget/root_view.h" diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h index 02dfda2..762f9c0 100644 --- a/chrome/browser/automation/testing_automation_provider.h +++ b/chrome/browser/automation/testing_automation_provider.h @@ -13,8 +13,8 @@ #include "chrome/browser/history/history.h" #include "chrome/browser/importer/importer_list.h" #include "chrome/browser/sync/profile_sync_service_harness.h" -#include "chrome/common/page_type.h" #include "content/common/notification_registrar.h" +#include "content/common/page_type.h" class DictionaryValue; class TemplateURLModel; diff --git a/chrome/browser/browser_browsertest.cc b/chrome/browser/browser_browsertest.cc index 4a2c7f5..eef69ef 100644 --- a/chrome/browser/browser_browsertest.cc +++ b/chrome/browser/browser_browsertest.cc @@ -26,7 +26,6 @@ #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/extensions/extension.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" @@ -34,6 +33,7 @@ #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/common/notification_source.h" +#include "content/common/page_transition_types.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "net/base/mock_host_resolver.h" diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index ac58f16..521d29b 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -85,7 +85,6 @@ #include "chrome/common/net/net_resource_provider.h" #include "chrome/common/pref_names.h" #include "chrome/common/profiling.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/google_update_settings.h" #include "content/browser/browser_thread.h" #include "content/browser/plugin_service.h" @@ -94,6 +93,7 @@ #include "content/common/content_client.h" #include "content/common/hi_res_timer_manager.h" #include "content/common/main_function_params.h" +#include "content/common/result_codes.h" #include "grit/app_locale_settings.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/browser_main_gtk.cc b/chrome/browser/browser_main_gtk.cc index f59fa9c..b63009a 100644 --- a/chrome/browser/browser_main_gtk.cc +++ b/chrome/browser/browser_main_gtk.cc @@ -15,9 +15,9 @@ #include "chrome/browser/browser_main_win.h" #include "chrome/browser/metrics/metrics_service.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_sandbox_host_linux.h" #include "content/browser/zygote_host_linux.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm index 79ccb46..5bee90a 100644 --- a/chrome/browser/browser_main_mac.mm +++ b/chrome/browser/browser_main_mac.mm @@ -22,8 +22,8 @@ #include "chrome/browser/metrics/metrics_service.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" #include "content/common/main_function_params.h" +#include "content/common/result_codes.h" #include "net/socket/client_socket_factory.h" #include "ui/base/l10n/l10n_util_mac.h" #include "ui/base/resource/resource_bundle.h" diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc index 3d0a052..628ad1ed 100644 --- a/chrome/browser/browser_main_win.cc +++ b/chrome/browser/browser_main_win.cc @@ -27,12 +27,12 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/env_vars.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/browser_distribution.h" #include "chrome/installer/util/helper.h" #include "chrome/installer/util/install_util.h" #include "chrome/installer/util/shell_util.h" #include "content/common/main_function_params.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "net/base/winsock_init.h" diff --git a/chrome/browser/chromeos/login/eula_view.cc b/chrome/browser/chromeos/login/eula_view.cc index ce233d9..27ff551 100644 --- a/chrome/browser/chromeos/login/eula_view.cc +++ b/chrome/browser/chromeos/login/eula_view.cc @@ -28,10 +28,10 @@ #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/ui/views/dom_view.h" #include "chrome/browser/ui/views/window.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/url_constants.h" #include "content/browser/site_instance.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" diff --git a/chrome/browser/crash_recovery_browsertest.cc b/chrome/browser/crash_recovery_browsertest.cc index 549edc0..e44bb49 100644 --- a/chrome/browser/crash_recovery_browsertest.cc +++ b/chrome/browser/crash_recovery_browsertest.cc @@ -4,12 +4,12 @@ #include "base/file_path.h" #include "chrome/browser/ui/browser.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/tab_contents/navigation_entry.h" #include "content/common/notification_type.h" +#include "content/common/page_transition_types.h" #include "testing/gtest/include/gtest/gtest.h" namespace { diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc index c3f1ec6..84ae546 100644 --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc @@ -21,10 +21,10 @@ #include "chrome/browser/ui/browser_list.h" #include "chrome/common/pref_names.h" #include "chrome/common/chrome_paths.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" +#include "content/common/page_transition_types.h" #include "net/base/net_util.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc index 0d3f472..ae1e9d3 100644 --- a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc +++ b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc @@ -12,11 +12,11 @@ #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/ui/browser.h" -#include "chrome/common/result_codes.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" class ExtensionCrashRecoveryTest : public ExtensionBrowserTest { protected: diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc index 7cdb2c7..2b49c19 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.cc +++ b/chrome/browser/extensions/extension_function_dispatcher.cc @@ -53,11 +53,11 @@ #include "chrome/browser/ui/webui/favicon_source.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" -#include "chrome/common/result_codes.h" #include "chrome/common/url_constants.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/common/notification_service.h" +#include "content/common/result_codes.h" #include "third_party/skia/include/core/SkBitmap.h" #if defined(TOOLKIT_VIEWS) diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc index 0566619..be193db 100644 --- a/chrome/browser/extensions/extension_host.cc +++ b/chrome/browser/extensions/extension_host.cc @@ -31,7 +31,6 @@ #include "chrome/common/bindings_policy.h" #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_constants.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/url_constants.h" @@ -45,6 +44,7 @@ #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_view.h" #include "content/browser/webui/web_ui_factory.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" #include "grit/browser_resources.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/extensions/extension_host_mac.mm b/chrome/browser/extensions/extension_host_mac.mm index 73e29fb..23ec35d 100644 --- a/chrome/browser/extensions/extension_host_mac.mm +++ b/chrome/browser/extensions/extension_host_mac.mm @@ -8,7 +8,7 @@ #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" #import "chrome/browser/ui/cocoa/extensions/extension_popup_controller.h" #import "chrome/browser/ui/cocoa/info_bubble_window.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" ExtensionHostMac::~ExtensionHostMac() { // If there is a popup open for this host's extension, close it. diff --git a/chrome/browser/extensions/extension_input_api.cc b/chrome/browser/extensions/extension_input_api.cc index 9e6fad1..6adfb35 100644 --- a/chrome/browser/extensions/extension_input_api.cc +++ b/chrome/browser/extensions/extension_input_api.cc @@ -13,8 +13,8 @@ #include "chrome/browser/extensions/key_identifier_conversion_views.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/views/frame/browser_view.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/renderer_host/render_view_host.h" +#include "content/common/native_web_keyboard_event.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" #include "views/events/event.h" #include "views/widget/root_view.h" diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc index 90221b8..d20e30e 100644 --- a/chrome/browser/extensions/extension_web_ui.cc +++ b/chrome/browser/extensions/extension_web_ui.cc @@ -23,10 +23,10 @@ #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_icon_set.h" #include "chrome/common/extensions/extension_resource.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" #include "content/browser/renderer_host/render_widget_host_view.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/page_transition_types.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/codec/png_codec.h" #include "ui/gfx/favicon_size.h" diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc index 629114d..a230364 100644 --- a/chrome/browser/external_tab_container_win.cc +++ b/chrome/browser/external_tab_container_win.cc @@ -32,8 +32,6 @@ #include "chrome/common/automation_messages.h" #include "chrome/common/bindings_policy.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/native_web_keyboard_event.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/url_constants.h" @@ -41,7 +39,9 @@ #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" #include "content/browser/tab_contents/provisional_load_details.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" +#include "content/common/page_transition_types.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/external_tab_container_win.h b/chrome/browser/external_tab_container_win.h index a7793a6..98c1a68 100644 --- a/chrome/browser/external_tab_container_win.h +++ b/chrome/browser/external_tab_container_win.h @@ -17,8 +17,8 @@ #include "chrome/browser/ui/views/frame/browser_bubble_host.h" #include "chrome/browser/ui/views/infobars/infobar_container.h" #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" -#include "chrome/common/navigation_types.h" #include "content/browser/tab_contents/tab_contents_delegate.h" +#include "content/common/navigation_types.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" #include "views/accelerator.h" diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h index 05cf53e4..260ffb2 100644 --- a/chrome/browser/first_run/first_run.h +++ b/chrome/browser/first_run/first_run.h @@ -12,7 +12,7 @@ #include "base/compiler_specific.h" #include "chrome/browser/browser_process_impl.h" #include "chrome/browser/importer/importer_observer.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" #include "googleurl/src/gurl.h" #include "ui/gfx/native_widget_types.h" diff --git a/chrome/browser/first_run/first_run_gtk.cc b/chrome/browser/first_run/first_run_gtk.cc index 85f072d..a29ed26 100644 --- a/chrome/browser/first_run/first_run_gtk.cc +++ b/chrome/browser/first_run/first_run_gtk.cc @@ -17,8 +17,8 @@ #include "chrome/browser/shell_integration.h" #include "chrome/browser/ui/gtk/first_run_dialog.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/google_update_settings.h" +#include "content/common/result_codes.h" #include "googleurl/src/gurl.h" #include "ui/base/ui_base_switches.h" diff --git a/chrome/browser/hang_monitor/hung_window_detector.cc b/chrome/browser/hang_monitor/hung_window_detector.cc index ea864be..b196fb3 100644 --- a/chrome/browser/hang_monitor/hung_window_detector.cc +++ b/chrome/browser/hang_monitor/hung_window_detector.cc @@ -8,7 +8,7 @@ #include <atlbase.h> #include "base/logging.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" // How long do we wait for the terminated thread or process to die (in ms) static const int kTerminateTimeout = 2000; diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 3898c3a..7090ad5 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -19,11 +19,11 @@ #include "chrome/browser/favicon_service.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/search_engines/template_url_id.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/ref_counted_util.h" #include "content/browser/cancelable_request.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" class BookmarkService; struct DownloadCreateInfo; diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h index 9d0b082..5aef72f 100644 --- a/chrome/browser/history/history_types.h +++ b/chrome/browser/history/history_types.h @@ -19,9 +19,9 @@ #include "base/time.h" #include "chrome/browser/history/snippet.h" #include "chrome/browser/search_engines/template_url_id.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/ref_counted_util.h" #include "chrome/common/thumbnail_score.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" namespace history { diff --git a/chrome/browser/history/visit_database.cc b/chrome/browser/history/visit_database.cc index ace5dac..7794065 100644 --- a/chrome/browser/history/visit_database.cc +++ b/chrome/browser/history/visit_database.cc @@ -13,8 +13,8 @@ #include "base/logging.h" #include "base/string_number_conversions.h" #include "chrome/browser/history/url_database.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" +#include "content/common/page_transition_types.h" // Rows, in order, of the visit table. #define HISTORY_VISIT_ROW_FIELDS \ diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h index 6e1d619..6993af9 100644 --- a/chrome/browser/instant/instant_controller.h +++ b/chrome/browser/instant/instant_controller.h @@ -19,7 +19,7 @@ #include "chrome/browser/instant/instant_loader_delegate.h" #include "chrome/browser/search_engines/template_url_id.h" #include "chrome/common/instant_types.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "ui/gfx/native_widget_types.h" #include "ui/gfx/rect.h" diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc index c47d916..5455bef 100644 --- a/chrome/browser/instant/instant_loader.cc +++ b/chrome/browser/instant/instant_loader.cc @@ -21,7 +21,6 @@ #include "chrome/browser/search_engines/template_url.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages.h" #include "chrome/common/renderer_preferences.h" #include "content/browser/renderer_host/render_view_host.h" @@ -38,6 +37,7 @@ #include "content/common/notification_service.h" #include "content/common/notification_source.h" #include "content/common/notification_type.h" +#include "content/common/page_transition_types.h" #include "net/http/http_util.h" #include "ui/base/l10n/l10n_util.h" #include "ui/gfx/codec/png_codec.h" diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h index f18d454..d6d9796 100644 --- a/chrome/browser/instant/instant_loader.h +++ b/chrome/browser/instant/instant_loader.h @@ -13,9 +13,9 @@ #include "chrome/browser/instant/instant_commit_type.h" #include "chrome/browser/search_engines/template_url_id.h" #include "chrome/common/instant_types.h" -#include "chrome/common/page_transition_types.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "ui/gfx/rect.h" diff --git a/chrome/browser/load_notification_details.h b/chrome/browser/load_notification_details.h index f869bab..6e96c6e 100644 --- a/chrome/browser/load_notification_details.h +++ b/chrome/browser/load_notification_details.h @@ -12,8 +12,8 @@ #include "base/basictypes.h" #include "base/time.h" -#include "chrome/common/page_transition_types.h" #include "content/browser/tab_contents/navigation_controller.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" class LoadNotificationDetails { diff --git a/chrome/browser/metrics/metrics_log.h b/chrome/browser/metrics/metrics_log.h index 8a19bd3..374889d 100644 --- a/chrome/browser/metrics/metrics_log.h +++ b/chrome/browser/metrics/metrics_log.h @@ -11,7 +11,7 @@ #include "base/basictypes.h" #include "chrome/common/metrics_helpers.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" struct AutocompleteLog; class DictionaryValue; diff --git a/chrome/browser/platform_util_chromeos.cc b/chrome/browser/platform_util_chromeos.cc index 7ea3c53..9a57734 100644 --- a/chrome/browser/platform_util_chromeos.cc +++ b/chrome/browser/platform_util_chromeos.cc @@ -14,8 +14,8 @@ #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/ui/webui/filebrowse_ui.h" #include "chrome/browser/ui/webui/mediaplayer_ui.h" -#include "chrome/common/process_watcher.h" #include "content/browser/browser_thread.h" +#include "content/common/process_watcher.h" #include "googleurl/src/gurl.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/platform_util_common_linux.cc b/chrome/browser/platform_util_common_linux.cc index faf8a9f..feb1568 100644 --- a/chrome/browser/platform_util_common_linux.cc +++ b/chrome/browser/platform_util_common_linux.cc @@ -12,7 +12,7 @@ #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/ui/gtk/gtk_util.h" -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #include "googleurl/src/gurl.h" #include "ui/gfx/native_widget_types.h" diff --git a/chrome/browser/platform_util_linux.cc b/chrome/browser/platform_util_linux.cc index 514e438..b795cf9 100644 --- a/chrome/browser/platform_util_linux.cc +++ b/chrome/browser/platform_util_linux.cc @@ -9,7 +9,7 @@ #include "base/file_util.h" #include "base/process_util.h" #include "base/utf_string_conversions.h" -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #include "googleurl/src/gurl.h" namespace { diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc index 6682706..2a2975c 100644 --- a/chrome/browser/process_singleton_win.cc +++ b/chrome/browser/process_singleton_win.cc @@ -21,7 +21,7 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index 2e8e475..2d62cdc 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -55,10 +55,8 @@ #include "chrome/common/logging_chrome.h" #include "chrome/common/net/url_request_context_getter.h" #include "chrome/common/pref_names.h" -#include "chrome/common/process_watcher.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" -#include "chrome/common/result_codes.h" #include "chrome/renderer/render_process_impl.h" #include "chrome/renderer/render_thread.h" #include "content/browser/appcache/appcache_dispatcher_host.h" @@ -94,7 +92,9 @@ #include "content/common/child_process_messages.h" #include "content/common/gpu_messages.h" #include "content/common/notification_service.h" +#include "content/common/process_watcher.h" #include "content/common/resource_messages.h" +#include "content/common/result_codes.h" #include "grit/generated_resources.h" #include "ipc/ipc_logging.h" #include "ipc/ipc_platform_file.h" diff --git a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc index 788262d..5135d46 100644 --- a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc +++ b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc @@ -17,9 +17,9 @@ #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/ui/gtk/gtk_util.h" #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "content/browser/renderer_host/render_widget_host.h" +#include "content/common/native_web_keyboard_event.h" #include "grit/generated_resources.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/renderer_host/gtk_key_bindings_handler.cc b/chrome/browser/renderer_host/gtk_key_bindings_handler.cc index 8f3d765..52b1b6b 100644 --- a/chrome/browser/renderer_host/gtk_key_bindings_handler.cc +++ b/chrome/browser/renderer_host/gtk_key_bindings_handler.cc @@ -10,7 +10,7 @@ #include "base/logging.h" #include "base/string_util.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" GtkKeyBindingsHandler::GtkKeyBindingsHandler(GtkWidget* parent_widget) : handler_(CreateNewHandler()) { diff --git a/chrome/browser/renderer_host/gtk_key_bindings_handler_unittest.cc b/chrome/browser/renderer_host/gtk_key_bindings_handler_unittest.cc index bf62fe7..a12e3f5 100644 --- a/chrome/browser/renderer_host/gtk_key_bindings_handler_unittest.cc +++ b/chrome/browser/renderer_host/gtk_key_bindings_handler_unittest.cc @@ -15,7 +15,7 @@ #include "base/string_util.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/edit_command.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #include "testing/gtest/include/gtest/gtest.h" class GtkKeyBindingsHandlerTest : public testing::Test { diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc index b2708df..354ba33 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -29,11 +29,11 @@ #include "chrome/browser/renderer_host/gtk_key_bindings_handler.h" #include "chrome/browser/ui/gtk/gtk_util.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/renderer_host/backing_store_x.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/render_view_host_delegate.h" #include "content/browser/renderer_host/render_widget_host.h" +#include "content/common/native_web_keyboard_event.h" #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFactory.h" #include "ui/base/l10n/l10n_util.h" #include "ui/base/x/x11_util.h" diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.mm b/chrome/browser/renderer_host/render_widget_host_view_mac.mm index fea669b..a1c9496 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm @@ -26,7 +26,6 @@ #import "chrome/browser/ui/cocoa/view_id_util.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/edit_command.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "content/browser/browser_thread.h" #include "content/browser/gpu_process_host.h" @@ -36,6 +35,7 @@ #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/render_widget_host.h" #include "content/common/gpu_messages.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/plugin_messages.h" #include "skia/ext/platform_canvas.h" #import "third_party/mozilla/ComplexTextInputPanel.h" diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.cc b/chrome/browser/renderer_host/render_widget_host_view_views.cc index 2cfd7ce3..62236b6 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_views.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_views.cc @@ -14,12 +14,12 @@ #include "base/string_number_conversions.h" #include "base/task.h" #include "base/time.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/backing_store_skia.h" #include "content/browser/renderer_host/backing_store_x.h" #include "content/browser/renderer_host/render_widget_host.h" +#include "content/common/native_web_keyboard_event.h" +#include "content/common/result_codes.h" #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFactory.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc index c6179c0..a123a13 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_win.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc @@ -20,7 +20,6 @@ #include "chrome/browser/browser_trial.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "content/browser/browser_thread.h" #include "content/browser/plugin_process_host.h" @@ -28,6 +27,7 @@ #include "content/browser/renderer_host/backing_store_win.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_widget_host.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" #include "content/common/plugin_messages.h" #include "grit/webkit_resources.h" diff --git a/chrome/browser/renderer_host/web_cache_manager_browsertest.cc b/chrome/browser/renderer_host/web_cache_manager_browsertest.cc index 2244506..7216a6a 100644 --- a/chrome/browser/renderer_host/web_cache_manager_browsertest.cc +++ b/chrome/browser/renderer_host/web_cache_manager_browsertest.cc @@ -8,11 +8,11 @@ #include "base/process_util.h" #include "chrome/browser/renderer_host/web_cache_manager.h" #include "chrome/browser/ui/browser.h" -#include "chrome/common/result_codes.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "testing/gtest/include/gtest/gtest.h" class WebCacheManagerBrowserTest : public InProcessBrowserTest { diff --git a/chrome/browser/sessions/session_restore_browsertest.cc b/chrome/browser/sessions/session_restore_browsertest.cc index 0e7bf3a..6ff8980 100644 --- a/chrome/browser/sessions/session_restore_browsertest.cc +++ b/chrome/browser/sessions/session_restore_browsertest.cc @@ -9,10 +9,10 @@ #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" -#include "chrome/common/page_transition_types.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/page_transition_types.h" typedef InProcessBrowserTest SessionRestoreTest; diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h index 529393b..3a70156 100644 --- a/chrome/browser/sessions/session_types.h +++ b/chrome/browser/sessions/session_types.h @@ -13,7 +13,7 @@ #include "base/string16.h" #include "base/time.h" #include "chrome/browser/sessions/session_id.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "ui/gfx/rect.h" diff --git a/chrome/browser/sync/glue/session_model_associator_unittest.cc b/chrome/browser/sync/glue/session_model_associator_unittest.cc index 9f0ce3c..a33147f 100644 --- a/chrome/browser/sync/glue/session_model_associator_unittest.cc +++ b/chrome/browser/sync/glue/session_model_associator_unittest.cc @@ -9,8 +9,8 @@ #include "base/values.h" #include "chrome/browser/sessions/session_types.h" #include "chrome/browser/sync/glue/session_model_associator.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/url_constants.h" +#include "content/common/page_transition_types.h" #include "testing/gtest/include/gtest/gtest.h" using browser_sync::SessionModelAssociator; diff --git a/chrome/browser/tab_contents/render_view_context_menu.h b/chrome/browser/tab_contents/render_view_context_menu.h index 2aac2407..b0f4e65 100644 --- a/chrome/browser/tab_contents/render_view_context_menu.h +++ b/chrome/browser/tab_contents/render_view_context_menu.h @@ -12,8 +12,8 @@ #include "base/string16.h" #include "base/scoped_vector.h" -#include "chrome/common/page_transition_types.h" #include "chrome/browser/extensions/extension_menu_manager.h" +#include "content/common/page_transition_types.h" #include "ui/base/models/simple_menu_model.h" #include "webkit/glue/context_menu.h" #include "webkit/glue/window_open_disposition.h" diff --git a/chrome/browser/tabs/pinned_tab_codec.cc b/chrome/browser/tabs/pinned_tab_codec.cc index e08507c..7b89949 100644 --- a/chrome/browser/tabs/pinned_tab_codec.cc +++ b/chrome/browser/tabs/pinned_tab_codec.cc @@ -12,9 +12,9 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/extensions/extension.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/pref_names.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/page_transition_types.h" typedef BrowserInit::LaunchWithProfile::Tab Tab; diff --git a/chrome/browser/tabs/tab_finder.cc b/chrome/browser/tabs/tab_finder.cc index 5fde653..6826316 100644 --- a/chrome/browser/tabs/tab_finder.cc +++ b/chrome/browser/tabs/tab_finder.cc @@ -11,7 +11,6 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_list.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages_params.h" #include "content/browser/tab_contents/navigation_entry.h" #include "content/browser/tab_contents/tab_contents.h" @@ -19,6 +18,7 @@ #include "content/common/notification_service.h" #include "content/common/notification_source.h" #include "content/common/notification_type.h" +#include "content/common/page_transition_types.h" class TabFinder::TabContentsObserverImpl : public TabContentsObserver { public: diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h index 04c3743..9807a22 100644 --- a/chrome/browser/tabs/tab_strip_model.h +++ b/chrome/browser/tabs/tab_strip_model.h @@ -11,9 +11,9 @@ #include "base/observer_list.h" #include "chrome/browser/tabs/tab_strip_model_observer.h" #include "chrome/browser/tabs/tab_strip_selection_model.h" -#include "chrome/common/page_transition_types.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" class NavigationController; class Profile; diff --git a/chrome/browser/tabs/tab_strip_model_delegate.h b/chrome/browser/tabs/tab_strip_model_delegate.h index b5e7f4d..8eb25c5 100644 --- a/chrome/browser/tabs/tab_strip_model_delegate.h +++ b/chrome/browser/tabs/tab_strip_model_delegate.h @@ -6,7 +6,7 @@ #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ #pragma once -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" class Browser; class DockInfo; diff --git a/chrome/browser/tabs/tab_strip_model_order_controller.h b/chrome/browser/tabs/tab_strip_model_order_controller.h index 5ecaa2c..5b1476d 100644 --- a/chrome/browser/tabs/tab_strip_model_order_controller.h +++ b/chrome/browser/tabs/tab_strip_model_order_controller.h @@ -7,7 +7,7 @@ #pragma once #include "chrome/browser/tabs/tab_strip_model.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" class TabContentsWrapper; diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc index 0c652b5..d9e65e9 100644 --- a/chrome/browser/task_manager/task_manager.cc +++ b/chrome/browser/task_manager/task_manager.cc @@ -20,12 +20,12 @@ #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/task_manager/task_manager_resource_providers.h" #include "chrome/common/pref_names.h" -#include "chrome/common/result_codes.h" #include "chrome/common/url_constants.h" #include "content/browser/browser_thread.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/resource_dispatcher_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "grit/app_resources.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/task_manager/task_manager_browsertest.cc b/chrome/browser/task_manager/task_manager_browsertest.cc index 25664de..32ae49a 100644 --- a/chrome/browser/task_manager/task_manager_browsertest.cc +++ b/chrome/browser/task_manager/task_manager_browsertest.cc @@ -22,10 +22,10 @@ #include "chrome/browser/ui/browser_navigator.h" #include "chrome/browser/ui/browser_window.h" #include "chrome/common/extensions/extension.h" -#include "chrome/common/page_transition_types.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/page_transition_types.h" #include "grit/generated_resources.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc index 4ba8874..cce8fb0 100644 --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc @@ -91,7 +91,6 @@ #include "chrome/common/content_restriction.h" #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_constants.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/pref_names.h" #include "chrome/common/profiling.h" #include "chrome/common/url_constants.h" @@ -105,6 +104,7 @@ #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_view.h" #include "content/common/notification_service.h" +#include "content/common/page_transition_types.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h index 6149a41..e6387d5 100644 --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h @@ -33,11 +33,11 @@ #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h" #include "chrome/browser/ui/toolbar/toolbar_model.h" #include "chrome/common/extensions/extension_constants.h" -#include "chrome/common/page_transition_types.h" -#include "chrome/common/page_zoom.h" #include "content/browser/tab_contents/page_navigator.h" #include "content/browser/tab_contents/tab_contents_delegate.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" +#include "content/common/page_zoom.h" #include "ui/gfx/rect.h" class BrowserTabRestoreServiceDelegate; diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc index 5497b2a..0bfa68f 100644 --- a/chrome/browser/ui/browser_init.cc +++ b/chrome/browser/ui/browser_init.cc @@ -52,7 +52,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/extensions/extension_constants.h" #include "chrome/common/pref_names.h" -#include "chrome/common/result_codes.h" #include "chrome/common/url_constants.h" #include "chrome/installer/util/browser_distribution.h" #include "content/browser/browser_thread.h" @@ -61,6 +60,7 @@ #include "content/browser/tab_contents/navigation_controller.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_view.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc index 95a546f..48776c2 100644 --- a/chrome/browser/ui/browser_list.cc +++ b/chrome/browser/ui/browser_list.cc @@ -12,11 +12,11 @@ #include "chrome/browser/browser_shutdown.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/profiles/profile_manager.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/tab_contents/navigation_controller.h" #include "content/common/notification_registrar.h" #include "content/common/notification_service.h" +#include "content/common/result_codes.h" #if defined(OS_MACOSX) #include "chrome/browser/chrome_browser_application_mac.h" diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h index c3f066a..7344e1d 100644 --- a/chrome/browser/ui/browser_navigator.h +++ b/chrome/browser/ui/browser_navigator.h @@ -8,7 +8,7 @@ #include <string> -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "ui/gfx/rect.h" #include "webkit/glue/window_open_disposition.h" diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm index 37049d6..70045d1 100644 --- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm @@ -34,9 +34,9 @@ #import "chrome/browser/ui/cocoa/theme_install_bubble_view.h" #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/pref_names.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/ui/cocoa/html_dialog_window_controller.mm b/chrome/browser/ui/cocoa/html_dialog_window_controller.mm index b5b291b..9e43291 100644 --- a/chrome/browser/ui/cocoa/html_dialog_window_controller.mm +++ b/chrome/browser/ui/cocoa/html_dialog_window_controller.mm @@ -13,8 +13,8 @@ #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h" #include "chrome/browser/ui/webui/html_dialog_ui.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" #include "ui/base/keycodes/keyboard_codes.h" #include "ui/gfx/size.h" diff --git a/chrome/browser/ui/cocoa/hung_renderer_controller.mm b/chrome/browser/ui/cocoa/hung_renderer_controller.mm index 5a9e2a8..5483545 100644 --- a/chrome/browser/ui/cocoa/hung_renderer_controller.mm +++ b/chrome/browser/ui/cocoa/hung_renderer_controller.mm @@ -14,10 +14,10 @@ #import "chrome/browser/ui/cocoa/multi_key_equivalent_button.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/logging_chrome.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/app_resources.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc index 76f829cf..e04a5ea 100644 --- a/chrome/browser/ui/gtk/browser_window_gtk.cc +++ b/chrome/browser/ui/gtk/browser_window_gtk.cc @@ -71,10 +71,10 @@ #include "chrome/browser/ui/webui/bug_report_ui.h" #include "chrome/browser/ui/window_sizer.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/pref_names.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_view.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" #include "grit/app_resources.h" #include "grit/chromium_strings.h" diff --git a/chrome/browser/ui/gtk/find_bar_gtk.cc b/chrome/browser/ui/gtk/find_bar_gtk.cc index 70b6ff4..81fe41f 100644 --- a/chrome/browser/ui/gtk/find_bar_gtk.cc +++ b/chrome/browser/ui/gtk/find_bar_gtk.cc @@ -32,9 +32,9 @@ #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" #include "chrome/browser/ui/gtk/view_id_util.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" diff --git a/chrome/browser/ui/gtk/html_dialog_gtk.cc b/chrome/browser/ui/gtk/html_dialog_gtk.cc index eaed32b..fef05dd 100644 --- a/chrome/browser/ui/gtk/html_dialog_gtk.cc +++ b/chrome/browser/ui/gtk/html_dialog_gtk.cc @@ -13,8 +13,8 @@ #include "chrome/browser/ui/gtk/gtk_util.h" #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" #include "chrome/browser/ui/webui/html_dialog_ui.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" namespace browser { diff --git a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc index 15bffcd..9ceba43 100644 --- a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc +++ b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc @@ -12,10 +12,10 @@ #include "chrome/browser/ui/gtk/gtk_util.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/logging_chrome.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc index 76e3ad6..859c97d 100644 --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc @@ -48,10 +48,10 @@ #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_action.h" #include "chrome/common/extensions/extension_resource.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/pref_names.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/common/notification_service.h" +#include "content/common/page_transition_types.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "net/base/net_util.h" diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h index 8bc3b91..5d489b2 100644 --- a/chrome/browser/ui/gtk/location_bar_view_gtk.h +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h @@ -24,9 +24,9 @@ #include "chrome/browser/ui/gtk/owned_widget_gtk.h" #include "chrome/browser/ui/omnibox/location_bar.h" #include "chrome/common/content_settings_types.h" -#include "chrome/common/page_transition_types.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" +#include "content/common/page_transition_types.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/base/animation/slide_animation.h" #include "ui/base/gtk/gtk_signal.h" diff --git a/chrome/browser/ui/omnibox/location_bar.h b/chrome/browser/ui/omnibox/location_bar.h index 0183745..d0916b1 100644 --- a/chrome/browser/ui/omnibox/location_bar.h +++ b/chrome/browser/ui/omnibox/location_bar.h @@ -17,7 +17,7 @@ #include "base/string16.h" #include "chrome/browser/first_run/first_run.h" #include "chrome/browser/instant/instant_delegate.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "webkit/glue/window_open_disposition.h" class AutocompleteEditView; diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc index b6e917f..e4e515b 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc +++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc @@ -30,13 +30,13 @@ #include "chrome/browser/ui/views/frame/browser_view.h" #include "chrome/browser/ui/views/location_bar/location_bar_view.h" #include "chrome/common/extensions/extension_constants.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/pref_names.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/render_widget_host_view.h" #include "content/browser/tab_contents/page_navigator.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/common/notification_service.h" +#include "content/common/page_transition_types.h" #include "grit/app_resources.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" diff --git a/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc b/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc index 8243786..657176a 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc +++ b/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc @@ -14,8 +14,8 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" #include "chrome/browser/ui/views/event_utils.h" -#include "chrome/common/page_transition_types.h" #include "content/browser/tab_contents/page_navigator.h" +#include "content/common/page_transition_types.h" #include "grit/app_resources.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" diff --git a/chrome/browser/ui/views/dropdown_bar_host.h b/chrome/browser/ui/views/dropdown_bar_host.h index 5b9dabf..7e73a4b 100644 --- a/chrome/browser/ui/views/dropdown_bar_host.h +++ b/chrome/browser/ui/views/dropdown_bar_host.h @@ -7,7 +7,7 @@ #pragma once #include "base/scoped_ptr.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #include "ui/base/animation/animation_delegate.h" #include "ui/gfx/native_widget_types.h" #include "ui/gfx/rect.h" diff --git a/chrome/browser/ui/views/html_dialog_view.cc b/chrome/browser/ui/views/html_dialog_view.cc index b9c704c..20ee92b 100644 --- a/chrome/browser/ui/views/html_dialog_view.cc +++ b/chrome/browser/ui/views/html_dialog_view.cc @@ -8,8 +8,8 @@ #include "chrome/browser/ui/browser_dialogs.h" #include "chrome/browser/ui/views/window.h" -#include "chrome/common/native_web_keyboard_event.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/native_web_keyboard_event.h" #include "ui/base/keycodes/keyboard_codes.h" #include "views/widget/root_view.h" #include "views/widget/widget.h" diff --git a/chrome/browser/ui/views/hung_renderer_view.cc b/chrome/browser/ui/views/hung_renderer_view.cc index acea226..4f5d7c1 100644 --- a/chrome/browser/ui/views/hung_renderer_view.cc +++ b/chrome/browser/ui/views/hung_renderer_view.cc @@ -10,10 +10,10 @@ #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/logging_chrome.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" diff --git a/chrome/browser/ui/views/unhandled_keyboard_event_handler.h b/chrome/browser/ui/views/unhandled_keyboard_event_handler.h index 111b8849..0e7127b 100644 --- a/chrome/browser/ui/views/unhandled_keyboard_event_handler.h +++ b/chrome/browser/ui/views/unhandled_keyboard_event_handler.h @@ -7,7 +7,7 @@ #pragma once #include "views/view.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" namespace views { class FocusManager; diff --git a/chrome/browser/ui/views/uninstall_view.cc b/chrome/browser/ui/views/uninstall_view.cc index c087b41..f0a9928 100644 --- a/chrome/browser/ui/views/uninstall_view.cc +++ b/chrome/browser/ui/views/uninstall_view.cc @@ -9,9 +9,9 @@ #include "base/string16.h" #include "base/utf_string_conversions.h" #include "chrome/browser/shell_integration.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/browser_distribution.h" #include "chrome/installer/util/shell_util.h" +#include "content/common/result_codes.h" #include "grit/chromium_strings.h" #include "ui/base/l10n/l10n_util.h" #include "views/controls/button/checkbox.h" diff --git a/chrome/browser/ui/webui/options/advanced_options_utils_gtk.cc b/chrome/browser/ui/webui/options/advanced_options_utils_gtk.cc index 00b8d82..54a19f6 100644 --- a/chrome/browser/ui/webui/options/advanced_options_utils_gtk.cc +++ b/chrome/browser/ui/webui/options/advanced_options_utils_gtk.cc @@ -11,10 +11,10 @@ #include "base/nix/xdg_util.h" #include "base/process_util.h" #include "base/string_tokenizer.h" -#include "chrome/common/process_watcher.h" #include "chrome/browser/browser_list.h" #include "content/browser/browser_thread.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/process_watcher.h" #include "ui/base/gtk/gtk_signal.h" // Command used to configure GNOME proxy settings. The command was renamed diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi index b6b5601..2f58ec6 100644 --- a/chrome/chrome_common.gypi +++ b/chrome/chrome_common.gypi @@ -71,10 +71,6 @@ 'common/nacl_messages.cc', 'common/nacl_messages.h', 'common/nacl_types.h', - 'common/process_watcher.h', - 'common/process_watcher_mac.cc', - 'common/process_watcher_posix.cc', - 'common/process_watcher_win.cc', 'common/profiling.cc', 'common/profiling.h', 'common/ref_counted_util.h', @@ -82,10 +78,6 @@ 'common/safebrowsing_messages.h', 'common/sandbox_policy.cc', 'common/sandbox_policy.h', - 'common/set_process_title.cc', - 'common/set_process_title.h', - 'common/set_process_title_linux.cc', - 'common/set_process_title_linux.h', 'common/switch_utils.cc', 'common/switch_utils.h', 'common/time_format.cc', @@ -204,17 +196,7 @@ 'common/jstemplate_builder.h', 'common/libxml_utils.cc', 'common/libxml_utils.h', - 'common/native_web_keyboard_event.h', - 'common/native_web_keyboard_event_linux.cc', - 'common/native_web_keyboard_event_mac.mm', - 'common/native_web_keyboard_event_win.cc', 'common/native_window_notification_source.h', - 'common/navigation_gesture.h', - 'common/navigation_types.h', - 'common/page_transition_types.cc', - 'common/page_transition_types.h', - 'common/page_type.h', - 'common/page_zoom.h', 'common/pepper_plugin_registry.cc', 'common/pepper_plugin_registry.h', 'common/persistent_pref_store.h', @@ -340,14 +322,6 @@ ], }], ['OS=="mac"', { - 'sources!': [ - 'common/process_watcher_posix.cc', - ], - 'link_settings': { - 'mac_bundle_resources': [ - 'common/common.sb', - ], - }, 'include_dirs': [ '../third_party/GTM', ], diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 164dbdd..6db8bb3 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -1739,7 +1739,6 @@ 'common/net/gaia/gaia_authenticator_unittest.cc', 'common/net/gaia/google_service_auth_error_unittest.cc', 'common/net/url_fetcher_unittest.cc', - 'common/process_watcher_unittest.cc', 'common/render_messages_unittest.cc', 'common/service_process_util_unittest.cc', 'common/switch_utils_unittest.cc', @@ -1825,6 +1824,7 @@ '../content/common/gpu_info_unittest.cc', '../content/common/mru_cache_unittest.cc', '../content/common/notification_service_unittest.cc', + '../content/common/process_watcher_unittest.cc', '../content/common/property_bag_unittest.cc', '../content/common/resource_dispatcher_unittest.cc', '../content/common/sandbox_mac_diraccess_unittest.mm', diff --git a/chrome/common/automation_messages.h b/chrome/common/automation_messages.h index 5bd74b1..2ae5214 100644 --- a/chrome/common/automation_messages.h +++ b/chrome/common/automation_messages.h @@ -8,9 +8,9 @@ #include "base/basictypes.h" #include "chrome/common/automation_constants.h" #include "chrome/common/common_param_traits.h" -#include "chrome/common/page_type.h" #include "chrome/common/security_style.h" #include "content/common/common_param_traits.h" +#include "content/common/page_type.h" #include "ipc/ipc_message_macros.h" #include "ipc/ipc_message_utils.h" #include "net/base/host_port_pair.h" diff --git a/chrome/common/automation_messages_internal.h b/chrome/common/automation_messages_internal.h index 3493bd4..9b3e9f7 100644 --- a/chrome/common/automation_messages_internal.h +++ b/chrome/common/automation_messages_internal.h @@ -9,8 +9,8 @@ #include "base/string16.h" #include "chrome/common/content_settings.h" -#include "chrome/common/navigation_types.h" #include "chrome/test/automation/autocomplete_edit_proxy.h" +#include "content/common/navigation_types.h" #include "googleurl/src/gurl.h" #include "ipc/ipc_message_macros.h" #include "net/url_request/url_request_status.h" diff --git a/chrome/common/common_param_traits.h b/chrome/common/common_param_traits.h index 70bd402..d25ce76 100644 --- a/chrome/common/common_param_traits.h +++ b/chrome/common/common_param_traits.h @@ -15,7 +15,7 @@ #include "base/file_util.h" #include "base/ref_counted.h" #include "chrome/common/content_settings.h" -#include "chrome/common/page_zoom.h" +#include "content/common/page_zoom.h" #include "ipc/ipc_message_utils.h" #include "printing/native_metafile.h" // !!! WARNING: DO NOT ADD NEW WEBKIT DEPENDENCIES !!! diff --git a/chrome/common/metrics_helpers.h b/chrome/common/metrics_helpers.h index 3de3fbd..9761280 100644 --- a/chrome/common/metrics_helpers.h +++ b/chrome/common/metrics_helpers.h @@ -16,7 +16,7 @@ #include "base/metrics/histogram.h" #include "base/scoped_ptr.h" #include "base/time.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" class GURL; class MetricsLog; diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index e34f1e9..1cfb404 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -30,8 +30,6 @@ #include "chrome/common/extensions/url_pattern.h" #include "chrome/common/instant_types.h" #include "chrome/common/nacl_types.h" -#include "chrome/common/page_transition_types.h" -#include "chrome/common/page_zoom.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/thumbnail_score.h" #include "chrome/common/translate_errors.h" @@ -42,6 +40,8 @@ #include "content/common/common_param_traits.h" #include "content/common/geoposition.h" #include "content/common/notification_type.h" +#include "content/common/page_transition_types.h" +#include "content/common/page_zoom.h" #include "content/common/resource_response.h" #include "ipc/ipc_channel_handle.h" #include "ipc/ipc_message_macros.h" diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc index 02ac083..f0fa5ea 100644 --- a/chrome/common/render_messages_params.cc +++ b/chrome/common/render_messages_params.cc @@ -4,7 +4,6 @@ #include "chrome/common/render_messages_params.h" -#include "chrome/common/navigation_gesture.h" #include "chrome/common/common_param_traits.h" #include "chrome/common/extensions/extension_constants.h" #include "chrome/common/render_messages.h" diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h index d746be3..596f5d6 100644 --- a/chrome/common/render_messages_params.h +++ b/chrome/common/render_messages_params.h @@ -18,11 +18,11 @@ #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_extent.h" #include "chrome/common/extensions/url_pattern.h" -#include "chrome/common/navigation_gesture.h" -#include "chrome/common/navigation_types.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/renderer_preferences.h" #include "chrome/common/window_container_type.h" +#include "content/common/navigation_gesture.h" +#include "content/common/navigation_types.h" +#include "content/common/page_transition_types.h" #include "content/common/serialized_script_value.h" #include "googleurl/src/gurl.h" #include "ipc/ipc_param_traits.h" diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc index 0b98e2c..5d4f129 100644 --- a/chrome/installer/setup/uninstall.cc +++ b/chrome/installer/setup/uninstall.cc @@ -14,7 +14,6 @@ #include "base/win/registry.h" #include "base/win/scoped_handle.h" #include "base/win/windows_version.h" -#include "chrome/common/result_codes.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths_internal.h" #include "chrome/installer/setup/install.h" @@ -32,6 +31,7 @@ #include "chrome/installer/util/self_cleaning_temp_dir.h" #include "chrome/installer/util/shell_util.h" #include "chrome/installer/util/util_constants.h" +#include "content/common/result_codes.h" #include "rlz/win/lib/rlz_lib.h" // Build-time generated include file. diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index 1ced0a9..9f41a03 100644 --- a/chrome/installer/util/google_chrome_distribution.cc +++ b/chrome/installer/util/google_chrome_distribution.cc @@ -25,7 +25,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/json_value_serializer.h" #include "chrome/common/pref_names.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/channel_info.h" #include "chrome/installer/util/product.h" #include "chrome/installer/util/install_util.h" @@ -35,6 +34,7 @@ #include "chrome/installer/util/helper.h" #include "chrome/installer/util/util_constants.h" #include "chrome/installer/util/wmi.h" +#include "content/common/result_codes.h" #include "installer_util_strings.h" // NOLINT diff --git a/chrome/nacl/nacl_main.cc b/chrome/nacl/nacl_main.cc index cec7168..548f21f 100644 --- a/chrome/nacl/nacl_main.cc +++ b/chrome/nacl/nacl_main.cc @@ -14,13 +14,13 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/logging_chrome.h" -#include "chrome/common/result_codes.h" #include "chrome/common/sandbox_policy.h" #include "chrome/nacl/nacl_main_platform_delegate.h" #include "chrome/nacl/nacl_thread.h" #include "content/common/child_process.h" #include "content/common/hi_res_timer_manager.h" #include "content/common/main_function_params.h" +#include "content/common/result_codes.h" #include "ui/base/system_monitor/system_monitor.h" #if defined(OS_WIN) diff --git a/chrome/renderer/navigation_state.h b/chrome/renderer/navigation_state.h index e5071e9..8941542 100644 --- a/chrome/renderer/navigation_state.h +++ b/chrome/renderer/navigation_state.h @@ -12,7 +12,7 @@ #include "base/scoped_ptr.h" #include "base/time.h" #include "chrome/common/extensions/url_pattern.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 9452660..4a67e9f 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -33,7 +33,6 @@ #include "chrome/common/extensions/extension_set.h" #include "chrome/common/json_value_serializer.h" #include "chrome/common/jstemplate_builder.h" -#include "chrome/common/page_zoom.h" #include "chrome/common/pepper_plugin_registry.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" @@ -95,6 +94,7 @@ #include "content/common/file_system/file_system_dispatcher.h" #include "content/common/file_system/webfilesystem_callback_dispatcher.h" #include "content/common/notification_service.h" +#include "content/common/page_zoom.h" #include "content/common/pepper_messages.h" #include "content/renderer/audio_message_filter.h" #include "content/renderer/device_orientation_dispatcher.h" diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index d1c9395..df971f9 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -24,8 +24,6 @@ #include "build/build_config.h" #include "chrome/common/content_settings.h" #include "chrome/common/edit_command.h" -#include "chrome/common/navigation_gesture.h" -#include "chrome/common/page_zoom.h" #include "chrome/common/renderer_preferences.h" #include "chrome/common/view_types.h" #include "chrome/renderer/external_popup_menu.h" @@ -33,6 +31,8 @@ #include "chrome/renderer/pepper_plugin_delegate_impl.h" #include "chrome/renderer/render_widget.h" #include "chrome/renderer/renderer_webcookiejar_impl.h" +#include "content/common/navigation_gesture.h" +#include "content/common/page_zoom.h" #include "ipc/ipc_platform_file.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotification.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" diff --git a/chrome/renderer/render_view_browsertest.cc b/chrome/renderer/render_view_browsertest.cc index b446b39..a517601 100644 --- a/chrome/renderer/render_view_browsertest.cc +++ b/chrome/renderer/render_view_browsertest.cc @@ -10,12 +10,12 @@ #include "base/utf_string_conversions.h" #include "chrome/common/autofill_messages.h" #include "chrome/common/content_settings.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/renderer/autofill/autofill_agent.h" #include "chrome/renderer/print_web_view_helper.h" #include "chrome/test/render_view_test.h" +#include "content/common/native_web_keyboard_event.h" #include "net/base/net_errors.h" #include "printing/image.h" #include "printing/native_metafile.h" diff --git a/chrome/renderer/render_view_browsertest_mac.mm b/chrome/renderer/render_view_browsertest_mac.mm index 401e352..56fe589 100644 --- a/chrome/renderer/render_view_browsertest_mac.mm +++ b/chrome/renderer/render_view_browsertest_mac.mm @@ -3,9 +3,9 @@ // found in the LICENSE file. #include "base/string16.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "chrome/test/render_view_test.h" +#include "content/common/native_web_keyboard_event.h" #include "testing/gtest/include/gtest/gtest.h" #include <Cocoa/Cocoa.h> diff --git a/chrome/renderer/renderer_sandbox_support_linux.cc b/chrome/renderer/renderer_sandbox_support_linux.cc index c99d996..37f2b07 100644 --- a/chrome/renderer/renderer_sandbox_support_linux.cc +++ b/chrome/renderer/renderer_sandbox_support_linux.cc @@ -11,7 +11,7 @@ #include "base/pickle.h" #include "base/scoped_ptr.h" #include "chrome/common/chrome_descriptors.h" -#include "chrome/common/sandbox_methods_linux.h" +#include "content/common/sandbox_methods_linux.h" #include "content/common/unix_domain_socket_posix.h" #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontRenderStyle.h" diff --git a/chrome/service/service_child_process_host.cc b/chrome/service/service_child_process_host.cc index 472b18b..d8f7a8d 100644 --- a/chrome/service/service_child_process_host.cc +++ b/chrome/service/service_child_process_host.cc @@ -8,7 +8,7 @@ #include "base/logging.h" #include "base/process_util.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" #if defined(OS_WIN) #include "base/file_path.h" diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index 16690fb..47b64a8 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -20,11 +20,11 @@ #include "base/ref_counted.h" #include "chrome/browser/download/save_package.h" #include "chrome/common/automation_constants.h" -#include "chrome/common/page_type.h" #include "chrome/common/security_style.h" #include "chrome/test/automation/automation_handle_tracker.h" #include "chrome/test/automation/dom_element_proxy.h" #include "chrome/test/automation/javascript_execution_controller.h" +#include "content/common/page_type.h" #include "webkit/glue/window_open_disposition.h" class BrowserProxy; diff --git a/chrome/test/browser_with_test_window_test.cc b/chrome/test/browser_with_test_window_test.cc index dcea7a3..b115361 100644 --- a/chrome/test/browser_with_test_window_test.cc +++ b/chrome/test/browser_with_test_window_test.cc @@ -11,13 +11,13 @@ #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/ui/browser_navigator.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages.h" #include "chrome/test/testing_profile.h" #include "content/browser/tab_contents/navigation_controller.h" #include "content/browser/tab_contents/navigation_entry.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/common/content_client.h" +#include "content/common/page_transition_types.h" BrowserWithTestWindowTest::BrowserWithTestWindowTest() : ui_thread_(BrowserThread::UI, message_loop()), diff --git a/chrome/test/chrome_process_util.cc b/chrome/test/chrome_process_util.cc index 7de9908..52cb120 100644 --- a/chrome/test/chrome_process_util.cc +++ b/chrome/test/chrome_process_util.cc @@ -10,7 +10,7 @@ #include "base/process_util.h" #include "base/time.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" using base::TimeDelta; using base::TimeTicks; diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h index 051e027..8958945 100644 --- a/chrome/test/in_process_browser_test.h +++ b/chrome/test/in_process_browser_test.h @@ -10,7 +10,7 @@ #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/scoped_temp_dir.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "net/test/test_server.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc index 1a730f8..ca2bd39 100644 --- a/chrome/test/render_view_test.cc +++ b/chrome/test/render_view_test.cc @@ -6,7 +6,6 @@ #include "chrome/browser/extensions/extension_function_dispatcher.h" #include "chrome/common/extensions/extension.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/renderer_preferences.h" @@ -19,6 +18,7 @@ #include "chrome/renderer/mock_render_process.h" #include "chrome/renderer/renderer_main_platform_delegate.h" #include "content/common/dom_storage_common.h" +#include "content/common/native_web_keyboard_event.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" diff --git a/chrome/test/render_view_test.h b/chrome/test/render_view_test.h index c83a8d4..e641573 100644 --- a/chrome/test/render_view_test.h +++ b/chrome/test/render_view_test.h @@ -10,13 +10,13 @@ #include "base/command_line.h" #include "base/scoped_ptr.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/renderer/mock_keyboard.h" #include "chrome/renderer/mock_render_thread.h" #include "chrome/renderer/render_view.h" #include "chrome/renderer/renderer_main_platform_delegate.h" #include "chrome/renderer/renderer_webkitclient_impl.h" #include "content/common/main_function_params.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/sandbox_init_wrapper.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" diff --git a/chrome/test/test_location_bar.h b/chrome/test/test_location_bar.h index f3dc099..587d28f 100644 --- a/chrome/test/test_location_bar.h +++ b/chrome/test/test_location_bar.h @@ -8,7 +8,7 @@ #include "chrome/browser/first_run/first_run.h" #include "chrome/browser/ui/omnibox/location_bar.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "webkit/glue/window_open_disposition.h" class TestLocationBar : public LocationBar { diff --git a/chrome_frame/cfproxy.h b/chrome_frame/cfproxy.h index 6386738..ca3aa84 100644 --- a/chrome_frame/cfproxy.h +++ b/chrome_frame/cfproxy.h @@ -14,7 +14,7 @@ #include "base/time.h" // for base::TimeDelta #include "base/file_path.h" #include "chrome/common/automation_constants.h" -#include "chrome/common/page_zoom.h" +#include "content/common/page_zoom.h" #include "ipc/ipc_channel.h" enum FindInPageDirection { BACK = 0, FWD = 1 }; diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index 7cffc97..bccc255 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -35,8 +35,6 @@ #include "chrome/app/chrome_dll_resource.h" #include "chrome/common/automation_messages.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/navigation_types.h" -#include "chrome/common/page_zoom.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" #include "chrome_frame/bho.h" @@ -45,6 +43,8 @@ #include "chrome_frame/crash_reporting/crash_metrics.h" #include "chrome_frame/utils.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/navigation_types.h" +#include "content/common/page_zoom.h" DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, 0x46); diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h index 738b7c3..9c56602 100644 --- a/chrome_frame/chrome_frame_automation.h +++ b/chrome_frame/chrome_frame_automation.h @@ -18,13 +18,13 @@ #include "base/task.h" #include "base/threading/thread.h" #include "base/timer.h" -#include "chrome/common/page_zoom.h" #include "chrome/test/automation/automation_proxy.h" #include "chrome/test/automation/tab_proxy.h" #include "chrome_frame/chrome_frame_delegate.h" #include "chrome_frame/chrome_frame_histograms.h" #include "chrome_frame/plugin_url_request.h" #include "chrome_frame/sync_msg_reply_dispatcher.h" +#include "content/common/page_zoom.h" // By a convoluated route, this timeout also winds up being the sync automation // message timeout. See the ChromeFrameAutomationProxyImpl ctor and the diff --git a/chrome_frame/external_tab.h b/chrome_frame/external_tab.h index ac7aff3..15e9778 100644 --- a/chrome_frame/external_tab.h +++ b/chrome_frame/external_tab.h @@ -15,9 +15,9 @@ #include "base/scoped_ptr.h" #include "base/time.h" #include "chrome/common/automation_constants.h" -#include "chrome/common/page_zoom.h" #include "chrome_frame/cfproxy.h" #include "chrome_frame/task_marshaller.h" +#include "content/common/page_zoom.h" #include "googleurl/src/gurl.h" class Task; diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc index 5bc4265..4c3e816 100644 --- a/content/browser/browser_child_process_host.cc +++ b/content/browser/browser_child_process_host.cc @@ -18,13 +18,13 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths_internal.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/process_watcher.h" -#include "chrome/common/result_codes.h" #include "chrome/installer/util/google_update_settings.h" #include "content/browser/browser_thread.h" #include "content/browser/renderer_host/resource_message_filter.h" #include "content/common/notification_service.h" #include "content/common/plugin_messages.h" +#include "content/common/process_watcher.h" +#include "content/common/result_codes.h" #if defined(OS_LINUX) #include "base/linux_util.h" diff --git a/content/browser/browser_message_filter.cc b/content/browser/browser_message_filter.cc index e116153..eaf6d0d 100644 --- a/content/browser/browser_message_filter.cc +++ b/content/browser/browser_message_filter.cc @@ -8,7 +8,7 @@ #include "base/process.h" #include "base/process_util.h" #include "chrome/browser/metrics/user_metrics.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" BrowserMessageFilter::BrowserMessageFilter() : channel_(NULL), peer_handle_(base::kNullProcessHandle) { diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc index 9de4ccf..0cf79c2f 100644 --- a/content/browser/child_process_launcher.cc +++ b/content/browser/child_process_launcher.cc @@ -13,9 +13,9 @@ #include "base/threading/thread.h" #include "chrome/common/chrome_descriptors.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/process_watcher.h" -#include "chrome/common/result_codes.h" #include "content/browser/browser_thread.h" +#include "content/common/process_watcher.h" +#include "content/common/result_codes.h" #if defined(OS_WIN) #include "base/file_path.h" diff --git a/content/browser/child_process_security_policy_browsertest.cc b/content/browser/child_process_security_policy_browsertest.cc index f28001d..14d4b80 100644 --- a/content/browser/child_process_security_policy_browsertest.cc +++ b/content/browser/child_process_security_policy_browsertest.cc @@ -8,12 +8,12 @@ #include "base/file_path.h" #include "base/process_util.h" #include "chrome/browser/ui/browser.h" -#include "chrome/common/result_codes.h" #include "chrome/test/in_process_browser_test.h" #include "chrome/test/ui_test_utils.h" #include "content/browser/child_process_security_policy.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/tab_contents/tab_contents.h" +#include "content/common/result_codes.h" #include "testing/gtest/include/gtest/gtest.h" class ChildProcessSecurityPolicyInProcessBrowserTest diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc index 7581c4d7..deb89d9 100644 --- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc +++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc @@ -18,7 +18,7 @@ #include "content/browser/renderer_host/render_message_filter.h" #include "content/browser/renderer_host/render_view_host_notification_task.h" #include "content/common/indexed_db_messages.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" #include "googleurl/src/gurl.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" diff --git a/content/browser/renderer_host/database_message_filter.cc b/content/browser/renderer_host/database_message_filter.cc index de2e903..8b42c23 100644 --- a/content/browser/renderer_host/database_message_filter.cc +++ b/content/browser/renderer_host/database_message_filter.cc @@ -11,8 +11,8 @@ #include "chrome/browser/content_settings/host_content_settings_map.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/net/chrome_url_request_context.h" -#include "chrome/common/result_codes.h" #include "content/common/database_messages.h" +#include "content/common/result_codes.h" #include "googleurl/src/gurl.h" #include "third_party/sqlite/sqlite3.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc index 3fca5127..ee944c2 100644 --- a/content/browser/renderer_host/render_sandbox_host_linux.cc +++ b/content/browser/renderer_host/render_sandbox_host_linux.cc @@ -26,8 +26,8 @@ #include "base/singleton.h" #include "base/string_number_conversions.h" #include "base/string_util.h" -#include "chrome/common/sandbox_methods_linux.h" #include "content/common/font_config_ipc_linux.h" +#include "content/common/sandbox_methods_linux.h" #include "content/common/unix_domain_socket_posix.h" #include "skia/ext/SkFontHost_fontconfig_direct.h" #include "third_party/npapi/bindings/npapi_extensions.h" diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc index 6735ad7..3e0858f 100644 --- a/content/browser/renderer_host/render_view_host.cc +++ b/content/browser/renderer_host/render_view_host.cc @@ -24,11 +24,9 @@ #include "chrome/common/bindings_policy.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/net/url_request_context_getter.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" -#include "chrome/common/result_codes.h" #include "chrome/common/thumbnail_score.h" #include "chrome/common/translate_errors.h" #include "chrome/common/url_constants.h" @@ -41,9 +39,11 @@ #include "content/browser/renderer_host/render_widget_host.h" #include "content/browser/renderer_host/render_widget_host_view.h" #include "content/browser/site_instance.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_details.h" #include "content/common/notification_service.h" #include "content/common/notification_type.h" +#include "content/common/result_codes.h" #include "net/base/net_util.h" #include "third_party/skia/include/core/SkBitmap.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h index f32062b..d0a0aa9 100644 --- a/content/browser/renderer_host/render_view_host.h +++ b/content/browser/renderer_host/render_view_host.h @@ -13,12 +13,12 @@ #include "base/scoped_ptr.h" #include "chrome/browser/ui/find_bar/find_bar_controller.h" #include "chrome/common/content_settings_types.h" -#include "chrome/common/page_zoom.h" #include "chrome/common/render_view_commands.h" #include "chrome/common/translate_errors.h" #include "chrome/common/view_types.h" #include "chrome/common/window_container_type.h" #include "content/browser/renderer_host/render_widget_host.h" +#include "content/common/page_zoom.h" #include "net/base/load_states.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc index 83c52fd7..4cdd3da 100644 --- a/content/browser/renderer_host/render_view_host_unittest.cc +++ b/content/browser/renderer_host/render_view_host_unittest.cc @@ -2,12 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages.h" #include "content/browser/renderer_host/test_render_view_host.h" #include "content/browser/tab_contents/navigation_controller.h" #include "content/browser/tab_contents/navigation_entry.h" #include "content/browser/tab_contents/test_tab_contents.h" +#include "content/common/page_transition_types.h" class RenderViewHostTest : public RenderViewHostTestHarness { }; diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc index ae3e0d1..819a56c 100644 --- a/content/browser/renderer_host/render_widget_host.cc +++ b/content/browser/renderer_host/render_widget_host.cc @@ -11,16 +11,16 @@ #include "chrome/browser/accessibility/browser_accessibility_state.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/backing_store.h" #include "content/browser/renderer_host/backing_store_manager.h" #include "content/browser/renderer_host/render_process_host.h" #include "content/browser/renderer_host/render_widget_helper.h" #include "content/browser/renderer_host/render_widget_host_view.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/notification_service.h" +#include "content/common/result_codes.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderline.h" #include "ui/base/keycodes/keyboard_codes.h" #include "webkit/glue/webcursor.h" diff --git a/content/browser/renderer_host/render_widget_host.h b/content/browser/renderer_host/render_widget_host.h index 8be90128..61021c1 100644 --- a/content/browser/renderer_host/render_widget_host.h +++ b/content/browser/renderer_host/render_widget_host.h @@ -17,7 +17,7 @@ #include "base/string16.h" #include "base/timer.h" #include "chrome/common/edit_command.h" -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #include "content/common/property_bag.h" #include "ipc/ipc_channel.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h index 6e70731..01bd215 100644 --- a/content/browser/renderer_host/test_render_view_host.h +++ b/content/browser/renderer_host/test_render_view_host.h @@ -11,11 +11,11 @@ #include "base/message_loop.h" #include "build/build_config.h" #include "chrome/browser/chrome_content_browser_client.h" -#include "chrome/common/page_transition_types.h" #include "content/browser/renderer_host/mock_render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/render_view_host_factory.h" #include "content/browser/renderer_host/render_widget_host_view.h" +#include "content/common/page_transition_types.h" #include "testing/gtest/include/gtest/gtest.h" namespace gfx { diff --git a/content/browser/tab_contents/interstitial_page.cc b/content/browser/tab_contents/interstitial_page.cc index cedc485..59d5886 100644 --- a/content/browser/tab_contents/interstitial_page.cc +++ b/content/browser/tab_contents/interstitial_page.cc @@ -18,7 +18,6 @@ #include "chrome/browser/renderer_preferences_util.h" #include "chrome/common/bindings_policy.h" #include "chrome/common/net/url_request_context_getter.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages_params.h" #include "content/browser/browser_thread.h" #include "content/browser/renderer_host/render_process_host.h" @@ -33,6 +32,7 @@ #include "content/common/dom_storage_common.h" #include "content/common/notification_service.h" #include "content/common/notification_source.h" +#include "content/common/page_transition_types.h" #include "net/base/escape.h" #if defined(TOOLKIT_GTK) diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc index e30ac46..3c853dc 100644 --- a/content/browser/tab_contents/navigation_controller.cc +++ b/content/browser/tab_contents/navigation_controller.cc @@ -15,7 +15,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sessions/session_types.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/navigation_types.h" #include "chrome/common/pref_names.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/url_constants.h" @@ -25,6 +24,7 @@ #include "content/browser/tab_contents/navigation_entry.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_delegate.h" +#include "content/common/navigation_types.h" #include "content/common/notification_service.h" #include "grit/app_resources.h" #include "net/base/escape.h" diff --git a/content/browser/tab_contents/navigation_controller.h b/content/browser/tab_contents/navigation_controller.h index 8cc5267..86abd99 100644 --- a/content/browser/tab_contents/navigation_controller.h +++ b/content/browser/tab_contents/navigation_controller.h @@ -16,8 +16,8 @@ #include "googleurl/src/gurl.h" #include "chrome/browser/sessions/session_id.h" #include "chrome/browser/ssl/ssl_manager.h" -#include "chrome/common/navigation_types.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/navigation_types.h" +#include "content/common/page_transition_types.h" class NavigationEntry; class Profile; diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h index 84db5ef2..a9297b1 100644 --- a/content/browser/tab_contents/navigation_entry.h +++ b/content/browser/tab_contents/navigation_entry.h @@ -10,9 +10,9 @@ #include "base/basictypes.h" #include "base/ref_counted.h" -#include "chrome/common/page_type.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/security_style.h" +#include "content/common/page_transition_types.h" +#include "content/common/page_type.h" #include "googleurl/src/gurl.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/content/browser/tab_contents/page_navigator.h b/content/browser/tab_contents/page_navigator.h index e411c24..3cb3133 100644 --- a/content/browser/tab_contents/page_navigator.h +++ b/content/browser/tab_contents/page_navigator.h @@ -10,7 +10,7 @@ #define CONTENT_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_ #pragma once -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "webkit/glue/window_open_disposition.h" class GURL; diff --git a/content/browser/tab_contents/provisional_load_details.h b/content/browser/tab_contents/provisional_load_details.h index 092d186..81f9ad2 100644 --- a/content/browser/tab_contents/provisional_load_details.h +++ b/content/browser/tab_contents/provisional_load_details.h @@ -9,7 +9,7 @@ #include <string> #include "base/basictypes.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "googleurl/src/gurl.h" // This class captures some of the information associated to the provisional diff --git a/content/browser/tab_contents/render_view_host_manager_unittest.cc b/content/browser/tab_contents/render_view_host_manager_unittest.cc index 7dd45c5..728705f 100644 --- a/content/browser/tab_contents/render_view_host_manager_unittest.cc +++ b/content/browser/tab_contents/render_view_host_manager_unittest.cc @@ -3,7 +3,6 @@ // found in the LICENSE file. #include "chrome/browser/browser_url_handler.h" -#include "chrome/common/page_transition_types.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/url_constants.h" @@ -18,6 +17,7 @@ #include "content/browser/tab_contents/test_tab_contents.h" #include "content/common/notification_details.h" #include "content/common/notification_source.h" +#include "content/common/page_transition_types.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/glue/webkit_glue.h" diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 4285b95..be64ae1 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc @@ -66,7 +66,6 @@ #include "chrome/common/extensions/extension_icon_set.h" #include "chrome/common/extensions/extension_resource.h" #include "chrome/common/extensions/url_pattern.h" -#include "chrome/common/navigation_types.h" #include "chrome/common/net/url_request_context_getter.h" #include "chrome/common/pref_names.h" #include "chrome/common/render_messages.h" @@ -87,6 +86,7 @@ #include "content/browser/tab_contents/tab_contents_observer.h" #include "content/browser/tab_contents/tab_contents_view.h" #include "content/browser/webui/web_ui.h" +#include "content/common/navigation_types.h" #include "content/common/notification_service.h" #include "net/base/net_util.h" #include "net/base/registry_controlled_domain.h" diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h index a079198..42593a3 100644 --- a/content/browser/tab_contents/tab_contents_delegate.h +++ b/content/browser/tab_contents/tab_contents_delegate.h @@ -13,9 +13,9 @@ #include "chrome/browser/automation/automation_resource_routing_delegate.h" #include "chrome/common/content_settings_types.h" #include "chrome/common/instant_types.h" -#include "chrome/common/navigation_types.h" -#include "chrome/common/page_transition_types.h" #include "content/browser/tab_contents/navigation_entry.h" +#include "content/common/navigation_types.h" +#include "content/common/page_transition_types.h" #include "ui/gfx/native_widget_types.h" #include "webkit/glue/window_open_disposition.h" diff --git a/content/browser/tab_contents/test_tab_contents.cc b/content/browser/tab_contents/test_tab_contents.cc index b9a0c00..53a494c 100644 --- a/content/browser/tab_contents/test_tab_contents.cc +++ b/content/browser/tab_contents/test_tab_contents.cc @@ -8,13 +8,13 @@ #include "chrome/browser/browser_url_handler.h" #include "chrome/browser/tab_contents/infobar_delegate.h" -#include "chrome/common/page_transition_types.h" #include "content/browser/renderer_host/mock_render_process_host.h" #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/renderer_host/test_render_view_host.h" #include "content/browser/site_instance.h" #include "content/common/notification_details.h" #include "content/common/notification_source.h" +#include "content/common/page_transition_types.h" TestTabContents::TestTabContents(Profile* profile, SiteInstance* instance) : TabContents(profile, instance, MSG_ROUTING_NONE, NULL, NULL), diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h index 8dbabe5..2272b13 100644 --- a/content/browser/webui/web_ui.h +++ b/content/browser/webui/web_ui.h @@ -12,7 +12,7 @@ #include "base/callback.h" #include "base/string16.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" class DictionaryValue; class WebUIMessageHandler; diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc index 1737521..bc29bca 100644 --- a/content/browser/worker_host/worker_process_host.cc +++ b/content/browser/worker_host/worker_process_host.cc @@ -18,7 +18,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" -#include "chrome/common/result_codes.h" #include "content/browser/appcache/appcache_dispatcher_host.h" #include "content/browser/browser_thread.h" #include "content/browser/child_process_security_policy.h" @@ -35,6 +34,7 @@ #include "content/browser/worker_host/worker_message_filter.h" #include "content/browser/worker_host/worker_service.h" #include "content/common/debug_flags.h" +#include "content/common/result_codes.h" #include "content/common/worker_messages.h" #include "net/base/mime_util.h" #include "ipc/ipc_switches.h" diff --git a/content/browser/zygote_host_linux.cc b/content/browser/zygote_host_linux.cc index 1eee6f3..e64631c 100644 --- a/content/browser/zygote_host_linux.cc +++ b/content/browser/zygote_host_linux.cc @@ -23,9 +23,9 @@ #include "base/utf_string_conversions.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" -#include "chrome/common/process_watcher.h" -#include "chrome/common/result_codes.h" #include "content/browser/renderer_host/render_sandbox_host_linux.h" +#include "content/common/process_watcher.h" +#include "content/common/result_codes.h" #include "content/common/unix_domain_socket_posix.h" #include "sandbox/linux/suid/suid_unsafe_environment_variables.h" diff --git a/content/browser/zygote_main_linux.cc b/content/browser/zygote_main_linux.cc index b8fde82..ba6bcb1 100644 --- a/content/browser/zygote_main_linux.cc +++ b/content/browser/zygote_main_linux.cc @@ -39,12 +39,12 @@ #include "chrome/common/chrome_descriptors.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/pepper_plugin_registry.h" -#include "chrome/common/process_watcher.h" -#include "chrome/common/result_codes.h" -#include "chrome/common/sandbox_methods_linux.h" -#include "chrome/common/set_process_title.h" #include "content/common/font_config_ipc_linux.h" #include "content/common/main_function_params.h" +#include "content/common/process_watcher.h" +#include "content/common/result_codes.h" +#include "content/common/sandbox_methods_linux.h" +#include "content/common/set_process_title.h" #include "content/common/unix_domain_socket_posix.h" #include "media/base/media.h" #include "seccompsandbox/sandbox.h" diff --git a/chrome/common/common.sb b/content/common/common.sb index ec97f66..ec97f66 100644 --- a/chrome/common/common.sb +++ b/content/common/common.sb diff --git a/chrome/common/native_web_keyboard_event.h b/content/common/native_web_keyboard_event.h index f27aa78..08de652 100644 --- a/chrome/common/native_web_keyboard_event.h +++ b/content/common/native_web_keyboard_event.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ -#define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ +#ifndef CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ +#define CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ #pragma once #include "base/basictypes.h" @@ -68,4 +68,4 @@ struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { #endif }; -#endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ +#endif // CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ diff --git a/chrome/common/native_web_keyboard_event_linux.cc b/content/common/native_web_keyboard_event_linux.cc index 46fafd5..aebe7c4 100644 --- a/chrome/common/native_web_keyboard_event_linux.cc +++ b/content/common/native_web_keyboard_event_linux.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #include <gdk/gdk.h> diff --git a/chrome/common/native_web_keyboard_event_mac.mm b/content/common/native_web_keyboard_event_mac.mm index 1fe53ae..0961753 100644 --- a/chrome/common/native_web_keyboard_event_mac.mm +++ b/content/common/native_web_keyboard_event_mac.mm @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #import <AppKit/AppKit.h> diff --git a/chrome/common/native_web_keyboard_event_win.cc b/content/common/native_web_keyboard_event_win.cc index 3f03d28..1cb04e6 100644 --- a/chrome/common/native_web_keyboard_event_win.cc +++ b/content/common/native_web_keyboard_event_win.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/native_web_keyboard_event.h" +#include "content/common/native_web_keyboard_event.h" #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFactory.h" diff --git a/chrome/common/navigation_gesture.h b/content/common/navigation_gesture.h index 729f4d2..64ba5ed 100644 --- a/chrome/common/navigation_gesture.h +++ b/content/common/navigation_gesture.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_NAVIGATION_GESTURE_H_ -#define CHROME_COMMON_NAVIGATION_GESTURE_H_ +#ifndef CONTENT_COMMON_NAVIGATION_GESTURE_H_ +#define CONTENT_COMMON_NAVIGATION_GESTURE_H_ #pragma once enum NavigationGesture { @@ -17,4 +17,4 @@ enum NavigationGesture { NavigationGestureUnknown, }; -#endif // CHROME_COMMON_NAVIGATION_GESTURE_H_ +#endif // CONTENT_COMMON_NAVIGATION_GESTURE_H_ diff --git a/chrome/common/navigation_types.h b/content/common/navigation_types.h index 39c2a98..bff569d 100644 --- a/chrome/common/navigation_types.h +++ b/content/common/navigation_types.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_NAVIGATION_TYPES_H_ -#define CHROME_COMMON_NAVIGATION_TYPES_H_ +#ifndef CONTENT_COMMON_NAVIGATION_TYPES_H_ +#define CONTENT_COMMON_NAVIGATION_TYPES_H_ #pragma once #include "base/basictypes.h" @@ -64,4 +64,4 @@ class NavigationType { DISALLOW_COPY_AND_ASSIGN(NavigationType); }; -#endif // CHROME_COMMON_NAVIGATION_TYPES_H_ +#endif // CONTENT_COMMON_NAVIGATION_TYPES_H_ diff --git a/chrome/common/page_transition_types.cc b/content/common/page_transition_types.cc index bf686f9..8b7843b 100644 --- a/chrome/common/page_transition_types.cc +++ b/content/common/page_transition_types.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "base/logging.h" diff --git a/chrome/common/page_transition_types.h b/content/common/page_transition_types.h index d764fe9..5295d5e 100644 --- a/chrome/common/page_transition_types.h +++ b/content/common/page_transition_types.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ -#define CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ +#ifndef CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_ +#define CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_ #pragma once #include "base/basictypes.h" @@ -162,4 +162,4 @@ class PageTransition { static const char* CoreTransitionString(Type type); }; -#endif // CHROME_COMMON_PAGE_TRANSITION_TYPES_H__ +#endif // CONTENT_COMMON_PAGE_TRANSITION_TYPES_H_ diff --git a/chrome/common/page_type.h b/content/common/page_type.h index 2a2bd1a..85a2592 100644 --- a/chrome/common/page_type.h +++ b/content/common/page_type.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_PAGE_TYPE_H_ -#define CHROME_COMMON_PAGE_TYPE_H_ +#ifndef CONTENT_COMMON_PAGE_TYPE_H_ +#define CONTENT_COMMON_PAGE_TYPE_H_ #pragma once // The type of the page an entry corresponds to. Used by chrome_frame and the @@ -14,4 +14,4 @@ enum PageType { INTERSTITIAL_PAGE }; -#endif // CHROME_COMMON_PAGE_TYPE_H_ +#endif // CONTENT_COMMON_PAGE_TYPE_H_ diff --git a/chrome/common/page_zoom.h b/content/common/page_zoom.h index 25fd3886..d4606c0 100644 --- a/chrome/common/page_zoom.h +++ b/content/common/page_zoom.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_PAGE_ZOOM_H_ -#define CHROME_COMMON_PAGE_ZOOM_H_ +#ifndef CONTENT_COMMON_PAGE_ZOOM_H_ +#define CONTENT_COMMON_PAGE_ZOOM_H_ #pragma once #include "base/basictypes.h" @@ -22,4 +22,4 @@ class PageZoom { DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); }; -#endif // CHROME_COMMON_PAGE_ZOOM_H_ +#endif // CONTENT_COMMON_PAGE_ZOOM_H_ diff --git a/chrome/common/process_watcher.h b/content/common/process_watcher.h index 54550aa..2a134be 100644 --- a/chrome/common/process_watcher.h +++ b/content/common/process_watcher.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_PROCESS_WATCHER_H_ -#define CHROME_COMMON_PROCESS_WATCHER_H_ +#ifndef CONTENT_COMMON_PROCESS_WATCHER_H_ +#define CONTENT_COMMON_PROCESS_WATCHER_H_ #pragma once #include "build/build_config.h" @@ -42,4 +42,4 @@ class ProcessWatcher { DISALLOW_COPY_AND_ASSIGN(ProcessWatcher); }; -#endif // CHROME_COMMON_PROCESS_WATCHER_H_ +#endif // CONTENT_COMMON_PROCESS_WATCHER_H_ diff --git a/chrome/common/process_watcher_mac.cc b/content/common/process_watcher_mac.cc index 2702fa7..5db9903 100644 --- a/chrome/common/process_watcher_mac.cc +++ b/content/common/process_watcher_mac.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #include <errno.h> #include <signal.h> diff --git a/chrome/common/process_watcher_posix.cc b/content/common/process_watcher_posix.cc index 38a4e1b..85f8ace 100644 --- a/chrome/common/process_watcher_posix.cc +++ b/content/common/process_watcher_posix.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #include <errno.h> #include <signal.h> diff --git a/chrome/common/process_watcher_unittest.cc b/content/common/process_watcher_unittest.cc index 9bde1ac..260075b 100644 --- a/chrome/common/process_watcher_unittest.cc +++ b/content/common/process_watcher_unittest.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #if defined(OS_POSIX) #include <sys/wait.h> diff --git a/chrome/common/process_watcher_win.cc b/content/common/process_watcher_win.cc index 3378960..c1ccbf8 100644 --- a/chrome/common/process_watcher_win.cc +++ b/content/common/process_watcher_win.cc @@ -2,14 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/process_watcher.h" +#include "content/common/process_watcher.h" #include "base/scoped_ptr.h" -#include "base/environment.h" #include "base/message_loop.h" #include "base/win/object_watcher.h" -#include "chrome/common/env_vars.h" -#include "chrome/common/result_codes.h" +#include "content/common/result_codes.h" // Maximum amount of time (in milliseconds) to wait for the process to exit. static const int kWaitInterval = 2000; @@ -50,16 +48,6 @@ class TimerExpiredTask : public Task, private: void KillProcess() { - scoped_ptr<base::Environment> env(base::Environment::Create()); - if (env->HasVar(env_vars::kHeadless)) { - // If running the distributed tests, give the renderer a little time - // to figure out that the channel is shutdown and unwind. - if (WaitForSingleObject(process_, kWaitInterval) == WAIT_OBJECT_0) { - OnObjectSignaled(process_); - return; - } - } - // OK, time to get frisky. We don't actually care when the process // terminates. We just care that it eventually terminates, and that's what // TerminateProcess should do for us. Don't check for the result code since diff --git a/chrome/common/result_codes.h b/content/common/result_codes.h index ae842bb..fe6eb72 100644 --- a/chrome/common/result_codes.h +++ b/content/common/result_codes.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_RESULT_CODES_H_ -#define CHROME_COMMON_RESULT_CODES_H_ +#ifndef CONTENT_COMMON_RESULT_CODES_H_ +#define CONTENT_COMMON_RESULT_CODES_H_ #pragma once #include "base/process_util.h" @@ -64,4 +64,4 @@ class ResultCodes { }; }; -#endif // CHROME_COMMON_RESULT_CODES_H_ +#endif // CONTENT_COMMON_RESULT_CODES_H_ diff --git a/chrome/common/sandbox_methods_linux.h b/content/common/sandbox_methods_linux.h index 08cb00b..02287f6d 100644 --- a/chrome/common/sandbox_methods_linux.h +++ b/content/common/sandbox_methods_linux.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ -#define CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ +#ifndef CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ +#define CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ #pragma once // This is a list of sandbox IPC methods which the renderer may send to the @@ -22,4 +22,4 @@ class LinuxSandbox { }; }; -#endif // CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ +#endif // CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ diff --git a/chrome/common/set_process_title.cc b/content/common/set_process_title.cc index 2a772db..3602e94 100644 --- a/chrome/common/set_process_title.cc +++ b/content/common/set_process_title.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/common/set_process_title.h" +#include "content/common/set_process_title.h" #include "base/command_line.h" #include "base/file_path.h" @@ -20,7 +20,7 @@ #include <sys/prctl.h> // Linux/glibc doesn't natively have setproctitle(). -#include "chrome/common/set_process_title_linux.h" +#include "content/common/set_process_title_linux.h" #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) diff --git a/chrome/common/set_process_title.h b/content/common/set_process_title.h index 95defe8..8c689c6 100644 --- a/chrome/common/set_process_title.h +++ b/content/common/set_process_title.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_SET_PROCESS_TITLE_H_ -#define CHROME_COMMON_SET_PROCESS_TITLE_H_ +#ifndef CONTENT_COMMON_SET_PROCESS_TITLE_H_ +#define CONTENT_COMMON_SET_PROCESS_TITLE_H_ // Sets OS-specific process title information based on the command line. This // does nothing if the OS doesn't support or need this capability. @@ -21,5 +21,4 @@ // will try to fix it so the "effective" command line shows up instead. void SetProcessTitleFromCommandLine(char** main_argv); -#endif // CHROME_COMMON_SET_PROCESS_TITLE_H_ - +#endif // CONTENT_COMMON_SET_PROCESS_TITLE_H_ diff --git a/chrome/common/set_process_title_linux.cc b/content/common/set_process_title_linux.cc index 837eb2a..ada0552 100644 --- a/chrome/common/set_process_title_linux.cc +++ b/content/common/set_process_title_linux.cc @@ -37,7 +37,7 @@ // this position within the glibc project, leaving applications caught in the // middle. (Also, only a very few applications need or want this anyway.) -#include "chrome/common/set_process_title_linux.h" +#include "content/common/set_process_title_linux.h" #include <stdarg.h> #include <stdint.h> diff --git a/chrome/common/set_process_title_linux.h b/content/common/set_process_title_linux.h index 92fbf70..a33dfe3 100644 --- a/chrome/common/set_process_title_linux.h +++ b/content/common/set_process_title_linux.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_SET_PROCESS_TITLE_LINUX_H_ -#define CHROME_COMMON_SET_PROCESS_TITLE_LINUX_H_ +#ifndef CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_ +#define CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_ #pragma once // Set the process title that will show in "ps" and similar tools. Takes @@ -20,4 +20,4 @@ void setproctitle(const char* fmt, ...); // from main() to setproctitle_init() before calling setproctitle(). void setproctitle_init(char** main_argv); -#endif // CHROME_COMMON_SET_PROCESS_TITLE_LINUX_H_ +#endif // CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_ diff --git a/content/content_common.gypi b/content/content_common.gypi index f35ba7e..93ccbcc 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -97,6 +97,12 @@ 'common/message_router.h', 'common/mime_registry_messages.h', 'common/mru_cache.h', + 'common/native_web_keyboard_event.h', + 'common/native_web_keyboard_event_linux.cc', + 'common/native_web_keyboard_event_mac.mm', + 'common/native_web_keyboard_event_win.cc', + 'common/navigation_gesture.h', + 'common/navigation_types.h', 'common/notification_details.cc', 'common/notification_details.h', 'common/notification_observer.h', @@ -109,6 +115,10 @@ 'common/notification_type.h', 'common/p2p_messages.h', 'common/p2p_sockets.h', + 'common/page_transition_types.cc', + 'common/page_transition_types.h', + 'common/page_type.h', + 'common/page_zoom.h', 'common/pepper_file_messages.cc', 'common/pepper_file_messages.h', 'common/pepper_messages.cc', @@ -116,6 +126,10 @@ 'common/plugin_carbon_interpose_constants_mac.cc', 'common/plugin_carbon_interpose_constants_mac.h', 'common/plugin_messages.h', + 'common/process_watcher.h', + 'common/process_watcher_mac.cc', + 'common/process_watcher_posix.cc', + 'common/process_watcher_win.cc', 'common/property_bag.cc', 'common/property_bag.h', 'common/resource_dispatcher.cc', @@ -129,10 +143,15 @@ 'common/sandbox_init_wrapper_win.cc', 'common/sandbox_mac.h', 'common/sandbox_mac.mm', + 'common/sandbox_methods_linux.h', 'common/section_util_win.cc', 'common/section_util_win.h', 'common/serialized_script_value.cc', 'common/serialized_script_value.h', + 'common/set_process_title.cc', + 'common/set_process_title.h', + 'common/set_process_title_linux.cc', + 'common/set_process_title_linux.h', 'common/socket_stream.h', 'common/socket_stream_dispatcher.cc', 'common/socket_stream_dispatcher.h', @@ -154,6 +173,21 @@ ['OS=="win"', { 'msvs_guid': '062E9260-304A-4657-A74C-0D3AA1A0A0A4', }], + ['OS=="mac"', { + 'sources!': [ + 'common/process_watcher_posix.cc', + ], + 'link_settings': { + 'mac_bundle_resources': [ + 'common/common.sb', + ], + }, + }], + ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + 'dependencies': [ + '../build/linux/system.gyp:gtk', + ], + }], ], }, ], diff --git a/webkit/tools/DEPS b/webkit/tools/DEPS index 0ed195a..df7a50a 100644 --- a/webkit/tools/DEPS +++ b/webkit/tools/DEPS @@ -1,5 +1,5 @@ include_rules = [ - "+chrome/common", + "+content/common", "+media", "+skia/ext", ] diff --git a/webkit/tools/test_shell/test_webview_delegate_gtk.cc b/webkit/tools/test_shell/test_webview_delegate_gtk.cc index 42372f3..71fe60e 100644 --- a/webkit/tools/test_shell/test_webview_delegate_gtk.cc +++ b/webkit/tools/test_shell/test_webview_delegate_gtk.cc @@ -12,7 +12,7 @@ #include "base/message_loop.h" #include "base/utf_string_conversions.h" #include "net/base/net_errors.h" -#include "chrome/common/page_transition_types.h" +#include "content/common/page_transition_types.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |