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

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

Issue 2938123002: Revert of [Android] Adding Smart GO/NEXT feature in Chrome (Closed)
Patch Set: Created 3 years, 6 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 <set> 8 #include <set>
9 #include "WebCompositionUnderline.h" 9 #include "WebCompositionUnderline.h"
10 #include "WebFrame.h" 10 #include "WebFrame.h"
11 #include "WebFrameLoadType.h" 11 #include "WebFrameLoadType.h"
12 #include "WebHistoryItem.h" 12 #include "WebHistoryItem.h"
13 #include "public/platform/WebCachePolicy.h" 13 #include "public/platform/WebCachePolicy.h"
14 #include "public/platform/WebFocusType.h"
15 #include "public/platform/WebURLError.h" 14 #include "public/platform/WebURLError.h"
16 #include "public/platform/WebURLRequest.h" 15 #include "public/platform/WebURLRequest.h"
17 #include "public/platform/site_engagement.mojom-shared.h" 16 #include "public/platform/site_engagement.mojom-shared.h"
18 #include "v8/include/v8.h" 17 #include "v8/include/v8.h"
19 18
20 namespace base { 19 namespace base {
21 class SingleThreadTaskRunner; 20 class SingleThreadTaskRunner;
22 } 21 }
23 22
24 namespace blink { 23 namespace blink {
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 virtual float PrintPage(int page_to_print, WebCanvas*) = 0; 705 virtual float PrintPage(int page_to_print, WebCanvas*) = 0;
707 706
708 // Reformats the WebFrame for screen display. 707 // Reformats the WebFrame for screen display.
709 virtual void PrintEnd() = 0; 708 virtual void PrintEnd() = 0;
710 709
711 // If the frame contains a full-frame plugin or the given node refers to a 710 // If the frame contains a full-frame plugin or the given node refers to a
712 // plugin whose content indicates that printed output should not be scaled, 711 // plugin whose content indicates that printed output should not be scaled,
713 // return true, otherwise return false. 712 // return true, otherwise return false.
714 virtual bool IsPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0; 713 virtual bool IsPrintScalingDisabledForPlugin(const WebNode& = WebNode()) = 0;
715 714
716 // Advance the focus of the WebView to next text input element from current
717 // input field wrt sequential navigation with TAB or Shift + TAB
718 // WebFocusTypeForward simulates TAB and WebFocusTypeBackward simulates
719 // Shift + TAB. (Will be extended to other form controls like select element,
720 // checkbox, radio etc.)
721 virtual void AdvanceFocusInForm(WebFocusType) = 0;
722
723 // Testing ------------------------------------------------------------------ 715 // Testing ------------------------------------------------------------------
724 716
725 // Dumps the layer tree, used by the accelerated compositor, in 717 // Dumps the layer tree, used by the accelerated compositor, in
726 // text form. This is used only by layout tests. 718 // text form. This is used only by layout tests.
727 virtual WebString GetLayerTreeAsTextForTesting( 719 virtual WebString GetLayerTreeAsTextForTesting(
728 bool show_debug_info = false) const = 0; 720 bool show_debug_info = false) const = 0;
729 721
730 // Prints the frame into the canvas, with page boundaries drawn as one pixel 722 // Prints the frame into the canvas, with page boundaries drawn as one pixel
731 // wide blue lines. This method exists to support layout tests. 723 // wide blue lines. This method exists to support layout tests.
732 virtual void PrintPagesForTesting(WebCanvas*, const WebSize&) = 0; 724 virtual void PrintPagesForTesting(WebCanvas*, const WebSize&) = 0;
(...skipping 11 matching lines...) Expand all
744 // to call these on a WebLocalFrame. 736 // to call these on a WebLocalFrame.
745 bool IsWebLocalFrame() const override = 0; 737 bool IsWebLocalFrame() const override = 0;
746 WebLocalFrame* ToWebLocalFrame() override = 0; 738 WebLocalFrame* ToWebLocalFrame() override = 0;
747 bool IsWebRemoteFrame() const override = 0; 739 bool IsWebRemoteFrame() const override = 0;
748 WebRemoteFrame* ToWebRemoteFrame() override = 0; 740 WebRemoteFrame* ToWebRemoteFrame() override = 0;
749 }; 741 };
750 742
751 } // namespace blink 743 } // namespace blink
752 744
753 #endif // WebLocalFrame_h 745 #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