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

Side by Side Diff: chrome/browser/ui/browser.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
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/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 #include "chrome/browser/ui/singleton_tabs.h" 133 #include "chrome/browser/ui/singleton_tabs.h"
134 #include "chrome/browser/ui/status_bubble.h" 134 #include "chrome/browser/ui/status_bubble.h"
135 #include "chrome/browser/ui/sync/browser_synced_window_delegate.h" 135 #include "chrome/browser/ui/sync/browser_synced_window_delegate.h"
136 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" 136 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
137 #include "chrome/browser/ui/tab_contents/tab_contents.h" 137 #include "chrome/browser/ui/tab_contents/tab_contents.h"
138 #include "chrome/browser/ui/tabs/dock_info.h" 138 #include "chrome/browser/ui/tabs/dock_info.h"
139 #include "chrome/browser/ui/tabs/tab_menu_model.h" 139 #include "chrome/browser/ui/tabs/tab_menu_model.h"
140 #include "chrome/browser/ui/tabs/tab_strip_model.h" 140 #include "chrome/browser/ui/tabs/tab_strip_model.h"
141 #include "chrome/browser/ui/unload_controller.h" 141 #include "chrome/browser/ui/unload_controller.h"
142 #include "chrome/browser/ui/web_applications/web_app_ui.h" 142 #include "chrome/browser/ui/web_applications/web_app_ui.h"
143 #include "chrome/browser/ui/webui/feedback_ui.h"
144 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 143 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
145 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 144 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
146 #include "chrome/browser/ui/window_sizer/window_sizer.h" 145 #include "chrome/browser/ui/window_sizer/window_sizer.h"
147 #include "chrome/browser/upgrade_detector.h" 146 #include "chrome/browser/upgrade_detector.h"
148 #include "chrome/browser/web_applications/web_app.h" 147 #include "chrome/browser/web_applications/web_app.h"
149 #include "chrome/common/chrome_constants.h" 148 #include "chrome/common/chrome_constants.h"
150 #include "chrome/common/chrome_notification_types.h" 149 #include "chrome/common/chrome_notification_types.h"
151 #include "chrome/common/chrome_switches.h" 150 #include "chrome/common/chrome_switches.h"
152 #include "chrome/common/custom_handlers/protocol_handler.h" 151 #include "chrome/common/custom_handlers/protocol_handler.h"
153 #include "chrome/common/extensions/extension.h" 152 #include "chrome/common/extensions/extension.h"
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after
2291 if (contents && !allow_js_access) { 2290 if (contents && !allow_js_access) {
2292 contents->web_contents()->GetController().LoadURL( 2291 contents->web_contents()->GetController().LoadURL(
2293 target_url, 2292 target_url,
2294 content::Referrer(), 2293 content::Referrer(),
2295 content::PAGE_TRANSITION_LINK, 2294 content::PAGE_TRANSITION_LINK,
2296 std::string()); // No extra headers. 2295 std::string()); // No extra headers.
2297 } 2296 }
2298 2297
2299 return contents != NULL; 2298 return contents != NULL;
2300 } 2299 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_feedback_infobar_delegate.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698