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

Side by Side Diff: chrome/browser/ui/views/apps/native_app_window_views.cc

Issue 23618036: Merge NOTIFICATION_RENDER_VIEW_HOST_CHANGED into NOTIFICATION_WEB_CONTENTS_SWAPPED. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 2 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 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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/apps/native_app_window_views.h ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698