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

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

Issue 1858063002: Remove Mac NPAPI things (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more build fixes Created 4 years, 8 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
« no previous file with comments | « content/test/test_render_view_host.h ('k') | third_party/mozilla/BUILD.gn » ('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/test/test_render_view_host.h" 5 #include "content/test/test_render_view_host.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 10 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 void TestRenderWidgetHostView::SpeakSelection() { 164 void TestRenderWidgetHostView::SpeakSelection() {
165 } 165 }
166 166
167 bool TestRenderWidgetHostView::IsSpeaking() const { 167 bool TestRenderWidgetHostView::IsSpeaking() const {
168 return false; 168 return false;
169 } 169 }
170 170
171 void TestRenderWidgetHostView::StopSpeaking() { 171 void TestRenderWidgetHostView::StopSpeaking() {
172 } 172 }
173 173
174 bool TestRenderWidgetHostView::PostProcessEventForPluginIme(
175 const NativeWebKeyboardEvent& event) {
176 return false;
177 }
178
179 #endif 174 #endif
180 175
181 bool TestRenderWidgetHostView::GetScreenColorProfile( 176 bool TestRenderWidgetHostView::GetScreenColorProfile(
182 std::vector<char>* color_profile) { 177 std::vector<char>* color_profile) {
183 DCHECK(color_profile->empty()); 178 DCHECK(color_profile->empty());
184 return false; 179 return false;
185 } 180 }
186 181
187 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { 182 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() {
188 return gfx::Rect(); 183 return gfx::Rect();
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 311
317 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 312 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
318 return contents()->GetMainFrame(); 313 return contents()->GetMainFrame();
319 } 314 }
320 315
321 TestWebContents* RenderViewHostImplTestHarness::contents() { 316 TestWebContents* RenderViewHostImplTestHarness::contents() {
322 return static_cast<TestWebContents*>(web_contents()); 317 return static_cast<TestWebContents*>(web_contents());
323 } 318 }
324 319
325 } // namespace content 320 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | third_party/mozilla/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698