| Index: chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
|
| diff --git a/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc b/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
|
| index 2fedeac10ccf8471fb7c145f21e94732ae414c5d..a478c9be155a7803f95e97be1aeb6a8b60427570 100644
|
| --- a/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
|
| +++ b/chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc
|
| @@ -7,8 +7,6 @@
|
| #include "chrome/browser/download/download_stats.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| -#include "chrome/browser/ui/browser_window.h"
|
| -#include "chrome/browser/ui/location_bar/location_bar.h"
|
| #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
|
| #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h"
|
|
|
| @@ -33,23 +31,6 @@ ChromePDFWebContentsHelperClient::ChromePDFWebContentsHelperClient() {
|
| ChromePDFWebContentsHelperClient::~ChromePDFWebContentsHelperClient() {
|
| }
|
|
|
| -void ChromePDFWebContentsHelperClient::UpdateLocationBar(
|
| - content::WebContents* contents) {
|
| - Browser* browser = chrome::FindBrowserWithWebContents(contents);
|
| - if (!browser)
|
| - return;
|
| -
|
| - BrowserWindow* window = browser->window();
|
| - if (!window)
|
| - return;
|
| -
|
| - LocationBar* location_bar = window->GetLocationBar();
|
| - if (!location_bar)
|
| - return;
|
| -
|
| - location_bar->UpdateOpenPDFInReaderPrompt();
|
| -}
|
| -
|
| void ChromePDFWebContentsHelperClient::UpdateContentRestrictions(
|
| content::WebContents* contents,
|
| int content_restrictions) {
|
|
|