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

Unified Diff: chrome/browser/printing/printing_ui_web_contents_observer.cc

Issue 506273004: Removed redundant PrintingUIWebContentsObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Aug 26 14:12:01 PDT 2014 Created 6 years, 4 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/printing/printing_ui_web_contents_observer.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printing_ui_web_contents_observer.cc
diff --git a/chrome/browser/printing/printing_ui_web_contents_observer.cc b/chrome/browser/printing/printing_ui_web_contents_observer.cc
deleted file mode 100644
index 71932c2f685881859c0fecd78ea08aebe5113d9e..0000000000000000000000000000000000000000
--- a/chrome/browser/printing/printing_ui_web_contents_observer.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/printing/printing_ui_web_contents_observer.h"
-
-#include "content/public/browser/browser_thread.h"
-#include "content/public/browser/web_contents.h"
-
-namespace printing {
-
-PrintingUIWebContentsObserver::PrintingUIWebContentsObserver(
- content::WebContents* web_contents)
- : content::WebContentsObserver(web_contents) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
-}
-
-PrintingUIWebContentsObserver::~PrintingUIWebContentsObserver() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
-}
-
-gfx::NativeView PrintingUIWebContentsObserver::GetParentView() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
- return web_contents() ? web_contents()->GetNativeView() : NULL;
-}
-
-} // namespace printing
« no previous file with comments | « chrome/browser/printing/printing_ui_web_contents_observer.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698