OLD | NEW |
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 "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/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 void RenderWidgetHostViewGuest::SetBackground(const SkBitmap& background) { | 369 void RenderWidgetHostViewGuest::SetBackground(const SkBitmap& background) { |
370 platform_view_->SetBackground(background); | 370 platform_view_->SetBackground(background); |
371 } | 371 } |
372 | 372 |
373 #if defined(OS_WIN) && !defined(USE_AURA) | 373 #if defined(OS_WIN) && !defined(USE_AURA) |
374 void RenderWidgetHostViewGuest::SetClickthroughRegion(SkRegion* region) { | 374 void RenderWidgetHostViewGuest::SetClickthroughRegion(SkRegion* region) { |
375 } | 375 } |
376 #endif | 376 #endif |
377 | 377 |
378 #if defined(OS_WIN) && defined(USE_AURA) | |
379 gfx::NativeViewAccessible | |
380 RenderWidgetHostViewGuest::AccessibleObjectFromChildId(long child_id) { | |
381 NOTIMPLEMENTED(); | |
382 return NULL; | |
383 } | |
384 #endif | |
385 | |
386 void RenderWidgetHostViewGuest::SetHasHorizontalScrollbar( | 378 void RenderWidgetHostViewGuest::SetHasHorizontalScrollbar( |
387 bool has_horizontal_scrollbar) { | 379 bool has_horizontal_scrollbar) { |
388 platform_view_->SetHasHorizontalScrollbar(has_horizontal_scrollbar); | 380 platform_view_->SetHasHorizontalScrollbar(has_horizontal_scrollbar); |
389 } | 381 } |
390 | 382 |
391 void RenderWidgetHostViewGuest::SetScrollOffsetPinning( | 383 void RenderWidgetHostViewGuest::SetScrollOffsetPinning( |
392 bool is_pinned_to_left, bool is_pinned_to_right) { | 384 bool is_pinned_to_left, bool is_pinned_to_right) { |
393 platform_view_->SetScrollOffsetPinning( | 385 platform_view_->SetScrollOffsetPinning( |
394 is_pinned_to_left, is_pinned_to_right); | 386 is_pinned_to_left, is_pinned_to_right); |
395 } | 387 } |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 return; | 568 return; |
577 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 569 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
578 g_it != gestures->end(); | 570 g_it != gestures->end(); |
579 ++g_it) { | 571 ++g_it) { |
580 ForwardGestureEventToRenderer(*g_it); | 572 ForwardGestureEventToRenderer(*g_it); |
581 } | 573 } |
582 } | 574 } |
583 | 575 |
584 | 576 |
585 } // namespace content | 577 } // namespace content |
OLD | NEW |