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

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 only 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
« no previous file with comments | « content/public/renderer/render_view_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 } 1931 }
1932 1932
1933 Send(new ViewHostMsg_AddMessageToConsole(routing_id_, 1933 Send(new ViewHostMsg_AddMessageToConsole(routing_id_,
1934 static_cast<int32>(log_severity), 1934 static_cast<int32>(log_severity),
1935 message.text, 1935 message.text,
1936 static_cast<int32>(source_line), 1936 static_cast<int32>(source_line),
1937 source_name)); 1937 source_name));
1938 } 1938 }
1939 1939
1940 void RenderViewImpl::printPage(WebFrame* frame) { 1940 void RenderViewImpl::printPage(WebFrame* frame) {
1941 FOR_EACH_OBSERVER(RenderViewObserver, observers_, PrintPage(frame)); 1941 FOR_EACH_OBSERVER(RenderViewObserver, observers_,
1942 PrintPage(frame, handling_input_event_));
1942 } 1943 }
1943 1944
1944 WebKit::WebNotificationPresenter* RenderViewImpl::notificationPresenter() { 1945 WebKit::WebNotificationPresenter* RenderViewImpl::notificationPresenter() {
1945 return notification_provider_; 1946 return notification_provider_;
1946 } 1947 }
1947 1948
1948 bool RenderViewImpl::enumerateChosenDirectory( 1949 bool RenderViewImpl::enumerateChosenDirectory(
1949 const WebString& path, 1950 const WebString& path,
1950 WebFileChooserCompletion* chooser_completion) { 1951 WebFileChooserCompletion* chooser_completion) {
1951 int id = enumeration_completion_id_++; 1952 int id = enumeration_completion_id_++;
(...skipping 4197 matching lines...) Expand 10 before | Expand all | Expand 10 after
6149 6150
6150 updating_frame_tree_ = true; 6151 updating_frame_tree_ = true;
6151 active_frame_id_map_.clear(); 6152 active_frame_id_map_.clear();
6152 6153
6153 target_process_id_ = process_id; 6154 target_process_id_ = process_id;
6154 target_routing_id_ = route_id; 6155 target_routing_id_ = route_id;
6155 CreateFrameTree(webview()->mainFrame(), frames); 6156 CreateFrameTree(webview()->mainFrame(), frames);
6156 6157
6157 updating_frame_tree_ = false; 6158 updating_frame_tree_ = false;
6158 } 6159 }
OLDNEW
« no previous file with comments | « 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