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

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

Issue 2384813002: Don't wait to close tabs waiting for JavaScript dialogs. (Closed)
Patch Set: remove code no longer needed Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // this page or not. If it has, this can be used to suppress things like the 233 // this page or not. If it has, this can be used to suppress things like the
234 // link disambiguation dialog, which doesn't interact well with the virtual 234 // link disambiguation dialog, which doesn't interact well with the virtual
235 // keyboard. 235 // keyboard.
236 virtual void SetIsVirtualKeyboardRequested(bool requested) {} 236 virtual void SetIsVirtualKeyboardRequested(bool requested) {}
237 virtual bool IsVirtualKeyboardRequested(); 237 virtual bool IsVirtualKeyboardRequested();
238 238
239 // Whether the user agent is overridden using the Chrome for Android "Request 239 // Whether the user agent is overridden using the Chrome for Android "Request
240 // Desktop Site" feature. 240 // Desktop Site" feature.
241 virtual bool IsOverridingUserAgent(); 241 virtual bool IsOverridingUserAgent();
242 242
243 virtual bool IsJavaScriptDialogShowing() const;
244
243 protected: 245 protected:
244 virtual ~RenderViewHostDelegate() {} 246 virtual ~RenderViewHostDelegate() {}
245 }; 247 };
246 248
247 } // namespace content 249 } // namespace content
248 250
249 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698