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

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

Issue 1113783002: Use Local instead of Handle in src/content/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/renderer/pepper/v8object_var.cc ('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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 virtual void didLoadResourceFromMemoryCache( 467 virtual void didLoadResourceFromMemoryCache(
468 blink::WebLocalFrame* frame, 468 blink::WebLocalFrame* frame,
469 const blink::WebURLRequest& request, 469 const blink::WebURLRequest& request,
470 const blink::WebURLResponse& response); 470 const blink::WebURLResponse& response);
471 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); 471 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame);
472 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, 472 virtual void didRunInsecureContent(blink::WebLocalFrame* frame,
473 const blink::WebSecurityOrigin& origin, 473 const blink::WebSecurityOrigin& origin,
474 const blink::WebURL& target); 474 const blink::WebURL& target);
475 virtual void didAbortLoading(blink::WebLocalFrame* frame); 475 virtual void didAbortLoading(blink::WebLocalFrame* frame);
476 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, 476 virtual void didCreateScriptContext(blink::WebLocalFrame* frame,
477 v8::Handle<v8::Context> context, 477 v8::Local<v8::Context> context,
478 int extension_group, 478 int extension_group,
479 int world_id); 479 int world_id);
480 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, 480 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame,
481 v8::Handle<v8::Context> context, 481 v8::Local<v8::Context> context,
482 int world_id); 482 int world_id);
483 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); 483 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame);
484 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); 484 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame);
485 virtual void willInsertBody(blink::WebLocalFrame* frame); 485 virtual void willInsertBody(blink::WebLocalFrame* frame);
486 virtual void reportFindInPageMatchCount(int request_id, 486 virtual void reportFindInPageMatchCount(int request_id,
487 int count, 487 int count,
488 bool final_update); 488 bool final_update);
489 virtual void reportFindInPageSelection(int request_id, 489 virtual void reportFindInPageSelection(int request_id,
490 int active_match_ordinal, 490 int active_match_ordinal,
491 const blink::WebRect& sel); 491 const blink::WebRect& sel);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 base::string16* result); 695 base::string16* result);
696 696
697 // Loads the appropriate error page for the specified failure into the frame. 697 // Loads the appropriate error page for the specified failure into the frame.
698 void LoadNavigationErrorPage(const blink::WebURLRequest& failed_request, 698 void LoadNavigationErrorPage(const blink::WebURLRequest& failed_request,
699 const blink::WebURLError& error, 699 const blink::WebURLError& error,
700 bool replace); 700 bool replace);
701 701
702 void HandleJavascriptExecutionResult(const base::string16& javascript, 702 void HandleJavascriptExecutionResult(const base::string16& javascript,
703 int id, 703 int id,
704 bool notify_result, 704 bool notify_result,
705 v8::Handle<v8::Value> result); 705 v8::Local<v8::Value> result);
706 706
707 // Initializes |web_user_media_client_|. If this fails, because it wasn't 707 // Initializes |web_user_media_client_|. If this fails, because it wasn't
708 // possible to create a MediaStreamClient (e.g., WebRTC is disabled), then 708 // possible to create a MediaStreamClient (e.g., WebRTC is disabled), then
709 // |web_user_media_client_| will remain NULL. 709 // |web_user_media_client_| will remain NULL.
710 void InitializeUserMediaClient(); 710 void InitializeUserMediaClient();
711 711
712 blink::WebMediaPlayer* CreateWebMediaPlayerForMediaStream( 712 blink::WebMediaPlayer* CreateWebMediaPlayerForMediaStream(
713 const blink::WebURL& url, 713 const blink::WebURL& url,
714 blink::WebMediaPlayerClient* client); 714 blink::WebMediaPlayerClient* client);
715 715
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 #endif 932 #endif
933 933
934 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 934 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
935 935
936 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 936 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
937 }; 937 };
938 938
939 } // namespace content 939 } // namespace content
940 940
941 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 941 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/v8object_var.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698