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

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

Issue 10544084: Fix crash when displaying system print dialog on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 6 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') | 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 3719 matching lines...) Expand 10 before | Expand all | Expand 10 after
3730 } 3730 }
3731 3731
3732 int RenderViewImpl::GetPageId() const { 3732 int RenderViewImpl::GetPageId() const {
3733 return page_id_; 3733 return page_id_;
3734 } 3734 }
3735 3735
3736 gfx::Size RenderViewImpl::GetSize() const { 3736 gfx::Size RenderViewImpl::GetSize() const {
3737 return size(); 3737 return size();
3738 } 3738 }
3739 3739
3740 gfx::NativeViewId RenderViewImpl::GetHostWindow() const {
3741 return host_window();
3742 }
3743
3744 WebPreferences& RenderViewImpl::GetWebkitPreferences() { 3740 WebPreferences& RenderViewImpl::GetWebkitPreferences() {
3745 return webkit_preferences_; 3741 return webkit_preferences_;
3746 } 3742 }
3747 3743
3748 WebKit::WebView* RenderViewImpl::GetWebView() { 3744 WebKit::WebView* RenderViewImpl::GetWebView() {
3749 return webview(); 3745 return webview();
3750 } 3746 }
3751 3747
3752 WebKit::WebNode RenderViewImpl::GetFocusedNode() const { 3748 WebKit::WebNode RenderViewImpl::GetFocusedNode() const {
3753 if (!webview()) 3749 if (!webview())
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
5607 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { 5603 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const {
5608 return !!RenderThreadImpl::current()->compositor_thread(); 5604 return !!RenderThreadImpl::current()->compositor_thread();
5609 } 5605 }
5610 5606
5611 void RenderViewImpl::OnJavaBridgeInit() { 5607 void RenderViewImpl::OnJavaBridgeInit() {
5612 DCHECK(!java_bridge_dispatcher_); 5608 DCHECK(!java_bridge_dispatcher_);
5613 #if defined(ENABLE_JAVA_BRIDGE) 5609 #if defined(ENABLE_JAVA_BRIDGE)
5614 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this); 5610 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this);
5615 #endif 5611 #endif
5616 } 5612 }
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698