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

Issue 10967003: Add desktop type context to most existing instances of FindTabbedBrowser. (Closed)

Created:
8 years, 3 months ago by robertshield
Modified:
8 years, 2 months ago
CC:
chromium-reviews, jam, MAD, kaiwang
Visibility:
Public.

Description

Add desktop type context to most existing instances of FindTabbedBrowser. BUG=129187 TEST=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=160039

Patch Set 1 #

Patch Set 2 : Moar context propagation. Not compiling yet. #

Patch Set 3 : Moar progress. Might compile soon. #

Patch Set 4 : #

Patch Set 5 : Removing FTB from extensions, captive_portal, profiles, inspector." #

Patch Set 6 : Profile manager, webui plumbing. Chrome.exe compiles on Windows! Tests probably don't. #

Patch Set 7 : Merge #

Patch Set 8 : Make browser_tests.exe compile. #

Patch Set 9 : Fix linux_chromeos compile errors. #

Patch Set 10 : Back out extension changes while I figure out the browser test failures. #

Patch Set 11 : Rebase to head. #

Patch Set 12 : Revert one more change to fix a failing browser test. #

Patch Set 13 : check_deps exclusion #

Patch Set 14 : Pre-review pass. #

Total comments: 6

Patch Set 15 : Adressing feedback. #

Patch Set 16 : Moving check_deps exception to specific_include_rules after chat with Kai. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -99 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/bookmarks/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/enrollment_dialog_view.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_handler_util.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager_util.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_manager_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/locale_change_guard.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/network_message_observer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/options/network_config_view.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/test/test_api.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/platform_util_chromeos.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/avatar_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +28 lines, -8 lines 0 comments Download
M chrome/browser/profiles/profile_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/protector/protector_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error.h View 1 2 3 4 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error.cc View 1 2 3 4 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_finder.h View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_finder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_navigator.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +24 lines, -9 lines 0 comments Download
M chrome/browser/ui/browser_win.cc View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/history_menu_cocoa_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/render_view_context_menu_win.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_contents_handler.cc View 1 2 3 3 chunks +23 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/manage_profile_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -1 line 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
robertshield
8 years, 2 months ago (2012-10-03 17:13:53 UTC) #1
Ben Goodger (Google)
lgtm http://codereview.chromium.org/10967003/diff/42047/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/10967003/diff/42047/chrome/browser/profiles/profile_manager.cc#newcode933 chrome/browser/profiles/profile_manager.cc:933: chrome::HostDesktopType desktop_type) { it's unfortunate to have ProfileManager ...
8 years, 2 months ago (2012-10-03 19:16:56 UTC) #2
robertshield
Thanks, nits addressed. +CC kaiwang for check_deps heads up. http://codereview.chromium.org/10967003/diff/42047/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/10967003/diff/42047/chrome/browser/profiles/profile_manager.cc#newcode933 chrome/browser/profiles/profile_manager.cc:933: ...
8 years, 2 months ago (2012-10-03 19:58:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/10967003/47010
8 years, 2 months ago (2012-10-04 00:33:01 UTC) #4
commit-bot: I haz the power
8 years, 2 months ago (2012-10-04 00:33:21 UTC) #5
Presubmit check for 10967003-47010 failed and returned exit status 1.


Running presubmit commit checks ...

** Presubmit Messages **
You added one or more #includes of files that are temporarily
allowed but being removed. Can you avoid introducing the
#include? See relevant DEPS file(s) for details and contacts.
  chrome/browser/bookmarks/bookmark_browsertest.cc
      Illegal include: "chrome/browser/ui/host_desktop.h"
    Because of "!chrome/browser/ui/host_desktop.h" from
chrome/browser/bookmarks's specific_include_rules. \
  chrome/browser/download/download_browsertest.cc
      Illegal include: "chrome/browser/ui/host_desktop.h"
    Because of "!chrome/browser/ui/host_desktop.h" from
chrome/browser/bookmarks's specific_include_rules. \
  chrome/browser/profiles/profile_manager_browsertest.cc
      Illegal include: "chrome/browser/ui/host_desktop.h"
    Because of "!chrome/browser/ui/host_desktop.h" from
chrome/browser/bookmarks's specific_include_rules.

** Presubmit ERRORS **
Banned functions were used.
    chrome/browser/captive_portal/captive_portal_browsertest.cc:2060:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/captive_portal/captive_portal_browsertest.cc:2090:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/chromeos/enrollment_dialog_view.cc:114:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/chromeos/extensions/file_manager_util.cc:223:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/chromeos/locale_change_guard.cc:86:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/profiles/profile_manager.cc:523:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/protector/settings_change_global_error.cc:107:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/browser_commands.cc:440:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/browser_navigator.cc:59:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/browser_navigator.cc:90:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/browser_win.cc:29:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm:97:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm:119:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/cocoa/history_menu_cocoa_controller.mm:43:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc:72:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
   
chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views_win.cc:125:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/views/tab_contents/render_view_context_menu_win.cc:62:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/webui/chrome_web_contents_handler.cc:48:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.
    chrome/browser/ui/webui/chrome_web_contents_handler.cc:99:
      This function is deprecated and we're working on removing it. Pass
      more context to get a Browser*, like a WebContents, window, or session
      id. Talk to ben@ or jam@ for more information.

Presubmit checks took 3.2s to calculate.

Powered by Google App Engine
This is Rietveld 408576698