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

Side by Side Diff: src/chrome/renderer/render_view.h

Issue 196021: Implement PrintPageAsJPEG feature for Print Preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/
Patch Set: '' Created 11 years, 3 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 int browser_window_id() { 144 int browser_window_id() {
145 return browser_window_id_; 145 return browser_window_id_;
146 } 146 }
147 147
148 ViewType::Type view_type() { 148 ViewType::Type view_type() {
149 return view_type_; 149 return view_type_;
150 } 150 }
151 151
152 PrintWebViewHelper* print_helper() {
153 return print_helper_.get();
154 }
155
152 // IPC::Channel::Listener 156 // IPC::Channel::Listener
153 virtual void OnMessageReceived(const IPC::Message& msg); 157 virtual void OnMessageReceived(const IPC::Message& msg);
154 158
155 // WebViewDelegate 159 // WebViewDelegate
156 virtual bool CanAcceptLoadDrops() const; 160 virtual bool CanAcceptLoadDrops() const;
157 virtual void RunJavaScriptAlert(WebKit::WebFrame* webframe, 161 virtual void RunJavaScriptAlert(WebKit::WebFrame* webframe,
158 const std::wstring& message); 162 const std::wstring& message);
159 virtual bool RunJavaScriptConfirm(WebKit::WebFrame* webframe, 163 virtual bool RunJavaScriptConfirm(WebKit::WebFrame* webframe,
160 const std::wstring& message); 164 const std::wstring& message);
161 virtual bool RunJavaScriptPrompt(WebKit::WebFrame* webframe, 165 virtual bool RunJavaScriptPrompt(WebKit::WebFrame* webframe,
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 // page id for the last navigation sent to the browser. 879 // page id for the last navigation sent to the browser.
876 int32 last_top_level_navigation_page_id_; 880 int32 last_top_level_navigation_page_id_;
877 881
878 // The settings this render view initialized WebKit with. 882 // The settings this render view initialized WebKit with.
879 WebPreferences webkit_preferences_; 883 WebPreferences webkit_preferences_;
880 884
881 DISALLOW_COPY_AND_ASSIGN(RenderView); 885 DISALLOW_COPY_AND_ASSIGN(RenderView);
882 }; 886 };
883 887
884 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 888 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « src/chrome/renderer/print_web_view_helper.cc ('k') | src/chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698