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

Side by Side Diff: public/web/WebWidgetClient.h

Issue 782243003: Remove temporary code in FullscreenController and WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@webframeclient_fullscreen
Patch Set: rebase and fixes Created 6 years 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
« no previous file with comments | « public/web/WebFrameClient.h ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // be called asynchronously as a result of this notification. 104 // be called asynchronously as a result of this notification.
105 virtual void closeWidgetSoon() { } 105 virtual void closeWidgetSoon() { }
106 106
107 // Called to show the widget according to the given policy. 107 // Called to show the widget according to the given policy.
108 virtual void show(WebNavigationPolicy) { } 108 virtual void show(WebNavigationPolicy) { }
109 109
110 // Called to block execution of the current thread until the widget is 110 // Called to block execution of the current thread until the widget is
111 // closed. 111 // closed.
112 virtual void runModal() { } 112 virtual void runModal() { }
113 113
114 // Called to enter/exit fullscreen mode. If enterFullScreen returns true,
115 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the
116 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is
117 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the
118 // WebWidget out of fullscreen mode.
119 virtual bool enterFullScreen() { return false; }
120 virtual void exitFullScreen() { }
121
122 // Called to get/set the position of the widget in screen coordinates. 114 // Called to get/set the position of the widget in screen coordinates.
123 virtual WebRect windowRect() { return WebRect(); } 115 virtual WebRect windowRect() { return WebRect(); }
124 virtual void setWindowRect(const WebRect&) { } 116 virtual void setWindowRect(const WebRect&) { }
125 117
126 // Called when a tooltip should be shown at the current cursor position. 118 // Called when a tooltip should be shown at the current cursor position.
127 virtual void setToolTipText(const WebString&, WebTextDirection hint) { } 119 virtual void setToolTipText(const WebString&, WebTextDirection hint) { }
128 120
129 // Called to get the position of the resizer rect in window coordinates. 121 // Called to get the position of the resizer rect in window coordinates.
130 virtual WebRect windowResizerRect() { return WebRect(); } 122 virtual WebRect windowResizerRect() { return WebRect(); }
131 123
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Request the browser to show the IME for current input type. 168 // Request the browser to show the IME for current input type.
177 virtual void showImeIfNeeded() { } 169 virtual void showImeIfNeeded() { }
178 170
179 protected: 171 protected:
180 ~WebWidgetClient() { } 172 ~WebWidgetClient() { }
181 }; 173 };
182 174
183 } // namespace blink 175 } // namespace blink
184 176
185 #endif 177 #endif
OLDNEW
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698