Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android_delegate.h

Issue 2484793002: Remove access to WebContents in RWHVA::SynchronousFrameMetadata() (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698