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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 16162003: Introduce content::PageState (again). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 29 matching lines...) Expand all
40 40
41 namespace gfx { 41 namespace gfx {
42 class Point; 42 class Point;
43 class Rect; 43 class Rect;
44 class Size; 44 class Size;
45 } 45 }
46 46
47 namespace content { 47 namespace content {
48 48
49 class BrowserContext; 49 class BrowserContext;
50 class PageState;
50 class RenderViewHost; 51 class RenderViewHost;
51 class RenderViewHostDelegateView; 52 class RenderViewHostDelegateView;
52 class SessionStorageNamespace; 53 class SessionStorageNamespace;
53 class WebContents; 54 class WebContents;
54 class WebContentsImpl; 55 class WebContentsImpl;
55 struct ContextMenuParams; 56 struct ContextMenuParams;
56 struct FileChooserParams; 57 struct FileChooserParams;
57 struct GlobalRequestID; 58 struct GlobalRequestID;
58 struct NativeWebKeyboardEvent; 59 struct NativeWebKeyboardEvent;
59 struct Referrer; 60 struct Referrer;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 RenderViewHost* render_view_host, 164 RenderViewHost* render_view_host,
164 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params) {} 165 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params) {}
165 166
166 // The RenderView was navigated to a different page. 167 // The RenderView was navigated to a different page.
167 virtual void DidNavigate(RenderViewHost* render_view_host, 168 virtual void DidNavigate(RenderViewHost* render_view_host,
168 const ViewHostMsg_FrameNavigate_Params& params) {} 169 const ViewHostMsg_FrameNavigate_Params& params) {}
169 170
170 // The state for the page changed and should be updated. 171 // The state for the page changed and should be updated.
171 virtual void UpdateState(RenderViewHost* render_view_host, 172 virtual void UpdateState(RenderViewHost* render_view_host,
172 int32 page_id, 173 int32 page_id,
173 const std::string& state) {} 174 const PageState& state) {}
174 175
175 // The page's title was changed and should be updated. 176 // The page's title was changed and should be updated.
176 virtual void UpdateTitle(RenderViewHost* render_view_host, 177 virtual void UpdateTitle(RenderViewHost* render_view_host,
177 int32 page_id, 178 int32 page_id,
178 const string16& title, 179 const string16& title,
179 base::i18n::TextDirection title_direction) {} 180 base::i18n::TextDirection title_direction) {}
180 181
181 // The page's encoding was changed and should be updated. 182 // The page's encoding was changed and should be updated.
182 virtual void UpdateEncoding(RenderViewHost* render_view_host, 183 virtual void UpdateEncoding(RenderViewHost* render_view_host,
183 const std::string& encoding) {} 184 const std::string& encoding) {}
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 const MediaStreamRequest& request, 408 const MediaStreamRequest& request,
408 const MediaResponseCallback& callback) {} 409 const MediaResponseCallback& callback) {}
409 410
410 protected: 411 protected:
411 virtual ~RenderViewHostDelegate() {} 412 virtual ~RenderViewHostDelegate() {}
412 }; 413 };
413 414
414 } // namespace content 415 } // namespace content
415 416
416 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698