Commit db116c02 authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

Build: fix content_browsertests aura component build.

MockOverscrollControllerImpl in browser_tests inherits from
OverscrollController in content/browser, but the class was
not exported, causing a build failure with is_component_build.

Change-Id: I9e3b893a23243e292fa94cc4441821631dafcca2
Reviewed-on: https://chromium-review.googlesource.com/788213Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
Commit-Queue: José Dapena Paz <jose.dapena@lge.com>
Cr-Commit-Position: refs/heads/master@{#519699}
parent bb1822f2
......@@ -37,13 +37,13 @@ enum class OverscrollSource {
// overscroll gesture. This controller receives the events that are dispatched
// to the renderer, and the ACKs of events, and updates the overscroll gesture
// status accordingly.
class OverscrollController {
class CONTENT_EXPORT OverscrollController {
public:
// Exported for testing.
// TODO(mcnee): Tests needing CONTENT_EXPORT are BrowserPlugin specific.
// Remove after removing BrowserPlugin (crbug.com/533069).
CONTENT_EXPORT OverscrollController();
CONTENT_EXPORT virtual ~OverscrollController();
OverscrollController();
virtual ~OverscrollController();
// This must be called when dispatching any event from the
// RenderWidgetHostView so that the state of the overscroll gesture can be
......@@ -56,8 +56,7 @@ class OverscrollController {
// Virtual and exported for testing.
// TODO(mcnee): Tests needing CONTENT_EXPORT and virtual are BrowserPlugin
// specific. Remove after removing BrowserPlugin (crbug.com/533069).
CONTENT_EXPORT virtual void ReceivedEventACK(
const blink::WebInputEvent& event,
virtual void ReceivedEventACK(const blink::WebInputEvent& event,
bool processed);
OverscrollMode overscroll_mode() const { return overscroll_mode_; }
......
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