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

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

Issue 2287803002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: Remove WebFrameClient null checks 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 // Used to access the embedder for the InstalledApp API. 386 // Used to access the embedder for the InstalledApp API.
387 virtual WebInstalledAppClient* installedAppClient() { return nullptr; } 387 virtual WebInstalledAppClient* installedAppClient() { return nullptr; }
388 388
389 // Editing ------------------------------------------------------------- 389 // Editing -------------------------------------------------------------
390 390
391 // These methods allow the client to intercept and overrule editing 391 // These methods allow the client to intercept and overrule editing
392 // operations. 392 // operations.
393 virtual void didChangeSelection(bool isSelectionEmpty) { } 393 virtual void didChangeSelection(bool isSelectionEmpty) { }
394 394
395 // This method is called in response to handleInputEvent() when the
396 // default action for the current keyboard event is not suppressed by the
397 // page, to give the embedder a chance to handle the keyboard event
398 // specially.
399 //
400 // Returns true if the keyboard event was handled by the embedder,
401 // indicating that the default action should be suppressed.
402 virtual bool handleCurrentKeyboardEvent() { return false; }
395 403
396 // Dialogs ------------------------------------------------------------- 404 // Dialogs -------------------------------------------------------------
397 405
398 // This method opens the color chooser and returns a new WebColorChooser 406 // This method opens the color chooser and returns a new WebColorChooser
399 // instance. If there is a WebColorChooser already from the last time this 407 // instance. If there is a WebColorChooser already from the last time this
400 // was called, it ends the color chooser by calling endChooser, and replaces 408 // was called, it ends the color chooser by calling endChooser, and replaces
401 // it with the new one. The given list of suggestions can be used to show a 409 // it with the new one. The given list of suggestions can be used to show a
402 // simple interface with a limited set of choices. 410 // simple interface with a limited set of choices.
403 411
404 virtual WebColorChooser* createColorChooser( 412 virtual WebColorChooser* createColorChooser(
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 return WebURL(); 694 return WebURL();
687 } 695 }
688 696
689 protected: 697 protected:
690 virtual ~WebFrameClient() { } 698 virtual ~WebFrameClient() { }
691 }; 699 };
692 700
693 } // namespace blink 701 } // namespace blink
694 702
695 #endif 703 #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