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

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

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
« no previous file with comments | « chrome/browser/gpu/gpu_mode_manager.h ('k') | chrome/browser/gpu/three_d_api_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_
6 #define CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_ 6 #define CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
9 #include "content/public/browser/gpu_data_manager_observer.h" 10 #include "content/public/browser/gpu_data_manager_observer.h"
10 11
11 class ThreeDAPIObserver : public content::GpuDataManagerObserver { 12 class ThreeDAPIObserver : public content::GpuDataManagerObserver {
12 public: 13 public:
13 ThreeDAPIObserver(); 14 ThreeDAPIObserver();
14 ~ThreeDAPIObserver() override; 15 ~ThreeDAPIObserver() override;
15 16
16 private: 17 private:
17 void DidBlock3DAPIs(const GURL& top_origin_url, 18 void DidBlock3DAPIs(const GURL& top_origin_url,
18 int render_process_id, 19 int render_process_id,
19 int render_frame_id, 20 int render_frame_id,
20 content::ThreeDAPIType requester) override; 21 content::ThreeDAPIType requester) override;
21 22
22 DISALLOW_COPY_AND_ASSIGN(ThreeDAPIObserver); 23 DISALLOW_COPY_AND_ASSIGN(ThreeDAPIObserver);
23 }; 24 };
24 25
25 #endif // CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_ 26 #endif // CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/gpu/gpu_mode_manager.h ('k') | chrome/browser/gpu/three_d_api_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698