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

Side by Side Diff: webkit/glue/webframe.h

Issue 113758: Remove the HistoryState property of WebRequest.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/webframe_impl.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 WEBKIT_GLUE_WEBFRAME_H_ 5 #ifndef WEBKIT_GLUE_WEBFRAME_H_
6 #define WEBKIT_GLUE_WEBFRAME_H_ 6 #define WEBKIT_GLUE_WEBFRAME_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "skia/ext/bitmap_platform_device.h" 10 #include "skia/ext/bitmap_platform_device.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // This grants the currently loaded Document access to all security origins 69 // This grants the currently loaded Document access to all security origins
70 // (including file URLs). Use with care. The access is revoked when a new 70 // (including file URLs). Use with care. The access is revoked when a new
71 // document is loaded into this frame. 71 // document is loaded into this frame.
72 virtual void GrantUniversalAccess() = 0; 72 virtual void GrantUniversalAccess() = 0;
73 73
74 virtual NPObject* GetWindowNPObject() = 0; 74 virtual NPObject* GetWindowNPObject() = 0;
75 75
76 // Loads the given WebRequest. 76 // Loads the given WebRequest.
77 virtual void LoadRequest(WebRequest* request) = 0; 77 virtual void LoadRequest(WebRequest* request) = 0;
78 78
79 // Loads the given history state. This corresponds to a back/forward
80 // navigation.
81 virtual void LoadHistoryState(const std::string& history_state) = 0;
82
79 // This method is short-hand for calling LoadAlternateHTMLString with a dummy 83 // This method is short-hand for calling LoadAlternateHTMLString with a dummy
80 // request for the given base_url. 84 // request for the given base_url.
81 virtual void LoadHTMLString(const std::string& html_text, 85 virtual void LoadHTMLString(const std::string& html_text,
82 const GURL& base_url) = 0; 86 const GURL& base_url) = 0;
83 87
84 // Loads alternative HTML text in place of a particular URL. This method is 88 // Loads alternative HTML text in place of a particular URL. This method is
85 // designed with error pages in mind, in which case it would typically be 89 // designed with error pages in mind, in which case it would typically be
86 // called in response to WebViewDelegate's didFailProvisionalLoadWithError 90 // called in response to WebViewDelegate's didFailProvisionalLoadWithError
87 // method. 91 // method.
88 // 92 //
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 virtual int PendingFrameUnloadEventCount() const = 0; 418 virtual int PendingFrameUnloadEventCount() const = 0;
415 419
416 protected: 420 protected:
417 virtual ~WebFrame() {} 421 virtual ~WebFrame() {}
418 422
419 private: 423 private:
420 DISALLOW_COPY_AND_ASSIGN(WebFrame); 424 DISALLOW_COPY_AND_ASSIGN(WebFrame);
421 }; 425 };
422 426
423 #endif // WEBKIT_GLUE_WEBFRAME_H_ 427 #endif // WEBKIT_GLUE_WEBFRAME_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698