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

Side by Side Diff: content/public/renderer/render_frame_observer.h

Issue 275453002: Update WebFrameClient::didClearWindowObject API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/public/renderer/render_view_observer.h » ('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_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 29 matching lines...) Expand all
40 virtual void OnStop() {} 40 virtual void OnStop() {}
41 41
42 // These match the Blink API notifications 42 // These match the Blink API notifications
43 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {} 43 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {}
44 virtual void DidStartProvisionalLoad() {} 44 virtual void DidStartProvisionalLoad() {}
45 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} 45 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {}
46 virtual void DidFinishLoad() {} 46 virtual void DidFinishLoad() {}
47 virtual void DidFinishDocumentLoad() {} 47 virtual void DidFinishDocumentLoad() {}
48 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context, 48 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context,
49 int world_id) {} 49 int world_id) {}
50 virtual void DidClearWindowObject(int world_id) {} 50 virtual void DidClearWindowObject() {}
51 51
52 // Called when we receive a console message from Blink for which we requested 52 // Called when we receive a console message from Blink for which we requested
53 // extra details (like the stack trace). |message| is the error message, 53 // extra details (like the stack trace). |message| is the error message,
54 // |source| is the Blink-reported source of the error (either external or 54 // |source| is the Blink-reported source of the error (either external or
55 // internal), and |stack_trace| is the stack trace of the error in a 55 // internal), and |stack_trace| is the stack trace of the error in a
56 // human-readable format (each frame is formatted as 56 // human-readable format (each frame is formatted as
57 // "\n at function_name (source:line_number:column_number)"). 57 // "\n at function_name (source:line_number:column_number)").
58 virtual void DetailedConsoleMessageAdded(const base::string16& message, 58 virtual void DetailedConsoleMessageAdded(const base::string16& message,
59 const base::string16& source, 59 const base::string16& source,
60 const base::string16& stack_trace, 60 const base::string16& stack_trace,
(...skipping 23 matching lines...) Expand all
84 RenderFrame* render_frame_; 84 RenderFrame* render_frame_;
85 // The routing ID of the associated RenderFrame. 85 // The routing ID of the associated RenderFrame.
86 int routing_id_; 86 int routing_id_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); 88 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver);
89 }; 89 };
90 90
91 } // namespace content 91 } // namespace content
92 92
93 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 93 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698