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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1977633003: Remove RenderFrameImpl::GetFocusedElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes the right click + blur + copy case. Created 4 years, 7 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 | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 // IPC::Sender 377 // IPC::Sender
378 bool Send(IPC::Message* msg) override; 378 bool Send(IPC::Message* msg) override;
379 379
380 // IPC::Listener 380 // IPC::Listener
381 bool OnMessageReceived(const IPC::Message& msg) override; 381 bool OnMessageReceived(const IPC::Message& msg) override;
382 382
383 // RenderFrame implementation: 383 // RenderFrame implementation:
384 RenderView* GetRenderView() override; 384 RenderView* GetRenderView() override;
385 int GetRoutingID() override; 385 int GetRoutingID() override;
386 blink::WebLocalFrame* GetWebFrame() override; 386 blink::WebLocalFrame* GetWebFrame() override;
387 blink::WebElement GetFocusedElement() const override;
388 WebPreferences& GetWebkitPreferences() override; 387 WebPreferences& GetWebkitPreferences() override;
389 int ShowContextMenu(ContextMenuClient* client, 388 int ShowContextMenu(ContextMenuClient* client,
390 const ContextMenuParams& params) override; 389 const ContextMenuParams& params) override;
391 void CancelContextMenu(int request_id) override; 390 void CancelContextMenu(int request_id) override;
392 blink::WebPlugin* CreatePlugin( 391 blink::WebPlugin* CreatePlugin(
393 blink::WebFrame* frame, 392 blink::WebFrame* frame,
394 const WebPluginInfo& info, 393 const WebPluginInfo& info,
395 const blink::WebPluginParams& params, 394 const blink::WebPluginParams& params,
396 std::unique_ptr<PluginInstanceThrottler> throttler) override; 395 std::unique_ptr<PluginInstanceThrottler> throttler) override;
397 void LoadURLExternally(const blink::WebURLRequest& request, 396 void LoadURLExternally(const blink::WebURLRequest& request,
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 #endif 1248 #endif
1250 1249
1251 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1250 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1252 1251
1253 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1252 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1254 }; 1253 };
1255 1254
1256 } // namespace content 1255 } // namespace content
1257 1256
1258 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1257 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698