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

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

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "ipc/ipc_listener.h" 12 #include "ipc/ipc_listener.h"
13 #include "ipc/ipc_sender.h" 13 #include "ipc/ipc_sender.h"
14 #include "third_party/WebKit/public/platform/WebVector.h" 14 #include "third_party/WebKit/public/platform/WebVector.h"
15 #include "v8/include/v8.h" 15 #include "v8/include/v8.h"
16 16
17 namespace blink { 17 namespace blink {
18 class WebDataSource;
18 class WebFormElement; 19 class WebFormElement;
19 class WebFrame; 20 class WebFrame;
20 class WebNode; 21 class WebNode;
21 class WebString; 22 class WebString;
22 struct WebURLError; 23 struct WebURLError;
23 } 24 }
24 25
25 namespace content { 26 namespace content {
26 27
27 class RendererPpapiHost; 28 class RendererPpapiHost;
(...skipping 20 matching lines...) Expand all
48 virtual void WasShown() {} 49 virtual void WasShown() {}
49 50
50 // Called when associated widget is about to close. 51 // Called when associated widget is about to close.
51 virtual void WidgetWillClose() {} 52 virtual void WidgetWillClose() {}
52 53
53 // These match the Blink API notifications 54 // These match the Blink API notifications
54 virtual void DidCreateNewDocument() {} 55 virtual void DidCreateNewDocument() {}
55 virtual void DidCreateDocumentElement() {} 56 virtual void DidCreateDocumentElement() {}
56 virtual void DidCommitProvisionalLoad(bool is_new_navigation, 57 virtual void DidCommitProvisionalLoad(bool is_new_navigation,
57 bool is_same_page_navigation) {} 58 bool is_same_page_navigation) {}
58 virtual void DidStartProvisionalLoad() {} 59 virtual void DidStartProvisionalLoad(blink::WebDataSource* datasource) {}
59 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} 60 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {}
60 virtual void DidFinishLoad() {} 61 virtual void DidFinishLoad() {}
61 virtual void DidFinishDocumentLoad() {} 62 virtual void DidFinishDocumentLoad() {}
62 virtual void DidCreateScriptContext(v8::Local<v8::Context> context, 63 virtual void DidCreateScriptContext(v8::Local<v8::Context> context,
63 int extension_group, 64 int extension_group,
64 int world_id) {} 65 int world_id) {}
65 virtual void WillReleaseScriptContext(v8::Local<v8::Context> context, 66 virtual void WillReleaseScriptContext(v8::Local<v8::Context> context,
66 int world_id) {} 67 int world_id) {}
67 virtual void DidClearWindowObject() {} 68 virtual void DidClearWindowObject() {}
68 virtual void DidChangeManifest() {} 69 virtual void DidChangeManifest() {}
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 RenderFrame* render_frame_; 129 RenderFrame* render_frame_;
129 // The routing ID of the associated RenderFrame. 130 // The routing ID of the associated RenderFrame.
130 int routing_id_; 131 int routing_id_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); 133 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver);
133 }; 134 };
134 135
135 } // namespace content 136 } // namespace content
136 137
137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 138 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698