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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2684093002: Rename JavaScript "messages" to "dialogs". (Closed)
Patch Set: win fox Created 3 years, 10 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 // 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 19 matching lines...) Expand all
30 #include "content/common/accessibility_mode_enums.h" 30 #include "content/common/accessibility_mode_enums.h"
31 #include "content/common/ax_content_node_data.h" 31 #include "content/common/ax_content_node_data.h"
32 #include "content/common/content_export.h" 32 #include "content/common/content_export.h"
33 #include "content/common/download/mhtml_save_status.h" 33 #include "content/common/download/mhtml_save_status.h"
34 #include "content/common/frame.mojom.h" 34 #include "content/common/frame.mojom.h"
35 #include "content/common/frame_message_enums.h" 35 #include "content/common/frame_message_enums.h"
36 #include "content/common/frame_replication_state.h" 36 #include "content/common/frame_replication_state.h"
37 #include "content/common/image_downloader/image_downloader.mojom.h" 37 #include "content/common/image_downloader/image_downloader.mojom.h"
38 #include "content/common/navigation_params.h" 38 #include "content/common/navigation_params.h"
39 #include "content/public/browser/render_frame_host.h" 39 #include "content/public/browser/render_frame_host.h"
40 #include "content/public/common/javascript_message_type.h" 40 #include "content/public/common/javascript_dialog_type.h"
41 #include "content/public/common/previews_state.h" 41 #include "content/public/common/previews_state.h"
42 #include "media/mojo/interfaces/interface_factory.mojom.h" 42 #include "media/mojo/interfaces/interface_factory.mojom.h"
43 #include "net/http/http_response_headers.h" 43 #include "net/http/http_response_headers.h"
44 #include "services/service_manager/public/cpp/interface_factory.h" 44 #include "services/service_manager/public/cpp/interface_factory.h"
45 #include "services/service_manager/public/cpp/interface_registry.h" 45 #include "services/service_manager/public/cpp/interface_registry.h"
46 #include "third_party/WebKit/public/platform/WebFocusType.h" 46 #include "third_party/WebKit/public/platform/WebFocusType.h"
47 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 47 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
48 #include "third_party/WebKit/public/web/WebTextDirection.h" 48 #include "third_party/WebKit/public/web/WebTextDirection.h"
49 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 49 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
50 #include "ui/accessibility/ax_node_data.h" 50 #include "ui/accessibility/ax_node_data.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 void OnUpdateState(const PageState& state); 688 void OnUpdateState(const PageState& state);
689 void OnBeforeUnloadACK( 689 void OnBeforeUnloadACK(
690 bool proceed, 690 bool proceed,
691 const base::TimeTicks& renderer_before_unload_start_time, 691 const base::TimeTicks& renderer_before_unload_start_time,
692 const base::TimeTicks& renderer_before_unload_end_time); 692 const base::TimeTicks& renderer_before_unload_end_time);
693 void OnSwapOutACK(); 693 void OnSwapOutACK();
694 void OnRenderProcessGone(int status, int error_code); 694 void OnRenderProcessGone(int status, int error_code);
695 void OnContextMenu(const ContextMenuParams& params); 695 void OnContextMenu(const ContextMenuParams& params);
696 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); 696 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result);
697 void OnVisualStateResponse(uint64_t id); 697 void OnVisualStateResponse(uint64_t id);
698 void OnRunJavaScriptMessage(const base::string16& message, 698 void OnRunJavaScriptDialog(const base::string16& message,
699 const base::string16& default_prompt, 699 const base::string16& default_prompt,
700 const GURL& frame_url, 700 const GURL& frame_url,
701 JavaScriptMessageType type, 701 JavaScriptDialogType dialog_type,
702 IPC::Message* reply_msg); 702 IPC::Message* reply_msg);
703 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 703 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
704 bool is_reload, 704 bool is_reload,
705 IPC::Message* reply_msg); 705 IPC::Message* reply_msg);
706 void OnRunFileChooser(const FileChooserParams& params); 706 void OnRunFileChooser(const FileChooserParams& params);
707 void OnTextSurroundingSelectionResponse(const base::string16& content, 707 void OnTextSurroundingSelectionResponse(const base::string16& content,
708 uint32_t start_offset, 708 uint32_t start_offset,
709 uint32_t end_offset); 709 uint32_t end_offset);
710 void OnFocusedFormFieldDataResponse(int request_id, 710 void OnFocusedFormFieldDataResponse(int request_id,
711 const FormFieldData& field_data); 711 const FormFieldData& field_data);
712 void OnDidAccessInitialDocument(); 712 void OnDidAccessInitialDocument();
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 1157
1158 // NOTE: This must be the last member. 1158 // NOTE: This must be the last member.
1159 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1159 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1160 1160
1161 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1161 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1162 }; 1162 };
1163 1163
1164 } // namespace content 1164 } // namespace content
1165 1165
1166 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1166 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698