Skip to content

Commit

Permalink
Revert "Add support for user on exit strategy. (#4757)"
Browse files Browse the repository at this point in the history
This reverts commit a89811c.
  • Loading branch information
yell0wd0g authored Feb 6, 2025
1 parent 6d680b8 commit a19cd5e
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 412 deletions.
2 changes: 0 additions & 2 deletions cobalt/build/testing/targets/linux-x64x11/test_targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"base:base_unittests",
"cc:cc_perftests",
"cc:cc_unittests",
"cobalt/renderer:renderer_browsertests",
"components/viz:viz_perftests",
"components/viz:viz_unittests",
"crypto:crypto_unittests",
Expand Down Expand Up @@ -57,7 +56,6 @@
"out/linux-x64x11_devel/ozone_unittests",
"out/linux-x64x11_devel/ppapi_perftests",
"out/linux-x64x11_devel/ppapi_unittests",
"out/linux-x64x11_devel/renderer_browsertests",
"out/linux-x64x11_devel/service_manager_unittests",
"out/linux-x64x11_devel/skia_unittests",
"out/linux-x64x11_devel/sql_unittests",
Expand Down
24 changes: 0 additions & 24 deletions cobalt/configuration/BUILD.gn

This file was deleted.

42 changes: 0 additions & 42 deletions cobalt/configuration/configuration.cc

This file was deleted.

80 changes: 0 additions & 80 deletions cobalt/configuration/configuration.h

This file was deleted.

3 changes: 0 additions & 3 deletions cobalt/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ RUN apt-get update && apt-get install -y \
libnss3 \
gperf \
libdbus-1-3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcairo2-dev \
libxcomposite1 \
libxdamage1 \
libxext6 \
Expand Down
24 changes: 0 additions & 24 deletions cobalt/renderer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import("//testing/test.gni")

source_set("renderer") {
sources = [
"cobalt_content_renderer_client.cc",
"cobalt_content_renderer_client.h",
"cobalt_render_frame_observer.cc",
"cobalt_render_frame_observer.h",
]

deps = [
"//cobalt/configuration",
"//cobalt/media/audio:webaudio",
"//components/cdm/renderer",
"//components/js_injection/renderer:renderer",
Expand All @@ -32,27 +27,8 @@ source_set("renderer") {
"//content/public/common",
"//content/public/renderer",
"//content/test:content_test_mojo_bindings",
"//gin",
"//media/mojo:buildflags",
"//starboard:starboard_headers_only",
"//v8",
]
}

test("renderer_browsertests") {
sources = [ "cobalt_render_frame_observer_browsertest.cc" ]

deps = [
":renderer",
"//cobalt/configuration",
"//content/public/browser",
"//content/shell:content_shell_lib",
"//content/test:browsertest_support",
"//content/test:test_support",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//third_party/abseil-cpp:absl",
"//v8",
]
}
3 changes: 0 additions & 3 deletions cobalt/renderer/cobalt_content_renderer_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <string>

#include "cobalt/renderer/cobalt_render_frame_observer.h"
#include "components/cdm/renderer/widevine_key_system_info.h"
#include "starboard/media.h"

Expand Down Expand Up @@ -141,8 +140,6 @@ void CobaltContentRendererClient::RunScriptsAtDocumentStart(
js_injection::JsCommunication* communication =
js_injection::JsCommunication::Get(render_frame);
communication->RunScriptsAtDocumentStart();
// CobaltRenderFrameObserver::OnDestruct deletes this.
new CobaltRenderFrameObserver(render_frame);
}

} // namespace cobalt
136 changes: 0 additions & 136 deletions cobalt/renderer/cobalt_render_frame_observer.cc

This file was deleted.

Loading

0 comments on commit a19cd5e

Please sign in to comment.