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

Side by Side Diff: chrome/browser/printing/print_view_manager.h

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PRINTING_PRINT_VIEW_MANAGER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const content::NotificationDetails& details) OVERRIDE; 86 const content::NotificationDetails& details) OVERRIDE;
87 87
88 // content::WebContentsObserver implementation. 88 // content::WebContentsObserver implementation.
89 virtual void DidStartLoading( 89 virtual void DidStartLoading(
90 content::RenderViewHost* render_view_host) OVERRIDE; 90 content::RenderViewHost* render_view_host) OVERRIDE;
91 91
92 // content::WebContentsObserver implementation. 92 // content::WebContentsObserver implementation.
93 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 93 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
94 94
95 // Terminates or cancels the print job if one was pending. 95 // Terminates or cancels the print job if one was pending.
96 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 96 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
97 97
98 // Cancels the print job. 98 // Cancels the print job.
99 virtual void StopNavigation() OVERRIDE; 99 virtual void StopNavigation() OVERRIDE;
100 100
101 private: 101 private:
102 explicit PrintViewManager(content::WebContents* web_contents); 102 explicit PrintViewManager(content::WebContents* web_contents);
103 friend class content::WebContentsUserData<PrintViewManager>; 103 friend class content::WebContentsUserData<PrintViewManager>;
104 104
105 enum PrintPreviewState { 105 enum PrintPreviewState {
106 NOT_PREVIEWING, 106 NOT_PREVIEWING,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 // Whether our content is in blocked state. 213 // Whether our content is in blocked state.
214 bool tab_content_blocked_; 214 bool tab_content_blocked_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(PrintViewManager); 216 DISALLOW_COPY_AND_ASSIGN(PrintViewManager);
217 }; 217 };
218 218
219 } // namespace printing 219 } // namespace printing
220 220
221 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_ 221 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/printing/print_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698