diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 14:24:29 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 14:24:29 +0000 |
commit | 416e80ed9eac4e02a60bcc4353fb98aa249e6924 (patch) | |
tree | f69a9f4b017dbfd9a8c2abeefd1456c00219ed66 /android_webview | |
parent | 13b8859e63063041144b1372f80d59c9ecea32ee (diff) | |
download | chromium_src-416e80ed9eac4e02a60bcc4353fb98aa249e6924.zip chromium_src-416e80ed9eac4e02a60bcc4353fb98aa249e6924.tar.gz chromium_src-416e80ed9eac4e02a60bcc4353fb98aa249e6924.tar.bz2 |
aw: Remove aw_switches
The last switch kEnableAccelerated2dCanvas is no longer needed. So
remove the whole file.
BUG=239864
NOTRY=true
Review URL: https://codereview.chromium.org/208143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/android_webview.gyp | 2 | ||||
-rw-r--r-- | android_webview/browser/hardware_renderer.cc | 1 | ||||
-rw-r--r-- | android_webview/browser/net/aw_url_request_context_getter.cc | 1 | ||||
-rw-r--r-- | android_webview/browser/renderer_host/aw_render_view_host_ext.cc | 1 | ||||
-rw-r--r-- | android_webview/common/aw_switches.cc | 11 | ||||
-rw-r--r-- | android_webview/common/aw_switches.h | 16 | ||||
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 1 |
7 files changed, 0 insertions, 33 deletions
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp index 478eb92..f6de69f 100644 --- a/android_webview/android_webview.gyp +++ b/android_webview/android_webview.gyp @@ -197,8 +197,6 @@ 'common/aw_hit_test_data.cc', 'common/aw_hit_test_data.h', 'common/aw_resource.h', - 'common/aw_switches.cc', - 'common/aw_switches.h', 'common/devtools_instrumentation.h', 'common/print_messages.cc', 'common/print_messages.h', diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc index 083ace7..1352825 100644 --- a/android_webview/browser/hardware_renderer.cc +++ b/android_webview/browser/hardware_renderer.cc @@ -8,7 +8,6 @@ #include "android_webview/browser/browser_view_renderer_client.h" #include "android_webview/browser/gl_view_renderer_manager.h" #include "android_webview/browser/scoped_app_gl_state_restore.h" -#include "android_webview/common/aw_switches.h" #include "android_webview/public/browser/draw_gl.h" #include "base/command_line.h" #include "base/debug/trace_event.h" diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc index 38c70a2..a6bd025 100644 --- a/android_webview/browser/net/aw_url_request_context_getter.cc +++ b/android_webview/browser/net/aw_url_request_context_getter.cc @@ -12,7 +12,6 @@ #include "android_webview/browser/net/aw_url_request_job_factory.h" #include "android_webview/browser/net/init_native_callback.h" #include "android_webview/common/aw_content_client.h" -#include "android_webview/common/aw_switches.h" #include "base/command_line.h" #include "base/strings/string_number_conversions.h" #include "base/threading/sequenced_worker_pool.h" diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc index 8efdf04..ccd511f 100644 --- a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc +++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc @@ -6,7 +6,6 @@ #include "android_webview/browser/aw_browser_context.h" #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h" -#include "android_webview/common/aw_switches.h" #include "android_webview/common/render_view_messages.h" #include "base/android/scoped_java_ref.h" #include "base/callback.h" diff --git a/android_webview/common/aw_switches.cc b/android_webview/common/aw_switches.cc deleted file mode 100644 index 6b9b2fd5..0000000 --- a/android_webview/common/aw_switches.cc +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2013 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 "android_webview/common/aw_switches.h" - -namespace switches { - -const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; - -} // namespace switches diff --git a/android_webview/common/aw_switches.h b/android_webview/common/aw_switches.h deleted file mode 100644 index 5111a08..0000000 --- a/android_webview/common/aw_switches.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2013 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. - -#ifndef ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ -#define ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ - -namespace switches { - -// Explicitly enable accelerated 2d canvas. -// TODO(boliu): Remove this switch once on by default. -extern const char kEnableAccelerated2dCanvas[]; - -} // namespace switches - -#endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index a9573a1..967fea3 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -8,7 +8,6 @@ #include "android_webview/browser/gpu_memory_buffer_factory_impl.h" #include "android_webview/browser/hardware_renderer.h" #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h" -#include "android_webview/common/aw_switches.h" #include "android_webview/lib/aw_browser_dependency_factory_impl.h" #include "android_webview/native/aw_geolocation_permission_context.h" #include "android_webview/native/aw_quota_manager_bridge_impl.h" |