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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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 | « third_party/WebKit/public/platform/WebURLResponse.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // replace the current history item. 86 // replace the current history item.
87 virtual bool replacesCurrentHistoryItem() const = 0; 87 virtual bool replacesCurrentHistoryItem() const = 0;
88 88
89 // The type of navigation that triggered the creation of this datasource. 89 // The type of navigation that triggered the creation of this datasource.
90 virtual WebNavigationType navigationType() const = 0; 90 virtual WebNavigationType navigationType() const = 0;
91 91
92 // Extra data associated with this datasource. If non-null, the extra 92 // Extra data associated with this datasource. If non-null, the extra
93 // data pointer will be deleted when the datasource is destroyed. 93 // data pointer will be deleted when the datasource is destroyed.
94 // Setting the extra data pointer will cause any existing non-null 94 // Setting the extra data pointer will cause any existing non-null
95 // extra data pointer to be deleted. 95 // extra data pointer to be deleted.
96 virtual ExtraData* extraData() const = 0; 96 virtual ExtraData* getExtraData() const = 0;
97 virtual void setExtraData(ExtraData*) = 0; 97 virtual void setExtraData(ExtraData*) = 0;
98 98
99 // Sets the navigation start time for this datasource. Ordinarily, 99 // Sets the navigation start time for this datasource. Ordinarily,
100 // navigation start is determined in WebCore. But, in some situations, 100 // navigation start is determined in WebCore. But, in some situations,
101 // the embedder might have a better value and can override it here. This 101 // the embedder might have a better value and can override it here. This
102 // should be called before WebFrameClient::didCommitProvisionalLoad. 102 // should be called before WebFrameClient::didCommitProvisionalLoad.
103 // Calling it later may confuse users, because JavaScript may have run and 103 // Calling it later may confuse users, because JavaScript may have run and
104 // the user may have already recorded the original value. 104 // the user may have already recorded the original value.
105 virtual void setNavigationStartTime(double) = 0; 105 virtual void setNavigationStartTime(double) = 0;
106 106
107 protected: 107 protected:
108 ~WebDataSource() { } 108 ~WebDataSource() { }
109 }; 109 };
110 110
111 } // namespace blink 111 } // namespace blink
112 112
113 #endif 113 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebURLResponse.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698