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

Side by Side Diff: Source/WebKit/chromium/public/WebFrame.h

Issue 10907083: Merge 126609 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 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
« no previous file with comments | « Source/WebCore/dom/UserGestureIndicator.cpp ('k') | Source/WebKit/chromium/src/WebFrameImpl.h » ('j') | 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 // data for the frame that will be used to construct the frame's 408 // data for the frame that will be used to construct the frame's
409 // document. 409 // document.
410 virtual void commitDocumentData(const char* data, size_t length) = 0; 410 virtual void commitDocumentData(const char* data, size_t length) = 0;
411 411
412 // Returns the number of registered unload listeners. 412 // Returns the number of registered unload listeners.
413 virtual unsigned unloadListenerCount() const = 0; 413 virtual unsigned unloadListenerCount() const = 0;
414 414
415 // Returns true if a user gesture is currently being processed. 415 // Returns true if a user gesture is currently being processed.
416 virtual bool isProcessingUserGesture() const = 0; 416 virtual bool isProcessingUserGesture() const = 0;
417 417
418 // Returns true if a consumable gesture exists and has been successfully con sumed.
419 virtual bool consumeUserGesture() const = 0;
420
418 // Returns true if this frame is in the process of opening a new frame 421 // Returns true if this frame is in the process of opening a new frame
419 // with a suppressed opener. 422 // with a suppressed opener.
420 virtual bool willSuppressOpenerInNewFrame() const = 0; 423 virtual bool willSuppressOpenerInNewFrame() const = 0;
421 424
422 425
423 // Editing ------------------------------------------------------------- 426 // Editing -------------------------------------------------------------
424 427
425 // Replaces the selection with the given text. 428 // Replaces the selection with the given text.
426 virtual void replaceSelection(const WebString& text) = 0; 429 virtual void replaceSelection(const WebString& text) = 0;
427 430
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 // text form. This is used only by layout tests. 687 // text form. This is used only by layout tests.
685 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 688 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
686 689
687 protected: 690 protected:
688 ~WebFrame() { } 691 ~WebFrame() { }
689 }; 692 };
690 693
691 } // namespace WebKit 694 } // namespace WebKit
692 695
693 #endif 696 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/UserGestureIndicator.cpp ('k') | Source/WebKit/chromium/src/WebFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698