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

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

Issue 10855151: Gradient overlay for constrained window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos Created 8 years, 4 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/renderer/render_view_impl.h ('k') | ui/base/animation/animation_unittest.cc » ('j') | 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 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2467 void RenderViewImpl::willClose(WebFrame* frame) { 2467 void RenderViewImpl::willClose(WebFrame* frame) {
2468 FOR_EACH_OBSERVER(RenderViewObserver, observers_, FrameWillClose(frame)); 2468 FOR_EACH_OBSERVER(RenderViewObserver, observers_, FrameWillClose(frame));
2469 } 2469 }
2470 2470
2471 void RenderViewImpl::loadURLExternally( 2471 void RenderViewImpl::loadURLExternally(
2472 WebFrame* frame, const WebURLRequest& request, 2472 WebFrame* frame, const WebURLRequest& request,
2473 WebNavigationPolicy policy) { 2473 WebNavigationPolicy policy) {
2474 loadURLExternally(frame, request, policy, WebString()); 2474 loadURLExternally(frame, request, policy, WebString());
2475 } 2475 }
2476 2476
2477 void RenderViewImpl::Repaint(const gfx::Size& size) {
2478 OnMsgRepaint(size);
2479 }
2480
2477 void RenderViewImpl::loadURLExternally( 2481 void RenderViewImpl::loadURLExternally(
2478 WebFrame* frame, const WebURLRequest& request, 2482 WebFrame* frame, const WebURLRequest& request,
2479 WebNavigationPolicy policy, 2483 WebNavigationPolicy policy,
2480 const WebString& suggested_name) { 2484 const WebString& suggested_name) {
2481 Referrer referrer( 2485 Referrer referrer(
2482 GURL(request.httpHeaderField(WebString::fromUTF8("Referer"))), 2486 GURL(request.httpHeaderField(WebString::fromUTF8("Referer"))),
2483 GetReferrerPolicyFromRequest(frame, request)); 2487 GetReferrerPolicyFromRequest(frame, request));
2484 if (policy == WebKit::WebNavigationPolicyDownload) { 2488 if (policy == WebKit::WebNavigationPolicyDownload) {
2485 Send(new ViewHostMsg_DownloadUrl(routing_id_, request.url(), referrer, 2489 Send(new ViewHostMsg_DownloadUrl(routing_id_, request.url(), referrer,
2486 suggested_name)); 2490 suggested_name));
(...skipping 3315 matching lines...) Expand 10 before | Expand all | Expand 10 after
5802 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { 5806 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const {
5803 return !!RenderThreadImpl::current()->compositor_thread(); 5807 return !!RenderThreadImpl::current()->compositor_thread();
5804 } 5808 }
5805 5809
5806 void RenderViewImpl::OnJavaBridgeInit() { 5810 void RenderViewImpl::OnJavaBridgeInit() {
5807 DCHECK(!java_bridge_dispatcher_); 5811 DCHECK(!java_bridge_dispatcher_);
5808 #if defined(ENABLE_JAVA_BRIDGE) 5812 #if defined(ENABLE_JAVA_BRIDGE)
5809 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this); 5813 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this);
5810 #endif 5814 #endif
5811 } 5815 }
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | ui/base/animation/animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698