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

Side by Side Diff: third_party/WebKit/public/web/WebHistoryItem.h

Issue 2326153003: Rename referrerPolicy() methods to getReferrerPolicy(). (Closed)
Patch Set: . Created 4 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
« no previous file with comments | « third_party/WebKit/public/web/WebDocument.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 BLINK_EXPORT void initialize(); 71 BLINK_EXPORT void initialize();
72 BLINK_EXPORT void reset(); 72 BLINK_EXPORT void reset();
73 BLINK_EXPORT void assign(const WebHistoryItem&); 73 BLINK_EXPORT void assign(const WebHistoryItem&);
74 74
75 bool isNull() const { return m_private.isNull(); } 75 bool isNull() const { return m_private.isNull(); }
76 76
77 BLINK_EXPORT WebString urlString() const; 77 BLINK_EXPORT WebString urlString() const;
78 BLINK_EXPORT void setURLString(const WebString&); 78 BLINK_EXPORT void setURLString(const WebString&);
79 79
80 BLINK_EXPORT WebString referrer() const; 80 BLINK_EXPORT WebString referrer() const;
81 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 81 BLINK_EXPORT WebReferrerPolicy getReferrerPolicy() const;
82 BLINK_EXPORT void setReferrer(const WebString&, WebReferrerPolicy); 82 BLINK_EXPORT void setReferrer(const WebString&, WebReferrerPolicy);
83 83
84 BLINK_EXPORT WebString target() const; 84 BLINK_EXPORT WebString target() const;
85 BLINK_EXPORT void setTarget(const WebString&); 85 BLINK_EXPORT void setTarget(const WebString&);
86 86
87 BLINK_EXPORT WebFloatPoint visualViewportScrollOffset() const; 87 BLINK_EXPORT WebFloatPoint visualViewportScrollOffset() const;
88 BLINK_EXPORT void setVisualViewportScrollOffset(const WebFloatPoint&); 88 BLINK_EXPORT void setVisualViewportScrollOffset(const WebFloatPoint&);
89 89
90 BLINK_EXPORT WebPoint scrollOffset() const; 90 BLINK_EXPORT WebPoint scrollOffset() const;
91 BLINK_EXPORT void setScrollOffset(const WebPoint&); 91 BLINK_EXPORT void setScrollOffset(const WebPoint&);
(...skipping 30 matching lines...) Expand all
122 BLINK_EXPORT operator HistoryItem*() const; 122 BLINK_EXPORT operator HistoryItem*() const;
123 #endif 123 #endif
124 124
125 private: 125 private:
126 WebPrivatePtr<HistoryItem> m_private; 126 WebPrivatePtr<HistoryItem> m_private;
127 }; 127 };
128 128
129 } // namespace blink 129 } // namespace blink
130 130
131 #endif 131 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDocument.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698