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

Side by Side Diff: chrome/browser/gpu/three_d_api_observer.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/gpu/three_d_api_observer.h" 5 #include "chrome/browser/gpu/three_d_api_observer.h"
6 6
7 #include "base/macros.h"
7 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
8 #include "chrome/browser/infobars/infobar_service.h" 9 #include "chrome/browser/infobars/infobar_service.h"
9 #include "chrome/browser/tab_contents/tab_util.h" 10 #include "chrome/browser/tab_contents/tab_util.h"
10 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
11 #include "components/infobars/core/confirm_infobar_delegate.h" 12 #include "components/infobars/core/confirm_infobar_delegate.h"
12 #include "components/infobars/core/infobar.h" 13 #include "components/infobars/core/infobar.h"
13 #include "content/public/browser/gpu_data_manager.h" 14 #include "content/public/browser/gpu_data_manager.h"
14 #include "grit/components_strings.h" 15 #include "grit/components_strings.h"
15 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 int render_process_id, 169 int render_process_id,
169 int render_frame_id, 170 int render_frame_id,
170 content::ThreeDAPIType requester) { 171 content::ThreeDAPIType requester) {
171 content::WebContents* web_contents = tab_util::GetWebContentsByFrameID( 172 content::WebContents* web_contents = tab_util::GetWebContentsByFrameID(
172 render_process_id, render_frame_id); 173 render_process_id, render_frame_id);
173 if (!web_contents) 174 if (!web_contents)
174 return; 175 return;
175 ThreeDAPIInfoBarDelegate::Create( 176 ThreeDAPIInfoBarDelegate::Create(
176 InfoBarService::FromWebContents(web_contents), top_origin_url, requester); 177 InfoBarService::FromWebContents(web_contents), top_origin_url, requester);
177 } 178 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu/three_d_api_observer.h ('k') | chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698