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

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

Issue 537053002: Implement ManifestManager to handle manifest in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_fetcher
Patch Set: fix content_browsertests compile Created 6 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
« no previous file with comments | « content/public/common/manifest.cc ('k') | content/renderer/manifest/manifest_manager.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // These match the Blink API notifications 46 // These match the Blink API notifications
47 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {} 47 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {}
48 virtual void DidStartProvisionalLoad() {} 48 virtual void DidStartProvisionalLoad() {}
49 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} 49 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {}
50 virtual void DidFinishLoad() {} 50 virtual void DidFinishLoad() {}
51 virtual void DidFinishDocumentLoad() {} 51 virtual void DidFinishDocumentLoad() {}
52 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context, 52 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context,
53 int world_id) {} 53 int world_id) {}
54 virtual void DidClearWindowObject() {} 54 virtual void DidClearWindowObject() {}
55 virtual void DidChangeName(const base::string16& name) {} 55 virtual void DidChangeName(const base::string16& name) {}
56 virtual void DidChangeManifest() {}
56 57
57 // Called when the frame will soon be closed. This is the last opportunity to 58 // Called when the frame will soon be closed. This is the last opportunity to
58 // send messages to the host (e.g., for clean-up, shutdown, etc.). 59 // send messages to the host (e.g., for clean-up, shutdown, etc.).
59 virtual void FrameWillClose() {} 60 virtual void FrameWillClose() {}
60 61
61 // Called when we receive a console message from Blink for which we requested 62 // Called when we receive a console message from Blink for which we requested
62 // extra details (like the stack trace). |message| is the error message, 63 // extra details (like the stack trace). |message| is the error message,
63 // |source| is the Blink-reported source of the error (either external or 64 // |source| is the Blink-reported source of the error (either external or
64 // internal), and |stack_trace| is the stack trace of the error in a 65 // internal), and |stack_trace| is the stack trace of the error in a
65 // human-readable format (each frame is formatted as 66 // human-readable format (each frame is formatted as
(...skipping 30 matching lines...) Expand all
96 RenderFrame* render_frame_; 97 RenderFrame* render_frame_;
97 // The routing ID of the associated RenderFrame. 98 // The routing ID of the associated RenderFrame.
98 int routing_id_; 99 int routing_id_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); 101 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver);
101 }; 102 };
102 103
103 } // namespace content 104 } // namespace content
104 105
105 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ 106 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/common/manifest.cc ('k') | content/renderer/manifest/manifest_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698