| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGATE_H
_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGATE_H
_ |
| 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "content/public/browser/devtools_agent_host.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // This interface defines methods RWVHA delegates tasks to. |
| 14 class RenderWidgetHostViewAndroidDelegate { |
| 15 public: |
| 16 |
| 17 // Return true if we're showing an interstitial page. |
| 18 virtual bool ShowingInterstitialPage() = 0; |
| 19 |
| 20 // Get DevToolsAgentHost instance for current web contents. nullptr is |
| 21 // returned if the corresponding instance is not present. |
| 22 virtual scoped_refptr<DevToolsAgentHost> GetDevToolsAgentHost() = 0; |
| 23 }; |
| 24 |
| 25 } // namespace content |
| 26 |
| 27 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_DELEGAT
E_H_ |
| OLD | NEW |