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

Side by Side Diff: content/renderer/render_frame_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: Update test expectation 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_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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 void OnDelete(); 510 void OnDelete();
511 void OnSelectAll(); 511 void OnSelectAll();
512 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); 512 void OnSelectRange(const gfx::Point& start, const gfx::Point& end);
513 void OnUnselect(); 513 void OnUnselect();
514 void OnReplace(const base::string16& text); 514 void OnReplace(const base::string16& text);
515 void OnReplaceMisspelling(const base::string16& text); 515 void OnReplaceMisspelling(const base::string16& text);
516 void OnCSSInsertRequest(const std::string& css); 516 void OnCSSInsertRequest(const std::string& css);
517 void OnJavaScriptExecuteRequest(const base::string16& javascript, 517 void OnJavaScriptExecuteRequest(const base::string16& javascript,
518 int id, 518 int id,
519 bool notify_result); 519 bool notify_result);
520 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript,
521 int id,
522 bool notify_result);
523 void HandleJavascriptExecutionResult(const base::string16& javascript,
jamesr 2014/09/03 20:22:11 this is not an IPC message handler. please move it
Zeeshan Qureshi 2014/09/03 21:18:09 Done.
524 int id,
525 bool notify_result,
526 v8::Handle<v8::Value> result);
520 void OnSetEditableSelectionOffsets(int start, int end); 527 void OnSetEditableSelectionOffsets(int start, int end);
521 void OnSetCompositionFromExistingText( 528 void OnSetCompositionFromExistingText(
522 int start, int end, 529 int start, int end,
523 const std::vector<blink::WebCompositionUnderline>& underlines); 530 const std::vector<blink::WebCompositionUnderline>& underlines);
524 void OnExtendSelectionAndDelete(int before, int after); 531 void OnExtendSelectionAndDelete(int before, int after);
525 void OnReload(bool ignore_cache); 532 void OnReload(bool ignore_cache);
526 void OnTextSurroundingSelectionRequest(size_t max_length); 533 void OnTextSurroundingSelectionRequest(size_t max_length);
527 void OnAddStyleSheetByURL(const std::string& url); 534 void OnAddStyleSheetByURL(const std::string& url);
528 void OnSetupTransitionView(const std::string& markup); 535 void OnSetupTransitionView(const std::string& markup);
529 void OnBeginExitTransition(const std::string& css_selector); 536 void OnBeginExitTransition(const std::string& css_selector);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 #endif 740 #endif
734 741
735 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 742 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
736 743
737 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 744 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
738 }; 745 };
739 746
740 } // namespace content 747 } // namespace content
741 748
742 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 749 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698