| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/browser/frame_host/interstitial_page_impl.h" | 5 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 return render_widget_host_delegate_->PreHandleKeyboardEvent( | 500 return render_widget_host_delegate_->PreHandleKeyboardEvent( |
| 501 event, is_keyboard_shortcut); | 501 event, is_keyboard_shortcut); |
| 502 } | 502 } |
| 503 | 503 |
| 504 void InterstitialPageImpl::HandleKeyboardEvent( | 504 void InterstitialPageImpl::HandleKeyboardEvent( |
| 505 const NativeWebKeyboardEvent& event) { | 505 const NativeWebKeyboardEvent& event) { |
| 506 if (enabled()) | 506 if (enabled()) |
| 507 render_widget_host_delegate_->HandleKeyboardEvent(event); | 507 render_widget_host_delegate_->HandleKeyboardEvent(event); |
| 508 } | 508 } |
| 509 | 509 |
| 510 #if defined(OS_WIN) && defined(USE_AURA) | 510 #if defined(OS_WIN) |
| 511 gfx::NativeViewAccessible | 511 gfx::NativeViewAccessible |
| 512 InterstitialPageImpl::GetParentNativeViewAccessible() { | 512 InterstitialPageImpl::GetParentNativeViewAccessible() { |
| 513 return render_widget_host_delegate_->GetParentNativeViewAccessible(); | 513 return render_widget_host_delegate_->GetParentNativeViewAccessible(); |
| 514 } | 514 } |
| 515 #endif | 515 #endif |
| 516 | 516 |
| 517 WebContents* InterstitialPageImpl::web_contents() const { | 517 WebContents* InterstitialPageImpl::web_contents() const { |
| 518 return web_contents_; | 518 return web_contents_; |
| 519 } | 519 } |
| 520 | 520 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 | 852 |
| 853 web_contents->GetDelegateView()->TakeFocus(reverse); | 853 web_contents->GetDelegateView()->TakeFocus(reverse); |
| 854 } | 854 } |
| 855 | 855 |
| 856 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( | 856 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( |
| 857 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 857 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
| 858 int active_match_ordinal, bool final_update) { | 858 int active_match_ordinal, bool final_update) { |
| 859 } | 859 } |
| 860 | 860 |
| 861 } // namespace content | 861 } // namespace content |
| OLD | NEW |