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

Side by Side Diff: content/test/test_web_contents_view.cc

Issue 10966023: Fix the crash that could occur when the window is closed while web contents drag is in progress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 years, 2 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/test/test_web_contents_view.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/test/test_web_contents_view.h" 5 #include "content/test/test_web_contents_view.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 TestWebContentsView::TestWebContentsView() { 9 TestWebContentsView::TestWebContentsView() {
10 } 10 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void TestWebContentsView::SetInitialFocus() { 84 void TestWebContentsView::SetInitialFocus() {
85 } 85 }
86 86
87 void TestWebContentsView::StoreFocus() { 87 void TestWebContentsView::StoreFocus() {
88 } 88 }
89 89
90 void TestWebContentsView::RestoreFocus() { 90 void TestWebContentsView::RestoreFocus() {
91 } 91 }
92 92
93 bool TestWebContentsView::IsDoingDrag() const {
94 return false;
95 }
96
97 void TestWebContentsView::CancelDragAndCloseTab() {
98 }
99
100 WebDropData* TestWebContentsView::GetDropData() const { 93 WebDropData* TestWebContentsView::GetDropData() const {
101 return NULL; 94 return NULL;
102 } 95 }
103 96
104 bool TestWebContentsView::IsEventTracking() const { 97 bool TestWebContentsView::IsEventTracking() const {
105 return false; 98 return false;
106 } 99 }
107 100
108 void TestWebContentsView::CloseTabAfterEventTracking() { 101 void TestWebContentsView::CloseTabAfterEventTracking() {
109 } 102 }
110 103
111 gfx::Rect TestWebContentsView::GetViewBounds() const { 104 gfx::Rect TestWebContentsView::GetViewBounds() const {
112 return gfx::Rect(); 105 return gfx::Rect();
113 } 106 }
114 107
115 } // namespace content 108 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_web_contents_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698