Commit 8771ba55 authored by Wez's avatar Wez Committed by Commit Bot

[fuchsia] Clean up unused WebEngineScreen an EXPORT macro.

- Remove the unused WebEngineScreen stub.
- Remove an errant BASE_EXPORT macro on cr_fuchsia::AgentManager.

Change-Id: I5546c78b9428b56a707fa1b059fb60e9875cd337
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896393
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Auto-Submit: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713240}
parent 0316959f
...@@ -17,7 +17,7 @@ namespace cr_fuchsia { ...@@ -17,7 +17,7 @@ namespace cr_fuchsia {
// Connects to the ComponentContext service from the supplied ServiceDirectory, // Connects to the ComponentContext service from the supplied ServiceDirectory,
// and uses it to connect-to and manage one or more Agents used by the caller. // and uses it to connect-to and manage one or more Agents used by the caller.
class BASE_EXPORT AgentManager { class AgentManager {
public: public:
explicit AgentManager(const sys::ServiceDirectory* incoming); explicit AgentManager(const sys::ServiceDirectory* incoming);
~AgentManager(); ~AgentManager();
......
...@@ -150,8 +150,6 @@ component("web_engine_core") { ...@@ -150,8 +150,6 @@ component("web_engine_core") {
"browser/web_engine_net_log.h", "browser/web_engine_net_log.h",
"browser/web_engine_permission_manager.cc", "browser/web_engine_permission_manager.cc",
"browser/web_engine_permission_manager.h", "browser/web_engine_permission_manager.h",
"browser/web_engine_screen.cc",
"browser/web_engine_screen.h",
"common/web_engine_content_client.cc", "common/web_engine_content_client.cc",
"common/web_engine_content_client.h", "common/web_engine_content_client.h",
"common/web_engine_url_loader_throttle.cc", "common/web_engine_url_loader_throttle.cc",
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "fuchsia/engine/browser/context_impl.h" #include "fuchsia/engine/browser/context_impl.h"
#include "fuchsia/engine/browser/web_engine_browser_context.h" #include "fuchsia/engine/browser/web_engine_browser_context.h"
#include "fuchsia/engine/browser/web_engine_devtools_controller.h" #include "fuchsia/engine/browser/web_engine_devtools_controller.h"
#include "fuchsia/engine/browser/web_engine_screen.h"
#include "fuchsia/engine/switches.h" #include "fuchsia/engine/switches.h"
#include "gpu/command_buffer/service/gpu_switches.h" #include "gpu/command_buffer/service/gpu_switches.h"
#include "ui/aura/screen_ozone.h" #include "ui/aura/screen_ozone.h"
......
// Copyright 2018 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 "fuchsia/engine/browser/web_engine_screen.h"
#include "ui/display/display.h"
WebEngineScreen::WebEngineScreen() {
const int64_t kDefaultDisplayId = 1;
display::Display display(kDefaultDisplayId);
ProcessDisplayChanged(display, /*is_primary=*/true);
}
WebEngineScreen::~WebEngineScreen() = default;
// Copyright 2018 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 FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_SCREEN_H_
#define FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_SCREEN_H_
#include "base/macros.h"
#include "ui/display/screen_base.h"
// display::Screen implementation for WebEngine on Fuchsia.
class DISPLAY_EXPORT WebEngineScreen : public display::ScreenBase {
public:
WebEngineScreen();
~WebEngineScreen() override;
private:
DISALLOW_COPY_AND_ASSIGN(WebEngineScreen);
};
#endif // FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_SCREEN_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment