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

Side by Side Diff: public/web/WebWidgetClient.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/web/ChromeClientImpl.cpp ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Called when the cursor for the widget changes. 113 // Called when the cursor for the widget changes.
114 virtual void didChangeCursor(const WebCursorInfo&) { } 114 virtual void didChangeCursor(const WebCursorInfo&) { }
115 115
116 // Called when the widget should be closed. WebWidget::close() should 116 // Called when the widget should be closed. WebWidget::close() should
117 // be called asynchronously as a result of this notification. 117 // be called asynchronously as a result of this notification.
118 virtual void closeWidgetSoon() { } 118 virtual void closeWidgetSoon() { }
119 119
120 // Called to show the widget according to the given policy. 120 // Called to show the widget according to the given policy.
121 virtual void show(WebNavigationPolicy) { } 121 virtual void show(WebNavigationPolicy) { }
122 122
123 // Called to block execution of the current thread until the widget is
124 // closed.
125 virtual void runModal() { }
126
127 // Called to enter/exit fullscreen mode. If enterFullScreen returns true, 123 // Called to enter/exit fullscreen mode. If enterFullScreen returns true,
128 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the 124 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the
129 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is 125 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is
130 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the 126 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the
131 // WebWidget out of fullscreen mode. 127 // WebWidget out of fullscreen mode.
132 virtual bool enterFullScreen() { return false; } 128 virtual bool enterFullScreen() { return false; }
133 virtual void exitFullScreen() { } 129 virtual void exitFullScreen() { }
134 130
135 // Called to get/set the position of the widget in screen coordinates. 131 // Called to get/set the position of the widget in screen coordinates.
136 virtual WebRect windowRect() { return WebRect(); } 132 virtual WebRect windowRect() { return WebRect(); }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // of the touch actions that are permitted for this touch. 178 // of the touch actions that are permitted for this touch.
183 virtual void setTouchAction(WebTouchAction touchAction) { } 179 virtual void setTouchAction(WebTouchAction touchAction) { }
184 180
185 protected: 181 protected:
186 ~WebWidgetClient() { } 182 ~WebWidgetClient() { }
187 }; 183 };
188 184
189 } // namespace blink 185 } // namespace blink
190 186
191 #endif 187 #endif
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698