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

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

Issue 115575: Move ExtraData from WebRequest to WebDataSource.... (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 214 }
215 215
216 static WebFrameImpl* FromFrame(WebCore::Frame* frame); 216 static WebFrameImpl* FromFrame(WebCore::Frame* frame);
217 217
218 WebViewImpl* GetWebViewImpl() const; 218 WebViewImpl* GetWebViewImpl() const;
219 219
220 WebCore::FrameView* frameview() const { 220 WebCore::FrameView* frameview() const {
221 return frame_ ? frame_->view() : NULL; 221 return frame_ ? frame_->view() : NULL;
222 } 222 }
223 223
224 // Update the given datasource with currently_loading_request's info.
225 // If currently_loading_request is NULL, does nothing.
226 void CacheCurrentRequestInfo(WebDataSourceImpl* datasource);
227
228 // Getters for the impls corresponding to Get(Provisional)DataSource. They 224 // Getters for the impls corresponding to Get(Provisional)DataSource. They
229 // may return NULL if there is no corresponding data source. 225 // may return NULL if there is no corresponding data source.
230 WebDataSourceImpl* GetDataSourceImpl() const; 226 WebDataSourceImpl* GetDataSourceImpl() const;
231 WebDataSourceImpl* GetProvisionalDataSourceImpl() const; 227 WebDataSourceImpl* GetProvisionalDataSourceImpl() const;
232 228
233 // Returns which frame has an active match. This function should only be 229 // Returns which frame has an active match. This function should only be
234 // called on the main frame, as it is the only frame keeping track. Returned 230 // called on the main frame, as it is the only frame keeping track. Returned
235 // value can be NULL if no frame has an active match. 231 // value can be NULL if no frame has an active match.
236 const WebFrameImpl* active_match_frame() const { 232 const WebFrameImpl* active_match_frame() const {
237 return active_match_frame_; 233 return active_match_frame_;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // The input fields that are interested in edit events and their associated 412 // The input fields that are interested in edit events and their associated
417 // listeners. 413 // listeners.
418 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 414 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
419 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 415 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
420 PasswordListenerMap password_listeners_; 416 PasswordListenerMap password_listeners_;
421 417
422 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 418 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
423 }; 419 };
424 420
425 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 421 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698