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

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

Issue 7955001: Update Chrome to use new context notification APIs from WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | content/renderer/render_view.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 WebKit::WebFrame* frame, 549 WebKit::WebFrame* frame,
550 const WebKit::WebURLRequest& request, 550 const WebKit::WebURLRequest& request,
551 const WebKit::WebURLResponse&); 551 const WebKit::WebURLResponse&);
552 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); 552 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame);
553 virtual void didRunInsecureContent( 553 virtual void didRunInsecureContent(
554 WebKit::WebFrame* frame, 554 WebKit::WebFrame* frame,
555 const WebKit::WebSecurityOrigin& origin, 555 const WebKit::WebSecurityOrigin& origin,
556 const WebKit::WebURL& target); 556 const WebKit::WebURL& target);
557 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); 557 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader);
558 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); 558 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame);
559 virtual void didCreateScriptContext(WebKit::WebFrame* frame); 559 virtual void didCreateScriptContext(WebKit::WebFrame* frame,
560 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); 560 v8::Handle<v8::Context>,
561 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame, 561 int world_id);
562 int world_id, 562 virtual void willReleaseScriptContext(WebKit::WebFrame* frame,
563 v8::Handle<v8::Context> context); 563 v8::Handle<v8::Context>,
564 int world_id);
564 virtual void didUpdateLayout(WebKit::WebFrame* frame); 565 virtual void didUpdateLayout(WebKit::WebFrame* frame);
565 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); 566 virtual void didChangeScrollOffset(WebKit::WebFrame* frame);
566 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); 567 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers);
567 virtual void didChangeContentsSize(WebKit::WebFrame* frame, 568 virtual void didChangeContentsSize(WebKit::WebFrame* frame,
568 const WebKit::WebSize& size); 569 const WebKit::WebSize& size);
569 virtual void reportFindInPageMatchCount(int request_id, 570 virtual void reportFindInPageMatchCount(int request_id,
570 int count, 571 int count,
571 bool final_update); 572 bool final_update);
572 virtual void reportFindInPageSelection(int request_id, 573 virtual void reportFindInPageSelection(int request_id,
573 int active_match_ordinal, 574 int active_match_ordinal,
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 // bunch of stuff, you should probably create a helper class and put your 1241 // bunch of stuff, you should probably create a helper class and put your
1241 // data and methods on that to avoid bloating RenderView more. You can use 1242 // data and methods on that to avoid bloating RenderView more. You can use
1242 // the Observer interface to filter IPC messages and receive frame change 1243 // the Observer interface to filter IPC messages and receive frame change
1243 // notifications. 1244 // notifications.
1244 // --------------------------------------------------------------------------- 1245 // ---------------------------------------------------------------------------
1245 1246
1246 DISALLOW_COPY_AND_ASSIGN(RenderView); 1247 DISALLOW_COPY_AND_ASSIGN(RenderView);
1247 }; 1248 };
1248 1249
1249 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1250 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698