| Index: content/browser/renderer_host/render_widget_host_view_android_delegate.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_android_delegate.h b/content/browser/renderer_host/render_widget_host_view_android_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..34e6570c8f6acdeadc577e039b1efbd6b2ee2b3d
|
| --- /dev/null
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android_delegate.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2016 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGATE_H_
|
| +#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGATE_H_
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +#include "content/public/browser/devtools_agent_host.h"
|
| +
|
| +namespace content {
|
| +
|
| +// This interface defines methods RWVHA delegates tasks to.
|
| +class RenderWidgetHostViewAndroidDelegate {
|
| + public:
|
| +
|
| + // Return true if we're showing an interstitial page.
|
| + virtual bool ShowingInterstitialPage() = 0;
|
| +
|
| + // Get DevToolsAgentHost instance for current web contents. nullptr is
|
| + // returned if the corresponding instance is not present.
|
| + virtual scoped_refptr<DevToolsAgentHost> GetDevToolsAgentHost() = 0;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGATE_H_
|
|
|