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

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

Issue 2907463003: Remove window.status plumbing, it's unused and the spec says it's a dummy (Closed)
Patch Set: Drop accidental change Created 3 years, 7 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
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 <memory> 9 #include <memory>
10 10
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 void RenderViewImpl::HideValidationMessage() { 1624 void RenderViewImpl::HideValidationMessage() {
1625 Send(new ViewHostMsg_HideValidationMessage(GetRoutingID())); 1625 Send(new ViewHostMsg_HideValidationMessage(GetRoutingID()));
1626 } 1626 }
1627 1627
1628 void RenderViewImpl::MoveValidationMessage( 1628 void RenderViewImpl::MoveValidationMessage(
1629 const blink::WebRect& anchor_in_viewport) { 1629 const blink::WebRect& anchor_in_viewport) {
1630 Send(new ViewHostMsg_MoveValidationMessage( 1630 Send(new ViewHostMsg_MoveValidationMessage(
1631 GetRoutingID(), AdjustValidationMessageAnchor(anchor_in_viewport))); 1631 GetRoutingID(), AdjustValidationMessageAnchor(anchor_in_viewport)));
1632 } 1632 }
1633 1633
1634 void RenderViewImpl::SetStatusText(const WebString& text) {}
1635
1636 void RenderViewImpl::UpdateTargetURL(const GURL& url, 1634 void RenderViewImpl::UpdateTargetURL(const GURL& url,
1637 const GURL& fallback_url) { 1635 const GURL& fallback_url) {
1638 GURL latest_url = url.is_empty() ? fallback_url : url; 1636 GURL latest_url = url.is_empty() ? fallback_url : url;
1639 if (latest_url == target_url_) 1637 if (latest_url == target_url_)
1640 return; 1638 return;
1641 1639
1642 // Tell the browser to display a destination link. 1640 // Tell the browser to display a destination link.
1643 if (target_url_status_ == TARGET_INFLIGHT || 1641 if (target_url_status_ == TARGET_INFLIGHT ||
1644 target_url_status_ == TARGET_PENDING) { 1642 target_url_status_ == TARGET_PENDING) {
1645 // If we have a request in-flight, save the URL to be sent when we 1643 // If we have a request in-flight, save the URL to be sent when we
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 input_event.GetCoalescedEventsPointers(), latency_info, 2671 input_event.GetCoalescedEventsPointers(), latency_info,
2674 dispatch_type); 2672 dispatch_type);
2675 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 2673 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
2676 } 2674 }
2677 idle_user_detector_->ActivityDetected(); 2675 idle_user_detector_->ActivityDetected();
2678 return RenderWidget::HandleInputEvent(input_event, latency_info, 2676 return RenderWidget::HandleInputEvent(input_event, latency_info,
2679 dispatch_type); 2677 dispatch_type);
2680 } 2678 }
2681 2679
2682 } // namespace content 2680 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/shell/test_runner/layout_test_runtime_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698