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

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

Issue 291483010: <webview>: Move name attribute to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newwindow_refactor
Patch Set: Addressed John's comments 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.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 30 matching lines...) Expand all
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() {} 50 virtual void DidClearWindowObject() {}
51 virtual void DidChangeName(const base::string16& name) {}
51 52
52 // Called when we receive a console message from Blink for which we requested 53 // 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, 54 // extra details (like the stack trace). |message| is the error message,
54 // |source| is the Blink-reported source of the error (either external or 55 // |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 56 // internal), and |stack_trace| is the stack trace of the error in a
56 // human-readable format (each frame is formatted as 57 // human-readable format (each frame is formatted as
57 // "\n at function_name (source:line_number:column_number)"). 58 // "\n at function_name (source:line_number:column_number)").
58 virtual void DetailedConsoleMessageAdded(const base::string16& message, 59 virtual void DetailedConsoleMessageAdded(const base::string16& message,
59 const base::string16& source, 60 const base::string16& source,
60 const base::string16& stack_trace, 61 const base::string16& stack_trace,
(...skipping 23 matching lines...) Expand all
84 RenderFrame* render_frame_; 85 RenderFrame* render_frame_;
85 // The routing ID of the associated RenderFrame. 86 // The routing ID of the associated RenderFrame.
86 int routing_id_; 87 int routing_id_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); 89 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver);
89 }; 90 };
90 91
91 } // namespace content 92 } // namespace content
92 93
93 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 94 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698