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 "chrome/browser/ui/views/apps/native_app_window_views.h" | 5 #include "chrome/browser/ui/views/apps/native_app_window_views.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 draggable_region_.reset(ShellWindow::RawDraggableRegionsToSkRegion(regions)); | 779 draggable_region_.reset(ShellWindow::RawDraggableRegionsToSkRegion(regions)); |
780 OnViewWasResized(); | 780 OnViewWasResized(); |
781 } | 781 } |
782 | 782 |
783 void NativeAppWindowViews::HandleKeyboardEvent( | 783 void NativeAppWindowViews::HandleKeyboardEvent( |
784 const content::NativeWebKeyboardEvent& event) { | 784 const content::NativeWebKeyboardEvent& event) { |
785 unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, | 785 unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, |
786 GetFocusManager()); | 786 GetFocusManager()); |
787 } | 787 } |
788 | 788 |
789 void NativeAppWindowViews::RenderViewHostChanged() { | 789 void NativeAppWindowViews::RenderViewHostChanged( |
| 790 content::RenderViewHost* old_host, |
| 791 content::RenderViewHost* new_host) { |
790 OnViewWasResized(); | 792 OnViewWasResized(); |
791 } | 793 } |
OLD | NEW |