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

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

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nasko Created 6 years, 9 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/browser/render_view_host.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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // The documentation for these functions should be in 354 // The documentation for these functions should be in
355 // content/common/*_messages.h for the message that the function is handling. 355 // content/common/*_messages.h for the message that the function is handling.
356 void OnSwapOut(); 356 void OnSwapOut();
357 void OnChildFrameProcessGone(); 357 void OnChildFrameProcessGone();
358 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); 358 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params);
359 void OnCompositorFrameSwapped(const IPC::Message& message); 359 void OnCompositorFrameSwapped(const IPC::Message& message);
360 void OnShowContextMenu(const gfx::Point& location); 360 void OnShowContextMenu(const gfx::Point& location);
361 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); 361 void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
362 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, 362 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context,
363 unsigned action); 363 unsigned action);
364 void OnCSSInsertRequest(const std::string& css);
364 // Virtual since overridden by WebTestProxy for layout tests. 365 // Virtual since overridden by WebTestProxy for layout tests.
365 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 366 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
366 RenderFrame* render_frame, 367 RenderFrame* render_frame,
367 blink::WebFrame* frame, 368 blink::WebFrame* frame,
368 blink::WebDataSource::ExtraData* extraData, 369 blink::WebDataSource::ExtraData* extraData,
369 const blink::WebURLRequest& request, 370 const blink::WebURLRequest& request,
370 blink::WebNavigationType type, 371 blink::WebNavigationType type,
371 blink::WebNavigationPolicy default_policy, 372 blink::WebNavigationPolicy default_policy,
372 bool is_redirect); 373 bool is_redirect);
373 void OpenURL(blink::WebFrame* frame, 374 void OpenURL(blink::WebFrame* frame,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // always respond properly to the request, so we don't have to worry so 417 // always respond properly to the request, so we don't have to worry so
417 // much about leaks. 418 // much about leaks.
418 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_; 419 IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_;
419 420
420 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 421 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
421 }; 422 };
422 423
423 } // namespace content 424 } // namespace content
424 425
425 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 426 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698