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

Unified Diff: chrome/browser/tab_first_render_watcher.h

Issue 8417005: Share TabFirstRenderWatcher with HtmlDialogView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/tab_first_render_watcher.cc ('k') | chrome/browser/tab_first_render_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_first_render_watcher.h
diff --git a/chrome/browser/chromeos/tab_first_render_watcher.h b/chrome/browser/tab_first_render_watcher.h
similarity index 82%
rename from chrome/browser/chromeos/tab_first_render_watcher.h
rename to chrome/browser/tab_first_render_watcher.h
index 22218c2e1e769c66631ab3f8645886c05d767f0e..d09f3b8b7d744c576887b81e9de1f1855dd58a17 100644
--- a/chrome/browser/chromeos/tab_first_render_watcher.h
+++ b/chrome/browser/tab_first_render_watcher.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_TAB_FIRST_RENDER_WATCHER_H_
-#define CHROME_BROWSER_CHROMEOS_TAB_FIRST_RENDER_WATCHER_H_
+#ifndef CHROME_BROWSER_TAB_FIRST_RENDER_WATCHER_H_
+#define CHROME_BROWSER_TAB_FIRST_RENDER_WATCHER_H_
#pragma once
#include "base/compiler_specific.h"
@@ -13,10 +13,7 @@
class RenderViewHost;
class TabContents;
-namespace chromeos {
-
// This class watches given TabContent's loading and rendering state change.
-// TODO(xiyuan): Move this to a proper place and share with HTMLDialogView.
class TabFirstRenderWatcher : public content::NotificationObserver {
public:
class Delegate {
@@ -52,6 +49,4 @@ class TabFirstRenderWatcher : public content::NotificationObserver {
DISALLOW_COPY_AND_ASSIGN(TabFirstRenderWatcher);
};
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_TAB_FIRST_RENDER_WATCHER_H_
+#endif // CHROME_BROWSER_TAB_FIRST_RENDER_WATCHER_H_
« no previous file with comments | « chrome/browser/chromeos/tab_first_render_watcher.cc ('k') | chrome/browser/tab_first_render_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698