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

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

Issue 518583003: Don't take a fake UGI every time we execute Javascript. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix styling Created 6 years, 3 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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual RenderFrameHost* GetParent() OVERRIDE; 73 virtual RenderFrameHost* GetParent() OVERRIDE;
74 virtual const std::string& GetFrameName() OVERRIDE; 74 virtual const std::string& GetFrameName() OVERRIDE;
75 virtual bool IsCrossProcessSubframe() OVERRIDE; 75 virtual bool IsCrossProcessSubframe() OVERRIDE;
76 virtual GURL GetLastCommittedURL() OVERRIDE; 76 virtual GURL GetLastCommittedURL() OVERRIDE;
77 virtual gfx::NativeView GetNativeView() OVERRIDE; 77 virtual gfx::NativeView GetNativeView() OVERRIDE;
78 virtual void ExecuteJavaScript( 78 virtual void ExecuteJavaScript(
79 const base::string16& javascript) OVERRIDE; 79 const base::string16& javascript) OVERRIDE;
80 virtual void ExecuteJavaScript( 80 virtual void ExecuteJavaScript(
81 const base::string16& javascript, 81 const base::string16& javascript,
82 const JavaScriptResultCallback& callback) OVERRIDE; 82 const JavaScriptResultCallback& callback) OVERRIDE;
83 virtual void ExecuteJavaScriptForTests(
84 const base::string16& javascript) OVERRIDE;
83 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; 85 virtual RenderViewHost* GetRenderViewHost() OVERRIDE;
84 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE; 86 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE;
85 87
86 // IPC::Sender 88 // IPC::Sender
87 virtual bool Send(IPC::Message* msg) OVERRIDE; 89 virtual bool Send(IPC::Message* msg) OVERRIDE;
88 90
89 // IPC::Listener 91 // IPC::Listener
90 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 92 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
91 93
92 // BrowserAccessibilityDelegate 94 // BrowserAccessibilityDelegate
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; 445 base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_;
444 // The most recently received accessibility tree - for testing only. 446 // The most recently received accessibility tree - for testing only.
445 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 447 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
446 448
447 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 449 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
448 }; 450 };
449 451
450 } // namespace content 452 } // namespace content
451 453
452 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 454 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/base/tracing_browsertest.cc ('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