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

Side by Side Diff: components/nacl/renderer/progress_event.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 #ifndef COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_ 5 #ifndef COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_
6 #define COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_ 6 #define COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "components/nacl/renderer/ppb_nacl_private.h" 12 #include "components/nacl/renderer/ppb_nacl_private.h"
11 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
12 14
13 namespace nacl { 15 namespace nacl {
14 16
15 // See http://www.w3.org/TR/progress-events/ for more details on progress 17 // See http://www.w3.org/TR/progress-events/ for more details on progress
16 // events. 18 // events.
17 struct ProgressEvent { 19 struct ProgressEvent {
(...skipping 26 matching lines...) Expand all
44 // Dispatches a progress event to the DOM frame corresponding to the specified 46 // Dispatches a progress event to the DOM frame corresponding to the specified
45 // plugin instance. 47 // plugin instance.
46 // This posts a task to the main thread to perform the actual dispatch, since 48 // This posts a task to the main thread to perform the actual dispatch, since
47 // it's usually intended for progress events to be dispatched after all other 49 // it's usually intended for progress events to be dispatched after all other
48 // state changes are handled. 50 // state changes are handled.
49 void DispatchProgressEvent(PP_Instance instance, const ProgressEvent& event); 51 void DispatchProgressEvent(PP_Instance instance, const ProgressEvent& event);
50 52
51 } // namespace nacl 53 } // namespace nacl
52 54
53 #endif // COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_ 55 #endif // COMPONENTS_NACL_RENDERER_NEXE_PROGRESS_EVENT_H_
OLDNEW
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/nacl/renderer/trusted_plugin_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698