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

Side by Side Diff: chrome/browser/chromeos/login/eula_view.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/eula_view.h" 5 #include "chrome/browser/chromeos/login/eula_view.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <string> 9 #include <string>
10 10
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/chromeos/customization_document.h" 16 #include "chrome/browser/chromeos/customization_document.h"
17 #include "chrome/browser/chromeos/login/network_screen_delegate.h" 17 #include "chrome/browser/chromeos/login/network_screen_delegate.h"
18 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" 18 #include "chrome/browser/chromeos/login/rounded_rect_painter.h"
19 #include "chrome/browser/chromeos/login/wizard_controller.h" 19 #include "chrome/browser/chromeos/login/wizard_controller.h"
20 #include "chrome/browser/options_util.h" 20 #include "chrome/browser/options_util.h"
21 #include "chrome/browser/pref_service.h" 21 #include "chrome/browser/pref_service.h"
22 #include "chrome/browser/profile_manager.h" 22 #include "chrome/browser/profile_manager.h"
23 #include "chrome/browser/renderer_host/site_instance.h" 23 #include "chrome/browser/renderer_host/site_instance.h"
24 #include "chrome/browser/tab_contents/tab_contents.h" 24 #include "chrome/browser/tab_contents/tab_contents.h"
25 #include "chrome/browser/views/dom_view.h" 25 #include "chrome/browser/views/dom_view.h"
26 #include "chrome/common/native_web_keyboard_event.h"
26 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
27 #include "chrome/installer/util/google_update_settings.h" 28 #include "chrome/installer/util/google_update_settings.h"
28 #include "grit/chromium_strings.h" 29 #include "grit/chromium_strings.h"
29 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
30 #include "grit/theme_resources.h" 31 #include "grit/theme_resources.h"
31 #include "views/controls/button/checkbox.h" 32 #include "views/controls/button/checkbox.h"
32 #include "views/controls/button/native_button.h" 33 #include "views/controls/button/native_button.h"
33 #include "views/controls/label.h" 34 #include "views/controls/label.h"
34 #include "views/grid_layout.h" 35 #include "views/grid_layout.h"
35 #include "views/layout_manager.h" 36 #include "views/layout_manager.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 329 }
329 } 330 }
330 331
331 void EulaView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { 332 void EulaView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
332 views::Widget* widget = GetWidget(); 333 views::Widget* widget = GetWidget();
333 if (widget && event.os_event && !event.skip_in_browser) 334 if (widget && event.os_event && !event.skip_in_browser)
334 static_cast<views::WidgetGtk*>(widget)->HandleKeyboardEvent(event.os_event); 335 static_cast<views::WidgetGtk*>(widget)->HandleKeyboardEvent(event.os_event);
335 } 336 }
336 337
337 } // namespace chromeos 338 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/panel_controller.cc ('k') | chrome/browser/chromeos/offline/offline_load_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698