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

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed)

Created:
8 years, 8 months ago by Avi (use Gerrit)
Modified:
8 years, 8 months ago
CC:
chromium-reviews, MAD, jar (doing other things), marja+watch_chromium.org, Raghu Simha, ncarter (slow), kkania, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, robertshield, rdsmith+dwatch_chromium.org, darin-cc_chromium.org, Ilya Sherman, tim (not reviewing), akalin
Visibility:
Public.

Description

Move notifications used only in chrome/ out of content/. Moved NOTIFICATION_TAB_ADDED, NOTIFICATION_TAB_PARENTED, and NOTIFICATION_TAB_CLOSING. Turned NOTIFICATION_TAB_CLOSED into NOTIFICATION_WEB_CONTENTS_DESTROYED. BUG=76698 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132449

Patch Set 1 #

Patch Set 2 : try, try again #

Patch Set 3 : ternary #

Patch Set 4 : four #

Patch Set 5 : five #

Patch Set 6 : six! #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -134 lines) Patch
M chrome/browser/alternate_nav_url_fetcher.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 5 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/automation/automation_tab_tracker.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/browser_keyevents_browsertest.cc View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/chrome_main_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/debugger/devtools_window.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_request_limiter.cc View 1 2 3 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_process_apitest.cc View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_tab_id_map.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google/google_url_tracker.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_interative_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/restore_tab_helper.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_service.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/session_change_processor.cc View 3 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/tab_restore_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tabs/tab_finder.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 2 chunks +8 lines, -7 lines 2 comments Download
M chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/unload_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/test/base/ui_test_utils.h View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_manager_browsertest.cc View 1 2 3 4 5 3 chunks +6 lines, -9 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_browsertest.cc View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/browser/notification_types.h View 1 chunk +1 line, -21 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Avi (use Gerrit)
ben: chrome/browser/ui/* chrome/browser/tabs marja: chrome/browser/sessions thestig: chrome/browser/printing atwilson: chrome/browser/sync jam: FYI Justification: NOTIFICATION_TAB_ADDED, NOTIFICATION_TAB_PARENTED, and ...
8 years, 8 months ago (2012-04-14 03:03:56 UTC) #1
marja
chrome/browser/sessions lgtm
8 years, 8 months ago (2012-04-14 07:20:58 UTC) #2
Andrew T Wilson (Slow)
browser/sync LGTM
8 years, 8 months ago (2012-04-14 23:29:29 UTC) #3
Avi (use Gerrit)
On 2012/04/14 03:03:56, Avi wrote: > jam: > FYI My mistake, sorry. John, please review ...
8 years, 8 months ago (2012-04-15 00:03:38 UTC) #4
jam
lgtm, nice i had it as a todo to look through all the notifications in ...
8 years, 8 months ago (2012-04-15 22:10:17 UTC) #5
jam
On 2012/04/15 22:10:17, John Abd-El-Malek wrote: > lgtm, nice > > i had it as ...
8 years, 8 months ago (2012-04-15 22:10:36 UTC) #6
Avi (use Gerrit)
On 2012/04/15 22:10:36, John Abd-El-Malek wrote: > do you know if there are any more ...
8 years, 8 months ago (2012-04-16 00:09:14 UTC) #7
Avi (use Gerrit)
http://codereview.chromium.org/10079023/diff/3042/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): http://codereview.chromium.org/10079023/diff/3042/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode231 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:231: ? static_cast<int>(chrome::NOTIFICATION_TAB_PARENTED) On 2012/04/15 22:10:18, John Abd-El-Malek wrote: > ...
8 years, 8 months ago (2012-04-16 00:09:38 UTC) #8
Ben Goodger (Google)
LGTM for browser/ui and browser/tabs
8 years, 8 months ago (2012-04-16 16:25:56 UTC) #9
Scott Byer
LGTM for printing.
8 years, 8 months ago (2012-04-16 17:53:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10079023/3042
8 years, 8 months ago (2012-04-16 17:57:13 UTC) #11
commit-bot: I haz the power
Change committed as 132449
8 years, 8 months ago (2012-04-16 19:38:46 UTC) #12
jam
8 years, 8 months ago (2012-04-17 03:19:56 UTC) #13
On 2012/04/16 00:09:38, Avi wrote:
>
http://codereview.chromium.org/10079023/diff/3042/chrome/browser/ui/omnibox/o...
> File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right):
> 
>
http://codereview.chromium.org/10079023/diff/3042/chrome/browser/ui/omnibox/o...
> chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:231: ?
> static_cast<int>(chrome::NOTIFICATION_TAB_PARENTED)
> On 2012/04/15 22:10:18, John Abd-El-Malek wrote:
> > nit: you shouldn't need a cast here?
> 
> It wouldn't be there if I didn't need it :) chrome::XXX and content:XXX are
two
> different types; you can't ?: them together without a cast because the
compiler
> won't know what type to make the result. (See the C++98 standard §5.16¶5; "if
> the overload resolution fails, the program is ill-formed".)

got it, thanks :)

Powered by Google App Engine
This is Rietveld 408576698