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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10834107: chrome: Refactor the way to show the feedback ui and move it into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_pages Created 8 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
« no previous file with comments | « chrome/browser/ui/chrome_pages.h ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" 64 #include "chrome/browser/ui/views/location_bar/location_icon_view.h"
65 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h" 65 #include "chrome/browser/ui/views/omnibox/omnibox_view_views.h"
66 #include "chrome/browser/ui/views/omnibox/omnibox_views.h" 66 #include "chrome/browser/ui/views/omnibox/omnibox_views.h"
67 #include "chrome/browser/ui/views/password_generation_bubble_view.h" 67 #include "chrome/browser/ui/views/password_generation_bubble_view.h"
68 #include "chrome/browser/ui/views/status_bubble_views.h" 68 #include "chrome/browser/ui/views/status_bubble_views.h"
69 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" 69 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h"
70 #include "chrome/browser/ui/views/tabs/tab_strip.h" 70 #include "chrome/browser/ui/views/tabs/tab_strip.h"
71 #include "chrome/browser/ui/views/toolbar_view.h" 71 #include "chrome/browser/ui/views/toolbar_view.h"
72 #include "chrome/browser/ui/views/update_recommended_message_box.h" 72 #include "chrome/browser/ui/views/update_recommended_message_box.h"
73 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h " 73 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h "
74 #include "chrome/browser/ui/webui/feedback_ui.h"
75 #include "chrome/browser/ui/window_sizer/window_sizer.h" 74 #include "chrome/browser/ui/window_sizer/window_sizer.h"
76 #include "chrome/common/chrome_notification_types.h" 75 #include "chrome/common/chrome_notification_types.h"
77 #include "chrome/common/chrome_switches.h" 76 #include "chrome/common/chrome_switches.h"
78 #include "chrome/common/extensions/extension_resource.h" 77 #include "chrome/common/extensions/extension_resource.h"
79 #include "chrome/common/pref_names.h" 78 #include "chrome/common/pref_names.h"
80 #include "chrome/common/url_constants.h" 79 #include "chrome/common/url_constants.h"
81 #include "content/public/browser/download_manager.h" 80 #include "content/public/browser/download_manager.h"
82 #include "content/public/browser/native_web_keyboard_event.h" 81 #include "content/public/browser/native_web_keyboard_event.h"
83 #include "content/public/browser/notification_service.h" 82 #include "content/public/browser/notification_service.h"
84 #include "content/public/browser/render_view_host.h" 83 #include "content/public/browser/render_view_host.h"
(...skipping 2518 matching lines...) Expand 10 before | Expand all | Expand 10 after
2603 if (contents && contents->GetContentNativeView() && 2602 if (contents && contents->GetContentNativeView() &&
2604 contents->GetContentNativeView()->HasFocus()) { 2603 contents->GetContentNativeView()->HasFocus()) {
2605 (contents->GetRenderViewHost()->*method)(); 2604 (contents->GetRenderViewHost()->*method)();
2606 return true; 2605 return true;
2607 } 2606 }
2608 #elif defined(OS_WIN) 2607 #elif defined(OS_WIN)
2609 // TODO(yusukes): Support non-Aura Windows. 2608 // TODO(yusukes): Support non-Aura Windows.
2610 #endif 2609 #endif
2611 return false; 2610 return false;
2612 } 2611 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/chrome_pages.h ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698