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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 6904039: Update the URL if the user cancels a beforeunload handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file. Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 virtual void UpdateEncoding(RenderViewHost* render_view_host, 792 virtual void UpdateEncoding(RenderViewHost* render_view_host,
793 const std::string& encoding); 793 const std::string& encoding);
794 virtual void UpdateTargetURL(int32 page_id, const GURL& url); 794 virtual void UpdateTargetURL(int32 page_id, const GURL& url);
795 virtual void UpdateInspectorSetting(const std::string& key, 795 virtual void UpdateInspectorSetting(const std::string& key,
796 const std::string& value); 796 const std::string& value);
797 virtual void ClearInspectorSettings(); 797 virtual void ClearInspectorSettings();
798 virtual void Close(RenderViewHost* render_view_host); 798 virtual void Close(RenderViewHost* render_view_host);
799 virtual void RequestMove(const gfx::Rect& new_bounds); 799 virtual void RequestMove(const gfx::Rect& new_bounds);
800 virtual void DidStartLoading(); 800 virtual void DidStartLoading();
801 virtual void DidStopLoading(); 801 virtual void DidStopLoading();
802 virtual void DidCancelLoading();
802 virtual void DidChangeLoadProgress(double progress); 803 virtual void DidChangeLoadProgress(double progress);
803 virtual void DocumentOnLoadCompletedInMainFrame( 804 virtual void DocumentOnLoadCompletedInMainFrame(
804 RenderViewHost* render_view_host, 805 RenderViewHost* render_view_host,
805 int32 page_id); 806 int32 page_id);
806 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, 807 virtual void RequestOpenURL(const GURL& url, const GURL& referrer,
807 WindowOpenDisposition disposition); 808 WindowOpenDisposition disposition);
808 virtual void DomOperationResponse(const std::string& json_string, 809 virtual void DomOperationResponse(const std::string& json_string,
809 int automation_id); 810 int automation_id);
810 virtual void ProcessWebUIMessage( 811 virtual void ProcessWebUIMessage(
811 const ExtensionHostMsg_DomMessage_Params& params); 812 const ExtensionHostMsg_DomMessage_Params& params);
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 ObserverList<TabContentsObserver> observers_; 1053 ObserverList<TabContentsObserver> observers_;
1053 1054
1054 // Content restrictions, used to disable print/copy etc based on content's 1055 // Content restrictions, used to disable print/copy etc based on content's
1055 // (full-page plugins for now only) permissions. 1056 // (full-page plugins for now only) permissions.
1056 int content_restrictions_; 1057 int content_restrictions_;
1057 1058
1058 DISALLOW_COPY_AND_ASSIGN(TabContents); 1059 DISALLOW_COPY_AND_ASSIGN(TabContents);
1059 }; 1060 };
1060 1061
1061 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1062 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698