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

Side by Side Diff: chrome/browser/chromeos/login/ui/webui_login_view.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/login/ui/webui_login_view.h" 5 #include "chrome/browser/chromeos/login/ui/webui_login_view.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 24 matching lines...) Expand all
35 #include "components/web_modal/web_contents_modal_dialog_manager.h" 35 #include "components/web_modal/web_contents_modal_dialog_manager.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/render_frame_host.h" 37 #include "content/public/browser/render_frame_host.h"
38 #include "content/public/browser/render_view_host.h" 38 #include "content/public/browser/render_view_host.h"
39 #include "content/public/browser/render_widget_host_view.h" 39 #include "content/public/browser/render_widget_host_view.h"
40 #include "content/public/browser/web_contents.h" 40 #include "content/public/browser/web_contents.h"
41 #include "content/public/browser/web_ui.h" 41 #include "content/public/browser/web_ui.h"
42 #include "content/public/common/renderer_preferences.h" 42 #include "content/public/common/renderer_preferences.h"
43 #include "third_party/WebKit/public/web/WebInputEvent.h" 43 #include "third_party/WebKit/public/web/WebInputEvent.h"
44 #include "ui/gfx/geometry/rect.h" 44 #include "ui/gfx/geometry/rect.h"
45 #include "ui/gfx/size.h" 45 #include "ui/gfx/geometry/size.h"
46 #include "ui/views/controls/webview/webview.h" 46 #include "ui/views/controls/webview/webview.h"
47 #include "ui/views/widget/widget.h" 47 #include "ui/views/widget/widget.h"
48 48
49 using content::NativeWebKeyboardEvent; 49 using content::NativeWebKeyboardEvent;
50 using content::RenderViewHost; 50 using content::RenderViewHost;
51 using content::WebContents; 51 using content::WebContents;
52 using web_modal::WebContentsModalDialogManager; 52 using web_modal::WebContentsModalDialogManager;
53 53
54 namespace { 54 namespace {
55 55
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 webui_visible_ = true; 506 webui_visible_ = true;
507 } 507 }
508 508
509 void WebUILoginView::ReturnFocus(bool reverse) { 509 void WebUILoginView::ReturnFocus(bool reverse) {
510 // Return the focus to the web contents. 510 // Return the focus to the web contents.
511 webui_login_->web_contents()->FocusThroughTabTraversal(reverse); 511 webui_login_->web_contents()->FocusThroughTabTraversal(reverse);
512 GetWidget()->Activate(); 512 GetWidget()->Activate();
513 } 513 }
514 514
515 } // namespace chromeos 515 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/user_adding_screen.cc ('k') | chrome/browser/chromeos/net/network_portal_web_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698