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

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

Issue 2349523002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: Created 4 years, 3 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 392
393 // Used to access the embedder for the InstalledApp API. 393 // Used to access the embedder for the InstalledApp API.
394 virtual WebInstalledAppClient* installedAppClient() { return nullptr; } 394 virtual WebInstalledAppClient* installedAppClient() { return nullptr; }
395 395
396 // Editing ------------------------------------------------------------- 396 // Editing -------------------------------------------------------------
397 397
398 // These methods allow the client to intercept and overrule editing 398 // These methods allow the client to intercept and overrule editing
399 // operations. 399 // operations.
400 virtual void didChangeSelection(bool isSelectionEmpty) { } 400 virtual void didChangeSelection(bool isSelectionEmpty) { }
401 401
402 // This method is called in response to handleInputEvent() when the
403 // default action for the current keyboard event is not suppressed by the
404 // page, to give the embedder a chance to handle the keyboard event
405 // specially.
406 //
407 // Returns true if the keyboard event was handled by the embedder,
408 // indicating that the default action should be suppressed.
409 virtual bool handleCurrentKeyboardEvent() { return false; }
402 410
403 // Dialogs ------------------------------------------------------------- 411 // Dialogs -------------------------------------------------------------
404 412
405 // This method opens the color chooser and returns a new WebColorChooser 413 // This method opens the color chooser and returns a new WebColorChooser
406 // instance. If there is a WebColorChooser already from the last time this 414 // instance. If there is a WebColorChooser already from the last time this
407 // was called, it ends the color chooser by calling endChooser, and replaces 415 // was called, it ends the color chooser by calling endChooser, and replaces
408 // it with the new one. The given list of suggestions can be used to show a 416 // it with the new one. The given list of suggestions can be used to show a
409 // simple interface with a limited set of choices. 417 // simple interface with a limited set of choices.
410 418
411 virtual WebColorChooser* createColorChooser( 419 virtual WebColorChooser* createColorChooser(
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 return WebURL(); 706 return WebURL();
699 } 707 }
700 708
701 protected: 709 protected:
702 virtual ~WebFrameClient() { } 710 virtual ~WebFrameClient() { }
703 }; 711 };
704 712
705 } // namespace blink 713 } // namespace blink
706 714
707 #endif 715 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | third_party/WebKit/public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698