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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 2863203002: Ignore print() during page dismissal. (Closed)
Patch Set: rebase, addressing comments Created 3 years, 7 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 virtual DOMWindow* PagePopupWindowForTesting() const = 0; 292 virtual DOMWindow* PagePopupWindowForTesting() const = 0;
293 293
294 virtual void PostAccessibilityNotification(AXObject*, 294 virtual void PostAccessibilityNotification(AXObject*,
295 AXObjectCache::AXNotification) {} 295 AXObjectCache::AXNotification) {}
296 virtual String AcceptLanguages() = 0; 296 virtual String AcceptLanguages() = 0;
297 297
298 enum DialogType { 298 enum DialogType {
299 kAlertDialog = 0, 299 kAlertDialog = 0,
300 kConfirmDialog = 1, 300 kConfirmDialog = 1,
301 kPromptDialog = 2, 301 kPromptDialog = 2,
302 kHTMLDialog = 3 302 kHTMLDialog = 3,
303 kPrintDialog = 4
303 }; 304 };
304 virtual bool ShouldOpenModalDialogDuringPageDismissal( 305 virtual bool ShouldOpenModalDialogDuringPageDismissal(
305 LocalFrame&, 306 LocalFrame&,
306 DialogType, 307 DialogType,
307 const String&, 308 const String&,
308 Document::PageDismissalType) const { 309 Document::PageDismissalType) const {
309 return true; 310 return true;
310 } 311 }
311 312
312 virtual bool IsSVGImageChromeClient() const { return false; } 313 virtual bool IsSVGImageChromeClient() const { return false; }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 WeakMember<Node> last_mouse_over_node_; 399 WeakMember<Node> last_mouse_over_node_;
399 LayoutPoint last_tool_tip_point_; 400 LayoutPoint last_tool_tip_point_;
400 String last_tool_tip_text_; 401 String last_tool_tip_text_;
401 402
402 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 403 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
403 }; 404 };
404 405
405 } // namespace blink 406 } // namespace blink
406 407
407 #endif // ChromeClient_h 408 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698