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

Unified Diff: chrome/browser/instant/instant_loader.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_loader.cc
===================================================================
--- chrome/browser/instant/instant_loader.cc (revision 91771)
+++ chrome/browser/instant/instant_loader.cc (working copy)
@@ -26,6 +26,7 @@
#include "chrome/browser/ui/download/download_tab_helper_delegate.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/render_messages.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -551,7 +552,7 @@
Details<const bool> details(&result);
NotificationService::current()->Notify(
- NotificationType::INSTANT_SUPPORT_DETERMINED,
+ chrome::INSTANT_SUPPORT_DETERMINED,
NotificationService::AllSources(),
details);
@@ -747,7 +748,7 @@
SetTakesFocusOnlyOnMouseDown(false);
registrar_.Remove(
this,
- NotificationType::RENDER_VIEW_HOST_CHANGED,
+ chrome::RENDER_VIEW_HOST_CHANGED,
Source<NavigationController>(&preview_contents_->controller()));
#endif
}
@@ -857,7 +858,7 @@
const NotificationSource& source,
const NotificationDetails& details) {
#if defined(OS_MACOSX)
- if (type.value == NotificationType::RENDER_VIEW_HOST_CHANGED) {
+ if (type.value == chrome::RENDER_VIEW_HOST_CHANGED) {
if (preview_contents_->tab_contents()->GetRenderWidgetHostView()) {
preview_contents_->tab_contents()->GetRenderWidgetHostView()->
SetTakesFocusOnlyOnMouseDown(true);

Powered by Google App Engine
This is Rietveld 408576698