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

Side by Side Diff: chrome/browser/ui/sad_tab_helper.cc

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
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/sad_tab_helper.h" 5 #include "chrome/browser/ui/sad_tab_helper.h"
6 6
7 #include "base/logging.h"
7 #include "chrome/browser/browser_shutdown.h" 8 #include "chrome/browser/browser_shutdown.h"
8 #include "content/public/browser/notification_source.h" 9 #include "content/public/browser/notification_source.h"
9 #include "content/public/browser/notification_types.h" 10 #include "content/public/browser/notification_types.h"
10 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
11 #include "content/public/browser/web_contents_view.h" 12 #include "content/public/browser/web_contents_view.h"
12 13
13 #if defined(OS_MACOSX) 14 #if defined(OS_MACOSX)
14 #include "chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h" 15 #include "chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h"
15 #elif defined(TOOLKIT_VIEWS) 16 #elif defined(TOOLKIT_VIEWS)
16 #include "chrome/browser/ui/views/sad_tab_view.h" 17 #include "chrome/browser/ui/views/sad_tab_view.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 gtk_container_add(GTK_CONTAINER(expanded_container), sad_tab_->widget()); 129 gtk_container_add(GTK_CONTAINER(expanded_container), sad_tab_->widget());
129 gtk_widget_show(sad_tab_->widget()); 130 gtk_widget_show(sad_tab_->widget());
130 #else 131 #else
131 #error Unknown platform 132 #error Unknown platform
132 #endif 133 #endif
133 } 134 }
134 135
135 bool SadTabHelper::HasSadTab() { 136 bool SadTabHelper::HasSadTab() {
136 return sad_tab_.get() != NULL; 137 return sad_tab_.get() != NULL;
137 } 138 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698