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

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

Issue 11411180: move favicon download code from chrome/ into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix order Created 8 years 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/public/common/favicon_url.cc ('k') | content/renderer/favicon_helper.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class CONTENT_EXPORT RenderViewObserver : public IPC::Listener, 42 class CONTENT_EXPORT RenderViewObserver : public IPC::Listener,
43 public IPC::Sender { 43 public IPC::Sender {
44 public: 44 public:
45 // By default, observers will be deleted when the RenderView goes away. If 45 // By default, observers will be deleted when the RenderView goes away. If
46 // they want to outlive it, they can override this function. 46 // they want to outlive it, they can override this function.
47 virtual void OnDestruct(); 47 virtual void OnDestruct();
48 48
49 // These match the WebKit API notifications 49 // These match the WebKit API notifications
50 virtual void DidStartLoading() {} 50 virtual void DidStartLoading() {}
51 virtual void DidStopLoading() {} 51 virtual void DidStopLoading() {}
52 virtual void DidChangeIcon(WebKit::WebFrame* frame,
53 WebKit::WebIconURL::Type) {}
54 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) {} 52 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) {}
55 virtual void DidFailLoad(WebKit::WebFrame* frame, 53 virtual void DidFailLoad(WebKit::WebFrame* frame,
56 const WebKit::WebURLError& error) {} 54 const WebKit::WebURLError& error) {}
57 virtual void DidFinishLoad(WebKit::WebFrame* frame) {} 55 virtual void DidFinishLoad(WebKit::WebFrame* frame) {}
58 virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) {} 56 virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) {}
59 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame, 57 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame,
60 const WebKit::WebURLError& error) {} 58 const WebKit::WebURLError& error) {}
61 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, 59 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame,
62 bool is_new_navigation) {} 60 bool is_new_navigation) {}
63 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {} 61 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {}
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 RenderView* render_view_; 117 RenderView* render_view_;
120 // The routing ID of the associated RenderView. 118 // The routing ID of the associated RenderView.
121 int routing_id_; 119 int routing_id_;
122 120
123 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 121 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
124 }; 122 };
125 123
126 } // namespace content 124 } // namespace content
127 125
128 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 126 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/common/favicon_url.cc ('k') | content/renderer/favicon_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698