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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2777013004: Fix DevToolsBeforeUnloadTest and BrowserCloseManagerBrowserTest. (Closed)
Patch Set: fix Created 3 years, 8 months 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 virtual void ResumeBlockedRequestsForFrame() = 0; 234 virtual void ResumeBlockedRequestsForFrame() = 0;
235 235
236 #if defined(OS_ANDROID) 236 #if defined(OS_ANDROID)
237 // Returns an InterfaceProvider for Java-implemented interfaces that are 237 // Returns an InterfaceProvider for Java-implemented interfaces that are
238 // scoped to this RenderFrameHost. This provides access to interfaces 238 // scoped to this RenderFrameHost. This provides access to interfaces
239 // implemented in Java in the browser process to C++ code in the browser 239 // implemented in Java in the browser process to C++ code in the browser
240 // process. 240 // process.
241 virtual service_manager::InterfaceProvider* GetJavaInterfaces() = 0; 241 virtual service_manager::InterfaceProvider* GetJavaInterfaces() = 0;
242 #endif // OS_ANDROID 242 #endif // OS_ANDROID
243 243
244 // Stops and disables the hang monitor for beforeunload. This avoids flakiness
245 // in tests that need to observe beforeunload dialogs, which could fail if the
246 // timeout skips the dialog.
247 virtual void DisableBeforeUnloadHangMonitorForTesting() = 0;
248
244 private: 249 private:
245 // This interface should only be implemented inside content. 250 // This interface should only be implemented inside content.
246 friend class RenderFrameHostImpl; 251 friend class RenderFrameHostImpl;
247 RenderFrameHost() {} 252 RenderFrameHost() {}
248 }; 253 };
249 254
250 } // namespace content 255 } // namespace content
251 256
252 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 257 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698