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

Side by Side Diff: chrome/browser/banners/app_banner_manager.cc

Issue 1920263003: Rename gfx::Display/Screen to display::Display/Screen in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/banners/app_banner_manager.h" 5 #include "chrome/browser/banners/app_banner_manager.h"
6 6
7 #include "chrome/browser/banners/app_banner_data_fetcher.h" 7 #include "chrome/browser/banners/app_banner_data_fetcher.h"
8 #include "chrome/browser/banners/app_banner_debug_log.h" 8 #include "chrome/browser/banners/app_banner_debug_log.h"
9 #include "chrome/browser/banners/app_banner_settings_helper.h" 9 #include "chrome/browser/banners/app_banner_settings_helper.h"
10 #include "content/public/browser/navigation_details.h" 10 #include "content/public/browser/navigation_details.h"
11 #include "content/public/browser/render_frame_host.h" 11 #include "content/public/browser/render_frame_host.h"
12 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
13 #include "content/public/common/frame_navigate_params.h" 13 #include "content/public/common/frame_navigate_params.h"
14 #include "content/public/common/origin_util.h" 14 #include "content/public/common/origin_util.h"
15 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
16 #include "ui/gfx/screen.h"
17 16
18 namespace { 17 namespace {
19 bool gDisableSecureCheckForTesting = false; 18 bool gDisableSecureCheckForTesting = false;
20 } // anonymous namespace 19 } // anonymous namespace
21 20
22 namespace banners { 21 namespace banners {
23 22
24 void AppBannerManager::DisableSecureSchemeCheckForTesting() { 23 void AppBannerManager::DisableSecureSchemeCheckForTesting() {
25 gDisableSecureCheckForTesting = true; 24 gDisableSecureCheckForTesting = true;
26 } 25 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 116 }
118 117
119 void AppBannerManager::CancelActiveFetcher() { 118 void AppBannerManager::CancelActiveFetcher() {
120 if (data_fetcher_ != nullptr) { 119 if (data_fetcher_ != nullptr) {
121 data_fetcher_->Cancel(); 120 data_fetcher_->Cancel();
122 data_fetcher_ = nullptr; 121 data_fetcher_ = nullptr;
123 } 122 }
124 } 123 }
125 124
126 } // namespace banners 125 } // namespace banners
OLDNEW
« no previous file with comments | « chrome/browser/banners/app_banner_data_fetcher.cc ('k') | chrome/browser/chromeos/accessibility/chromevox_panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698