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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/page/Chrome.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 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 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 virtual void focus() OVERRIDE { } 80 virtual void focus() OVERRIDE { }
81 81
82 virtual bool canTakeFocus(FocusType) OVERRIDE { return false; } 82 virtual bool canTakeFocus(FocusType) OVERRIDE { return false; }
83 virtual void takeFocus(FocusType) OVERRIDE { } 83 virtual void takeFocus(FocusType) OVERRIDE { }
84 84
85 virtual void focusedNodeChanged(Node*) OVERRIDE { } 85 virtual void focusedNodeChanged(Node*) OVERRIDE { }
86 virtual Page* createWindow(Frame*, const FrameLoadRequest&, const WindowFeat ures&, NavigationPolicy, ShouldSendReferrer) OVERRIDE { return 0; } 86 virtual Page* createWindow(Frame*, const FrameLoadRequest&, const WindowFeat ures&, NavigationPolicy, ShouldSendReferrer) OVERRIDE { return 0; }
87 virtual void show(NavigationPolicy) OVERRIDE { } 87 virtual void show(NavigationPolicy) OVERRIDE { }
88 88
89 virtual bool canRunModal() OVERRIDE { return false; }
90 virtual void runModal() OVERRIDE { }
91
92 virtual void setToolbarsVisible(bool) OVERRIDE { } 89 virtual void setToolbarsVisible(bool) OVERRIDE { }
93 virtual bool toolbarsVisible() OVERRIDE { return false; } 90 virtual bool toolbarsVisible() OVERRIDE { return false; }
94 91
95 virtual void setStatusbarVisible(bool) OVERRIDE { } 92 virtual void setStatusbarVisible(bool) OVERRIDE { }
96 virtual bool statusbarVisible() OVERRIDE { return false; } 93 virtual bool statusbarVisible() OVERRIDE { return false; }
97 94
98 virtual void setScrollbarsVisible(bool) OVERRIDE { } 95 virtual void setScrollbarsVisible(bool) OVERRIDE { }
99 virtual bool scrollbarsVisible() OVERRIDE { return false; } 96 virtual bool scrollbarsVisible() OVERRIDE { return false; }
100 97
101 virtual void setMenubarVisible(bool) OVERRIDE { } 98 virtual void setMenubarVisible(bool) OVERRIDE { }
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 public: 331 public:
335 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 332 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
336 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f alse; } 333 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f alse; }
337 }; 334 };
338 335
339 void fillWithEmptyClients(Page::PageClients&); 336 void fillWithEmptyClients(Page::PageClients&);
340 337
341 } 338 }
342 339
343 #endif // EmptyClients_h 340 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/page/Chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698