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

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

Issue 1600953003: Move find-in-page code from RenderView to RenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by nasko@, git cl format. Created 4 years, 11 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const base::string16& javascript, 161 const base::string16& javascript,
162 const JavaScriptResultCallback& callback, 162 const JavaScriptResultCallback& callback,
163 int world_id) override; 163 int world_id) override;
164 void ActivateFindInPageResultForAccessibility(int request_id) override; 164 void ActivateFindInPageResultForAccessibility(int request_id) override;
165 RenderViewHost* GetRenderViewHost() override; 165 RenderViewHost* GetRenderViewHost() override;
166 ServiceRegistry* GetServiceRegistry() override; 166 ServiceRegistry* GetServiceRegistry() override;
167 blink::WebPageVisibilityState GetVisibilityState() override; 167 blink::WebPageVisibilityState GetVisibilityState() override;
168 void InsertVisualStateCallback( 168 void InsertVisualStateCallback(
169 const VisualStateCallback& callback) override; 169 const VisualStateCallback& callback) override;
170 bool IsRenderFrameLive() override; 170 bool IsRenderFrameLive() override;
171 #if defined(OS_ANDROID)
172 void ActivateNearestFindResult(int request_id, float x, float y) override;
173 void RequestFindMatchRects(int current_version) override;
174 #endif
171 175
172 // IPC::Sender 176 // IPC::Sender
173 bool Send(IPC::Message* msg) override; 177 bool Send(IPC::Message* msg) override;
174 178
175 // IPC::Listener 179 // IPC::Listener
176 bool OnMessageReceived(const IPC::Message& msg) override; 180 bool OnMessageReceived(const IPC::Message& msg) override;
177 181
178 // BrowserAccessibilityDelegate 182 // BrowserAccessibilityDelegate
179 void AccessibilitySetFocus(int acc_obj_id) override; 183 void AccessibilitySetFocus(int acc_obj_id) override;
180 void AccessibilityDoDefaultAction(int acc_obj_id) override; 184 void AccessibilityDoDefaultAction(int acc_obj_id) override;
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 894
891 // NOTE: This must be the last member. 895 // NOTE: This must be the last member.
892 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 896 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
893 897
894 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 898 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
895 }; 899 };
896 900
897 } // namespace content 901 } // namespace content
898 902
899 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 903 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698