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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest.h"
10 #include "content/browser/frame_host/render_widget_host_view_guest.h" 10 #include "content/browser/frame_host/render_widget_host_view_guest.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 #if defined(TOOLKIT_GTK) 441 #if defined(TOOLKIT_GTK)
442 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { 442 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() {
443 return NULL; 443 return NULL;
444 } 444 }
445 445
446 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { 446 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() {
447 return platform_view_->BuildInputMethodsGtkMenu(); 447 return platform_view_->BuildInputMethodsGtkMenu();
448 } 448 }
449 #endif // defined(TOOLKIT_GTK) 449 #endif // defined(TOOLKIT_GTK)
450 450
451 #if defined(OS_WIN) && !defined(USE_AURA) 451 #if defined(OS_WIN)
452 void RenderWidgetHostViewGuest::WillWmDestroy() {
453 }
454 #endif
455
456 #if defined(OS_WIN) && defined(USE_AURA)
457 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( 452 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible(
458 gfx::NativeViewAccessible accessible_parent) { 453 gfx::NativeViewAccessible accessible_parent) {
459 } 454 }
460 455
461 gfx::NativeViewId RenderWidgetHostViewGuest::GetParentForWindowlessPlugin() 456 gfx::NativeViewId RenderWidgetHostViewGuest::GetParentForWindowlessPlugin()
462 const { 457 const {
463 return NULL; 458 return NULL;
464 } 459 }
465 #endif 460 #endif
466 461
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 return; 531 return;
537 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); 532 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin();
538 g_it != gestures->end(); 533 g_it != gestures->end();
539 ++g_it) { 534 ++g_it) {
540 ForwardGestureEventToRenderer(*g_it); 535 ForwardGestureEventToRenderer(*g_it);
541 } 536 }
542 } 537 }
543 538
544 539
545 } // namespace content 540 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698