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

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

Issue 21344002: Move native_app_window code to apps areas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to after mac app shim fix Created 7 years, 4 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 (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 "chrome/browser/ui/views/extensions/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"
11 #include "chrome/app/chrome_command_ids.h" 11 #include "chrome/app/chrome_command_ids.h"
12 #include "chrome/browser/extensions/extension_host.h" 12 #include "chrome/browser/extensions/extension_host.h"
13 #include "chrome/browser/favicon/favicon_tab_helper.h" 13 #include "chrome/browser/favicon/favicon_tab_helper.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h" 15 #include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views .h"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 739
740 void NativeAppWindowViews::HandleKeyboardEvent( 740 void NativeAppWindowViews::HandleKeyboardEvent(
741 const content::NativeWebKeyboardEvent& event) { 741 const content::NativeWebKeyboardEvent& event) {
742 unhandled_keyboard_event_handler_.HandleKeyboardEvent(event, 742 unhandled_keyboard_event_handler_.HandleKeyboardEvent(event,
743 GetFocusManager()); 743 GetFocusManager());
744 } 744 }
745 745
746 void NativeAppWindowViews::RenderViewHostChanged() { 746 void NativeAppWindowViews::RenderViewHostChanged() {
747 OnViewWasResized(); 747 OnViewWasResized();
748 } 748 }
749
750 //------------------------------------------------------------------------------
751 // NativeAppWindow::Create
752
753 // static
754 NativeAppWindow* NativeAppWindow::Create(
755 ShellWindow* shell_window, const ShellWindow::CreateParams& params) {
756 return new NativeAppWindowViews(shell_window, params);
757 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/apps/native_app_window_views.h ('k') | chrome/browser/ui/views/extensions/native_app_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698