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 { ...@@ -37,13 +37,13 @@ enum class OverscrollSource {
// overscroll gesture. This controller receives the events that are dispatched // overscroll gesture. This controller receives the events that are dispatched
// to the renderer, and the ACKs of events, and updates the overscroll gesture // to the renderer, and the ACKs of events, and updates the overscroll gesture
// status accordingly. // status accordingly.
class OverscrollController { class CONTENT_EXPORT OverscrollController {
public: public:
// Exported for testing. // Exported for testing.
// TODO(mcnee): Tests needing CONTENT_EXPORT are BrowserPlugin specific. // TODO(mcnee): Tests needing CONTENT_EXPORT are BrowserPlugin specific.
// Remove after removing BrowserPlugin (crbug.com/533069). // Remove after removing BrowserPlugin (crbug.com/533069).
CONTENT_EXPORT OverscrollController(); OverscrollController();
CONTENT_EXPORT virtual ~OverscrollController(); virtual ~OverscrollController();
// This must be called when dispatching any event from the // This must be called when dispatching any event from the
// RenderWidgetHostView so that the state of the overscroll gesture can be // RenderWidgetHostView so that the state of the overscroll gesture can be
...@@ -56,9 +56,8 @@ class OverscrollController { ...@@ -56,9 +56,8 @@ class OverscrollController {
// Virtual and exported for testing. // Virtual and exported for testing.
// TODO(mcnee): Tests needing CONTENT_EXPORT and virtual are BrowserPlugin // TODO(mcnee): Tests needing CONTENT_EXPORT and virtual are BrowserPlugin
// specific. Remove after removing BrowserPlugin (crbug.com/533069). // specific. Remove after removing BrowserPlugin (crbug.com/533069).
CONTENT_EXPORT virtual void ReceivedEventACK( virtual void ReceivedEventACK(const blink::WebInputEvent& event,
const blink::WebInputEvent& event, bool processed);
bool processed);
OverscrollMode overscroll_mode() const { return overscroll_mode_; } 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