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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_fullscreen_host.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_ 6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
10 #include "ppapi/host/resource_host.h" 12 #include "ppapi/host/resource_host.h"
11 13
12 namespace content { 14 namespace content {
13 class RendererPpapiHost; 15 class RendererPpapiHost;
14 } 16 }
15 17
16 class PepperFlashFullscreenHost : public ppapi::host::ResourceHost { 18 class PepperFlashFullscreenHost : public ppapi::host::ResourceHost {
17 public: 19 public:
18 PepperFlashFullscreenHost(content::RendererPpapiHost* host, 20 PepperFlashFullscreenHost(content::RendererPpapiHost* host,
19 PP_Instance instance, 21 PP_Instance instance,
20 PP_Resource resource); 22 PP_Resource resource);
21 ~PepperFlashFullscreenHost() override; 23 ~PepperFlashFullscreenHost() override;
22 24
23 int32_t OnResourceMessageReceived( 25 int32_t OnResourceMessageReceived(
24 const IPC::Message& msg, 26 const IPC::Message& msg,
25 ppapi::host::HostMessageContext* context) override; 27 ppapi::host::HostMessageContext* context) override;
26 28
27 private: 29 private:
28 int32_t OnSetFullscreen(ppapi::host::HostMessageContext* context, 30 int32_t OnSetFullscreen(ppapi::host::HostMessageContext* context,
29 bool fullscreen); 31 bool fullscreen);
30 32
31 // Non-owning pointer. 33 // Non-owning pointer.
32 content::RendererPpapiHost* renderer_ppapi_host_; 34 content::RendererPpapiHost* renderer_ppapi_host_;
33 35
34 DISALLOW_COPY_AND_ASSIGN(PepperFlashFullscreenHost); 36 DISALLOW_COPY_AND_ASSIGN(PepperFlashFullscreenHost);
35 }; 37 };
36 38
37 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_ 39 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_font_file_host.h ('k') | chrome/renderer/pepper/pepper_flash_menu_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698