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

Side by Side Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2395393003: Remove grow box rect support, renderer part. (Closed)
Patch Set: rebase 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 /* 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Calling WebWidgetClient::requestPointerLock() will result in one 228 // Calling WebWidgetClient::requestPointerLock() will result in one
229 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). 229 // return call to didAcquirePointerLock() or didNotAcquirePointerLock().
230 virtual void didAcquirePointerLock() {} 230 virtual void didAcquirePointerLock() {}
231 virtual void didNotAcquirePointerLock() {} 231 virtual void didNotAcquirePointerLock() {}
232 232
233 // Pointer lock was held, but has been lost. This may be due to a 233 // Pointer lock was held, but has been lost. This may be due to a
234 // request via WebWidgetClient::requestPointerUnlock(), or for other 234 // request via WebWidgetClient::requestPointerUnlock(), or for other
235 // reasons such as the user exiting lock, window focus changing, etc. 235 // reasons such as the user exiting lock, window focus changing, etc.
236 virtual void didLosePointerLock() {} 236 virtual void didLosePointerLock() {}
237 237
238 // Informs the WebWidget that the resizer rect changed. Happens for example
239 // on mac, when a widget appears below the WebWidget without changing the
240 // WebWidget's size (WebWidget::resize() automatically checks the resizer
241 // rect.)
242 virtual void didChangeWindowResizerRect() {}
243
244 // The page background color. Can be used for filling in areas without 238 // The page background color. Can be used for filling in areas without
245 // content. 239 // content.
246 virtual WebColor backgroundColor() const { 240 virtual WebColor backgroundColor() const {
247 return 0xFFFFFFFF; /* SK_ColorWHITE */ 241 return 0xFFFFFFFF; /* SK_ColorWHITE */
248 } 242 }
249 243
250 // The currently open page popup, which are calendar and datalist pickers 244 // The currently open page popup, which are calendar and datalist pickers
251 // but not the select popup. 245 // but not the select popup.
252 virtual WebPagePopup* pagePopup() const { return 0; } 246 virtual WebPagePopup* pagePopup() const { return 0; }
253 247
(...skipping 14 matching lines...) Expand all
268 // replaced. 262 // replaced.
269 virtual void applyReplacementRange(const WebRange&) {} 263 virtual void applyReplacementRange(const WebRange&) {}
270 264
271 protected: 265 protected:
272 ~WebWidget() {} 266 ~WebWidget() {}
273 }; 267 };
274 268
275 } // namespace blink 269 } // namespace blink
276 270
277 #endif 271 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebView.h ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698