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

Side by Side Diff: blimp/common/create_blimp_message.h

Issue 2539183002: blimp: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 #ifndef BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_ 5 #ifndef BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_
6 #define BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_ 6 #define BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "blimp/common/blimp_common_export.h" 13 #include "blimp/common/blimp_common_export.h"
14 #include "blimp/common/proto/protocol_control.pb.h" 14 #include "blimp/common/proto/protocol_control.pb.h"
15 15
16 namespace blimp { 16 namespace blimp {
17 17
18 class BlimpMessage; 18 class BlimpMessage;
19 class BlobChannelMessage; 19 class BlobChannelMessage;
20 class CompositorMessage; 20 class CompositorMessage;
21 class EngineSettingsMessage; 21 class EngineSettingsMessage;
22 class GeolocationMessage; 22 class GeolocationMessage;
23 class ImeMessage; 23 class ImeMessage;
24 class InputMessage; 24 class InputMessage;
25 class NavigationMessage; 25 class NavigationMessage;
26 class RenderWidgetMessage; 26 class RenderWidgetMessage;
27 class SettingsMessage;
28 class SizeMessage; 27 class SizeMessage;
29 class TabControlMessage; 28 class TabControlMessage;
30 29
31 // Suite of helper methods to simplify the repetitive task of creating 30 // Suite of helper methods to simplify the repetitive task of creating
32 // new BlimpMessages, initializing them, and extracting type-specific 31 // new BlimpMessages, initializing them, and extracting type-specific
33 // inner messages. 32 // inner messages.
34 // 33 //
35 // 34 //
36 // Every specialization of CreateBlimpMessage returns an initialized 35 // Every specialization of CreateBlimpMessage returns an initialized
37 // BlimpMessage object. In addition, a pointer to the type-specific inner 36 // BlimpMessage object. In addition, a pointer to the type-specific inner
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 79
81 BLIMP_COMMON_EXPORT std::unique_ptr<BlimpMessage> CreateCheckpointAckMessage( 80 BLIMP_COMMON_EXPORT std::unique_ptr<BlimpMessage> CreateCheckpointAckMessage(
82 int64_t checkpoint_id); 81 int64_t checkpoint_id);
83 82
84 BLIMP_COMMON_EXPORT std::unique_ptr<BlimpMessage> CreateEndConnectionMessage( 83 BLIMP_COMMON_EXPORT std::unique_ptr<BlimpMessage> CreateEndConnectionMessage(
85 EndConnectionMessage::Reason reason); 84 EndConnectionMessage::Reason reason);
86 85
87 } // namespace blimp 86 } // namespace blimp
88 87
89 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_ 88 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_
OLDNEW
« no previous file with comments | « blimp/client/test/compositor/test_blimp_embedder_compositor.h ('k') | blimp/engine/app/blimp_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698