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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 10890054: Reign in print throttling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to start review Created 8 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) 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 #include "content/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 } 1889 }
1890 1890
1891 Send(new ViewHostMsg_AddMessageToConsole(routing_id_, 1891 Send(new ViewHostMsg_AddMessageToConsole(routing_id_,
1892 static_cast<int32>(log_severity), 1892 static_cast<int32>(log_severity),
1893 message.text, 1893 message.text,
1894 static_cast<int32>(source_line), 1894 static_cast<int32>(source_line),
1895 source_name)); 1895 source_name));
1896 } 1896 }
1897 1897
1898 void RenderViewImpl::printPage(WebFrame* frame) { 1898 void RenderViewImpl::printPage(WebFrame* frame) {
1899 FOR_EACH_OBSERVER(RenderViewObserver, observers_, PrintPage(frame)); 1899 FOR_EACH_OBSERVER(RenderViewObserver, observers_,
1900 PrintPage(frame, handling_input_event_));
1900 } 1901 }
1901 1902
1902 WebKit::WebNotificationPresenter* RenderViewImpl::notificationPresenter() { 1903 WebKit::WebNotificationPresenter* RenderViewImpl::notificationPresenter() {
1903 return notification_provider_; 1904 return notification_provider_;
1904 } 1905 }
1905 1906
1906 bool RenderViewImpl::enumerateChosenDirectory( 1907 bool RenderViewImpl::enumerateChosenDirectory(
1907 const WebString& path, 1908 const WebString& path,
1908 WebFileChooserCompletion* chooser_completion) { 1909 WebFileChooserCompletion* chooser_completion) {
1909 int id = enumeration_completion_id_++; 1910 int id = enumeration_completion_id_++;
(...skipping 4135 matching lines...) Expand 10 before | Expand all | Expand 10 after
6045 6046
6046 updating_frame_tree_ = true; 6047 updating_frame_tree_ = true;
6047 active_frame_id_map_.clear(); 6048 active_frame_id_map_.clear();
6048 6049
6049 target_process_id_ = process_id; 6050 target_process_id_ = process_id;
6050 target_routing_id_ = route_id; 6051 target_routing_id_ = route_id;
6051 CreateFrameTree(webview()->mainFrame(), frames); 6052 CreateFrameTree(webview()->mainFrame(), frames);
6052 6053
6053 updating_frame_tree_ = false; 6054 updating_frame_tree_ = false;
6054 } 6055 }
OLDNEW
« chrome/renderer/print_web_view_helper.cc ('K') | « content/public/renderer/render_view_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698