summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-21 13:17:45 +0000
committerbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-21 13:17:45 +0000
commitf7752782bffc044e83e542b588be43ad586f8904 (patch)
tree434af54b4399be791997adf39b03edd3ae318fd5 /chrome
parent089d1865ae298680c1e34120747d391f62482bb9 (diff)
downloadchromium_src-f7752782bffc044e83e542b588be43ad586f8904.zip
chromium_src-f7752782bffc044e83e542b588be43ad586f8904.tar.gz
chromium_src-f7752782bffc044e83e542b588be43ad586f8904.tar.bz2
Move app/app_switches to ui/gfx/gl/gl_switches.
This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/chrome_main.cc1
-rw-r--r--chrome/browser/browser_main_mac.mm3
-rw-r--r--chrome/browser/chromeos/login/login_utils.cc2
-rw-r--r--chrome/browser/first_run/first_run_gtk.cc1
-rw-r--r--chrome/browser/gpu_data_manager.cc2
-rw-r--r--chrome/browser/prefs/command_line_pref_store.cc1
-rw-r--r--chrome/browser/prefs/command_line_pref_store_unittest.cc1
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc2
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_mac.mm2
-rw-r--r--chrome/browser/utility_process_host.cc3
-rw-r--r--chrome/common/chrome_switches.h6
-rw-r--r--chrome/common/common_glue.cc3
-rw-r--r--chrome/renderer/devtools_client.cc3
-rw-r--r--chrome/service/service_utility_process_host.cc1
-rw-r--r--chrome/test/automation/automation_proxy_uitest.cc1
-rw-r--r--chrome/test/gpu/gpu_pixel_browsertest.cc4
-rw-r--r--chrome/test/test_launcher_utils.cc4
-rw-r--r--chrome/test/ui/ui_test.cc2
-rw-r--r--chrome/utility/utility_main.cc3
19 files changed, 17 insertions, 28 deletions
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index ee6cc6b..4672587 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -5,7 +5,6 @@
#include "chrome/app/chrome_main.h"
#include "app/app_paths.h"
-#include "app/app_switches.h"
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm
index 5bee90a..635ba42 100644
--- a/chrome/browser/browser_main_mac.mm
+++ b/chrome/browser/browser_main_mac.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,7 +6,6 @@
#import <Cocoa/Cocoa.h>
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "base/file_path.h"
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
index 04fb5c5..7f0a353 100644
--- a/chrome/browser/chromeos/login/login_utils.cc
+++ b/chrome/browser/chromeos/login/login_utils.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
@@ -58,6 +57,7 @@
#include "net/proxy/proxy_config_service.h"
#include "net/url_request/url_request_context.h"
#include "views/widget/widget_gtk.h"
+#include "ui/gfx/gl/gl_switches.h"
namespace chromeos {
diff --git a/chrome/browser/first_run/first_run_gtk.cc b/chrome/browser/first_run/first_run_gtk.cc
index a29ed26..913444c 100644
--- a/chrome/browser/first_run/first_run_gtk.cc
+++ b/chrome/browser/first_run/first_run_gtk.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/first_run/first_run.h"
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
diff --git a/chrome/browser/gpu_data_manager.cc b/chrome/browser/gpu_data_manager.cc
index 576ed4b..d62434a 100644
--- a/chrome/browser/gpu_data_manager.cc
+++ b/chrome/browser/gpu_data_manager.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/gpu_data_manager.h"
-#include "app/app_switches.h"
#include "app/gfx/gl/gl_implementation.h"
#include "base/command_line.h"
#include "base/logging.h"
@@ -19,6 +18,7 @@
#include "content/gpu/gpu_info_collector.h"
#include "grit/browser_resources.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/gfx/gl/gl_switches.h"
GpuDataManager::GpuDataManager()
: complete_gpu_info_already_requested_(false),
diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc
index 97e0d39..4bdf7c4 100644
--- a/chrome/browser/prefs/command_line_pref_store.cc
+++ b/chrome/browser/prefs/command_line_pref_store.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/prefs/command_line_pref_store.h"
-#include "app/app_switches.h"
#include "base/logging.h"
#include "base/values.h"
#include "chrome/browser/prefs/proxy_config_dictionary.h"
diff --git a/chrome/browser/prefs/command_line_pref_store_unittest.cc b/chrome/browser/prefs/command_line_pref_store_unittest.cc
index edc88d9..28c35d19 100644
--- a/chrome/browser/prefs/command_line_pref_store_unittest.cc
+++ b/chrome/browser/prefs/command_line_pref_store_unittest.cc
@@ -4,7 +4,6 @@
#include <gtest/gtest.h>
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/ref_counted.h"
#include "base/string_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 d0ae0a4..34956bc 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -15,7 +15,6 @@
#include <utility> // for pair<>
#endif
-#include "app/app_switches.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/logging.h"
@@ -102,6 +101,7 @@
#include "ipc/ipc_switches.h"
#include "media/base/media_switches.h"
#include "ui/base/ui_base_switches.h"
+#include "ui/gfx/gl/gl_switches.h"
#include "webkit/fileapi/file_system_path_manager.h"
#include "webkit/glue/resource_type.h"
#include "webkit/plugins/plugin_switches.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 ff66a62..ab57067 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm
@@ -6,7 +6,6 @@
#include "chrome/browser/renderer_host/render_widget_host_view_mac.h"
-#include "app/app_switches.h"
#include "app/surface/io_surface_support_mac.h"
#include "base/command_line.h"
#include "base/logging.h"
@@ -42,6 +41,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebInputEventFactory.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
+#include "ui/gfx/gl/gl_switches.h"
#include "webkit/glue/webaccessibility.h"
#include "webkit/plugins/npapi/webplugin.h"
diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc
index 9f0d37f..0ad3150e 100644
--- a/chrome/browser/utility_process_host.cc
+++ b/chrome/browser/utility_process_host.cc
@@ -1,10 +1,9 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/utility_process_host.h"
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/message_loop.h"
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 894aad6..178300c 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -16,9 +16,9 @@
namespace switches {
// -----------------------------------------------------------------------------
-// Can't find the switch you are looking for? Try looking in app/app_switches.cc
-// or base/base_switches.cc or content/common/content_switches.cc or
-// media/base/media_switches.cc instead.
+// Can't find the switch you are looking for? Try looking in
+// ui/gfx/gl/gl_switches.cc or base/base_switches.cc or
+// content/common/content_switches.cc or media/base/media_switches.cc instead.
// -----------------------------------------------------------------------------
// All switches in alphabetical order. The switches should be documented
diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc
index 09bbbfe..d02a9c8 100644
--- a/chrome/common/common_glue.cc
+++ b/chrome/common/common_glue.cc
@@ -1,8 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/path_service.h"
#include "base/string16.h"
diff --git a/chrome/renderer/devtools_client.cc b/chrome/renderer/devtools_client.cc
index 4352098..e77fe66 100644
--- a/chrome/renderer/devtools_client.cc
+++ b/chrome/renderer/devtools_client.cc
@@ -1,10 +1,9 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/devtools_client.h"
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/chrome_switches.h"
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index b0a0add..31f8b0e 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -4,7 +4,6 @@
#include "chrome/service/service_utility_process_host.h"
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/message_loop.h"
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index 7b34f3a..e2b5c7a 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -4,7 +4,6 @@
#include <string>
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/file_path.h"
diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc
index 0808c2c..1afa3a6 100644
--- a/chrome/test/gpu/gpu_pixel_browsertest.cc
+++ b/chrome/test/gpu/gpu_pixel_browsertest.cc
@@ -1,11 +1,10 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include <vector>
-#include "app/app_switches.h"
#include "app/gfx/gl/gl_implementation.h"
#include "base/callback.h"
#include "base/command_line.h"
@@ -32,6 +31,7 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/codec/png_codec.h"
+#include "ui/gfx/gl/gl_switches.h"
#include "ui/gfx/size.h"
namespace {
diff --git a/chrome/test/test_launcher_utils.cc b/chrome/test/test_launcher_utils.cc
index 237b9c6..1d37a13 100644
--- a/chrome/test/test_launcher_utils.cc
+++ b/chrome/test/test_launcher_utils.cc
@@ -1,8 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/environment.h"
#include "base/logging.h"
@@ -12,6 +11,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/test_launcher_utils.h"
+#include "ui/gfx/gl/gl_switches.h"
namespace {
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 83c41f4..98e6bec 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -12,7 +12,6 @@
#include <set>
#include <vector>
-#include "app/app_switches.h"
#include "app/gfx/gl/gl_implementation.h"
#include "app/sql/connection.h"
#include "base/base_switches.h"
@@ -51,6 +50,7 @@
#include "content/common/debug_flags.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
+#include "ui/gfx/gl/gl_switches.h"
#if defined(OS_WIN)
#include "base/win/windows_version.h"
diff --git a/chrome/utility/utility_main.cc b/chrome/utility/utility_main.cc
index ccf3bd5..f18368b 100644
--- a/chrome/utility/utility_main.cc
+++ b/chrome/utility/utility_main.cc
@@ -1,8 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/message_loop.h"