OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 blink::WebContentSecurityPolicyType type, | 512 blink::WebContentSecurityPolicyType type, |
513 blink::WebContentSecurityPolicySource source) override; | 513 blink::WebContentSecurityPolicySource source) override; |
514 void didChangeFrameOwnerProperties( | 514 void didChangeFrameOwnerProperties( |
515 blink::WebFrame* child_frame, | 515 blink::WebFrame* child_frame, |
516 const blink::WebFrameOwnerProperties& frame_owner_properties) override; | 516 const blink::WebFrameOwnerProperties& frame_owner_properties) override; |
517 void didMatchCSS( | 517 void didMatchCSS( |
518 blink::WebLocalFrame* frame, | 518 blink::WebLocalFrame* frame, |
519 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 519 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
520 const blink::WebVector<blink::WebString>& stopped_matching_selectors) | 520 const blink::WebVector<blink::WebString>& stopped_matching_selectors) |
521 override; | 521 override; |
| 522 void setHasReceivedUserGesture() override; |
522 bool shouldReportDetailedMessageForSource( | 523 bool shouldReportDetailedMessageForSource( |
523 const blink::WebString& source) override; | 524 const blink::WebString& source) override; |
524 void didAddMessageToConsole(const blink::WebConsoleMessage& message, | 525 void didAddMessageToConsole(const blink::WebConsoleMessage& message, |
525 const blink::WebString& source_name, | 526 const blink::WebString& source_name, |
526 unsigned source_line, | 527 unsigned source_line, |
527 const blink::WebString& stack_trace) override; | 528 const blink::WebString& stack_trace) override; |
528 void loadURLExternally(const blink::WebURLRequest& request, | 529 void loadURLExternally(const blink::WebURLRequest& request, |
529 blink::WebNavigationPolicy policy, | 530 blink::WebNavigationPolicy policy, |
530 const blink::WebString& suggested_name, | 531 const blink::WebString& suggested_name, |
531 bool should_replace_current_entry) override; | 532 bool should_replace_current_entry) override; |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 const std::map<GURL, base::FilePath>& url_to_local_path, | 884 const std::map<GURL, base::FilePath>& url_to_local_path, |
884 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); | 885 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); |
885 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); | 886 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
886 void OnFind(int request_id, | 887 void OnFind(int request_id, |
887 const base::string16& search_text, | 888 const base::string16& search_text, |
888 const blink::WebFindOptions& options); | 889 const blink::WebFindOptions& options); |
889 void OnClearActiveFindMatch(); | 890 void OnClearActiveFindMatch(); |
890 void OnStopFinding(StopFindAction action); | 891 void OnStopFinding(StopFindAction action); |
891 void OnEnableViewSourceMode(); | 892 void OnEnableViewSourceMode(); |
892 void OnSuppressFurtherDialogs(); | 893 void OnSuppressFurtherDialogs(); |
893 void OnSetHasReceivedUserGesture(); | |
894 void OnFileChooserResponse( | 894 void OnFileChooserResponse( |
895 const std::vector<content::FileChooserFileInfo>& files); | 895 const std::vector<content::FileChooserFileInfo>& files); |
896 void OnClearFocusedElement(); | 896 void OnClearFocusedElement(); |
897 #if defined(OS_ANDROID) | 897 #if defined(OS_ANDROID) |
898 void OnActivateNearestFindResult(int request_id, float x, float y); | 898 void OnActivateNearestFindResult(int request_id, float x, float y); |
899 void OnGetNearestFindResult(int request_id, float x, float y); | 899 void OnGetNearestFindResult(int request_id, float x, float y); |
900 void OnFindMatchRects(int current_version); | 900 void OnFindMatchRects(int current_version); |
901 #endif | 901 #endif |
902 | 902 |
903 #if defined(USE_EXTERNAL_POPUP_MENU) | 903 #if defined(USE_EXTERNAL_POPUP_MENU) |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 bool browser_side_navigation_pending_ = false; | 1378 bool browser_side_navigation_pending_ = false; |
1379 | 1379 |
1380 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1380 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1381 | 1381 |
1382 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1382 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1383 }; | 1383 }; |
1384 | 1384 |
1385 } // namespace content | 1385 } // namespace content |
1386 | 1386 |
1387 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1387 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |