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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 6368011: Clean up WebNavigationObserver by taking out password specific callbacks, and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 IPC::Message* reply_msg, 683 IPC::Message* reply_msg,
684 bool* did_suppress_message) {} 684 bool* did_suppress_message) {}
685 685
686 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 686 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
687 IPC::Message* reply_msg) {} 687 IPC::Message* reply_msg) {}
688 688
689 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 689 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
690 const std::string& json_arguments, 690 const std::string& json_arguments,
691 IPC::Message* reply_msg) {} 691 IPC::Message* reply_msg) {}
692 692
693 // Password forms have been detected in the page.
694 virtual void PasswordFormsFound(
695 const std::vector<webkit_glue::PasswordForm>& forms) {}
696
697 // On initial layout, password forms are known to be visible on the page.
698 virtual void PasswordFormsVisible(
699 const std::vector<webkit_glue::PasswordForm>& visible_forms) {}
700
701 // Notification that the page has an OpenSearch description document. 693 // Notification that the page has an OpenSearch description document.
702 virtual void PageHasOSDD(RenderViewHost* render_view_host, 694 virtual void PageHasOSDD(RenderViewHost* render_view_host,
703 int32 page_id, const GURL& doc_url, 695 int32 page_id, const GURL& doc_url,
704 const ViewHostMsg_PageHasOSDD_Type& provider_type) {} 696 const ViewHostMsg_PageHasOSDD_Type& provider_type) {}
705 697
706 // |url| is assigned to a server that can provide alternate error pages. If 698 // |url| is assigned to a server that can provide alternate error pages. If
707 // the returned URL is empty, the default error page built into WebKit will 699 // the returned URL is empty, the default error page built into WebKit will
708 // be used. 700 // be used.
709 virtual GURL GetAlternateErrorPageURL() const; 701 virtual GURL GetAlternateErrorPageURL() const;
710 702
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 bool remember) {} 746 bool remember) {}
755 747
756 // Update the content restrictions, i.e. disable print/copy. 748 // Update the content restrictions, i.e. disable print/copy.
757 virtual void UpdateContentRestrictions(int restrictions) {} 749 virtual void UpdateContentRestrictions(int restrictions) {}
758 750
759 protected: 751 protected:
760 virtual ~RenderViewHostDelegate() {} 752 virtual ~RenderViewHostDelegate() {}
761 }; 753 };
762 754
763 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 755 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698