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

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

Issue 2955283002: Revert of Relanding [Android] Adding Smart GO/NEXT feature in Chrome
Patch Set: Created 3 years, 5 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 | « third_party/WebKit/public/platform/WebTextInputType.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
11 #include "WebCompositionUnderline.h" 11 #include "WebCompositionUnderline.h"
12 #include "WebFrame.h" 12 #include "WebFrame.h"
13 #include "WebFrameLoadType.h" 13 #include "WebFrameLoadType.h"
14 #include "WebHistoryItem.h" 14 #include "WebHistoryItem.h"
15 #include "public/platform/WebCachePolicy.h" 15 #include "public/platform/WebCachePolicy.h"
16 #include "public/platform/WebFocusType.h"
17 #include "public/platform/WebURLError.h" 16 #include "public/platform/WebURLError.h"
18 #include "public/platform/WebURLRequest.h" 17 #include "public/platform/WebURLRequest.h"
19 #include "public/platform/site_engagement.mojom-shared.h" 18 #include "public/platform/site_engagement.mojom-shared.h"
20 #include "v8/include/v8.h" 19 #include "v8/include/v8.h"
21 20
22 namespace base { 21 namespace base {
23 class SingleThreadTaskRunner; 22 class SingleThreadTaskRunner;
24 } 23 }
25 24
26 namespace blink { 25 namespace blink {
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 virtual float PrintPage(int page_to_print, WebCanvas*) = 0; 734 virtual float PrintPage(int page_to_print, WebCanvas*) = 0;
736 735
737 // Reformats the WebFrame for screen display. 736 // Reformats the WebFrame for screen display.
738 virtual void PrintEnd() = 0; 737 virtual void PrintEnd() = 0;
739 738
740 // If the frame contains a full-frame plugin or the given node refers to a 739 // If the frame contains a full-frame plugin or the given node refers to a
741 // plugin whose content indicates that printed output should not be scaled, 740 // plugin whose content indicates that printed output should not be scaled,
742 // return true, otherwise return false. 741 // return true, otherwise return false.
743 virtual bool IsPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0; 742 virtual bool IsPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0;
744 743
745 // Advance the focus of the WebView to next text input element from current
746 // input field wrt sequential navigation with TAB or Shift + TAB
747 // WebFocusTypeForward simulates TAB and WebFocusTypeBackward simulates
748 // Shift + TAB. (Will be extended to other form controls like select element,
749 // checkbox, radio etc.)
750 virtual void AdvanceFocusInForm(WebFocusType) = 0;
751
752 // Testing ------------------------------------------------------------------ 744 // Testing ------------------------------------------------------------------
753 745
754 // Dumps the layer tree, used by the accelerated compositor, in 746 // Dumps the layer tree, used by the accelerated compositor, in
755 // text form. This is used only by layout tests. 747 // text form. This is used only by layout tests.
756 virtual WebString GetLayerTreeAsTextForTesting( 748 virtual WebString GetLayerTreeAsTextForTesting(
757 bool show_debug_info = false) const = 0; 749 bool show_debug_info = false) const = 0;
758 750
759 // Prints the frame into the canvas, with page boundaries drawn as one pixel 751 // Prints the frame into the canvas, with page boundaries drawn as one pixel
760 // wide blue lines. This method exists to support layout tests. 752 // wide blue lines. This method exists to support layout tests.
761 virtual void PrintPagesForTesting(WebCanvas*, const WebSize&) = 0; 753 virtual void PrintPagesForTesting(WebCanvas*, const WebSize&) = 0;
(...skipping 11 matching lines...) Expand all
773 // to call these on a WebLocalFrame. 765 // to call these on a WebLocalFrame.
774 bool IsWebLocalFrame() const override = 0; 766 bool IsWebLocalFrame() const override = 0;
775 WebLocalFrame* ToWebLocalFrame() override = 0; 767 WebLocalFrame* ToWebLocalFrame() override = 0;
776 bool IsWebRemoteFrame() const override = 0; 768 bool IsWebRemoteFrame() const override = 0;
777 WebRemoteFrame* ToWebRemoteFrame() override = 0; 769 WebRemoteFrame* ToWebRemoteFrame() override = 0;
778 }; 770 };
779 771
780 } // namespace blink 772 } // namespace blink
781 773
782 #endif // WebLocalFrame_h 774 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebTextInputType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698