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

Side by Side Diff: webkit/glue/webframe_impl.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 | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | 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) 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 static int live_object_count() { 73 static int live_object_count() {
74 return live_object_count_; 74 return live_object_count_;
75 } 75 }
76 76
77 // Called by the WebViewImpl to initialize its main frame: 77 // Called by the WebViewImpl to initialize its main frame:
78 void InitMainFrame(WebViewImpl* webview_impl); 78 void InitMainFrame(WebViewImpl* webview_impl);
79 79
80 // WebFrame 80 // WebFrame
81 virtual void LoadRequest(WebRequest* request); 81 virtual void LoadRequest(WebRequest* request);
82 virtual void LoadHistoryState(const std::string& history_state);
82 virtual void LoadHTMLString(const std::string& html_text, 83 virtual void LoadHTMLString(const std::string& html_text,
83 const GURL& base_url); 84 const GURL& base_url);
84 virtual void LoadAlternateHTMLString(const WebRequest* request, 85 virtual void LoadAlternateHTMLString(const WebRequest* request,
85 const std::string& html_text, 86 const std::string& html_text,
86 const GURL& display_url, 87 const GURL& display_url,
87 bool replace); 88 bool replace);
88 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request, 89 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request,
89 const WebError& error, 90 const WebError& error,
90 const GURL& error_page_url, 91 const GURL& error_page_url,
91 bool replace, 92 bool replace,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 bool ShouldScopeMatches(const string16& search_text); 386 bool ShouldScopeMatches(const string16& search_text);
386 387
387 // Only for test_shell 388 // Only for test_shell
388 int PendingFrameUnloadEventCount() const; 389 int PendingFrameUnloadEventCount() const;
389 390
390 // Determines whether to invalidate the content area and scrollbar. 391 // Determines whether to invalidate the content area and scrollbar.
391 void InvalidateIfNecessary(); 392 void InvalidateIfNecessary();
392 393
393 void InternalLoadRequest(const WebRequest* request, 394 void InternalLoadRequest(const WebRequest* request,
394 const WebCore::SubstituteData& data, 395 const WebCore::SubstituteData& data,
396 PassRefPtr<WebCore::HistoryItem> history_item,
395 bool replace); 397 bool replace);
396 398
397 // Clears the map of password listeners. 399 // Clears the map of password listeners.
398 void ClearPasswordListeners(); 400 void ClearPasswordListeners();
399 401
400 // Valid between calls to BeginPrint() and EndPrint(). Containts the print 402 // Valid between calls to BeginPrint() and EndPrint(). Containts the print
401 // information. Is used by PrintPage(). 403 // information. Is used by PrintPage().
402 scoped_ptr<ChromePrintContext> print_context_; 404 scoped_ptr<ChromePrintContext> print_context_;
403 405
404 // The app cache context for this frame. 406 // The app cache context for this frame.
405 scoped_ptr<WebAppCacheContext> app_cache_context_; 407 scoped_ptr<WebAppCacheContext> app_cache_context_;
406 408
407 // The input fields that are interested in edit events and their associated 409 // The input fields that are interested in edit events and their associated
408 // listeners. 410 // listeners.
409 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 411 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
410 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 412 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
411 PasswordListenerMap password_listeners_; 413 PasswordListenerMap password_listeners_;
412 414
413 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 415 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
414 }; 416 };
415 417
416 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 418 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698