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

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

Issue 1779673003: Added network components for blimp text input feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 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 <string> 10 #include <string>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "blimp/common/blimp_common_export.h" 13 #include "blimp/common/blimp_common_export.h"
14 14
15 namespace blimp { 15 namespace blimp {
16 16
17 class BlimpMessage; 17 class BlimpMessage;
18 class CompositorMessage; 18 class CompositorMessage;
19 class TabControlMessage; 19 class TabControlMessage;
20 class ImeMessage;
nyquist 2016/03/10 00:57:13 Could you make these adhere to alphabetical orderi
20 class InputMessage; 21 class InputMessage;
21 class NavigationMessage; 22 class NavigationMessage;
22 class RenderWidgetMessage; 23 class RenderWidgetMessage;
23 class SizeMessage; 24 class SizeMessage;
24 class StartConnectionMessage; 25 class StartConnectionMessage;
25 26
26 // Suite of helper methods to simplify the repetitive task of creating 27 // Suite of helper methods to simplify the repetitive task of creating
27 // new BlimpMessages, initializing them, and extracting type-specific 28 // new BlimpMessages, initializing them, and extracting type-specific
28 // inner messages. 29 // inner messages.
29 // 30 //
(...skipping 13 matching lines...) Expand all
43 TabControlMessage** control_message); 44 TabControlMessage** control_message);
44 45
45 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 46 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
46 InputMessage** input_message); 47 InputMessage** input_message);
47 48
48 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 49 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
49 NavigationMessage** navigation_message, 50 NavigationMessage** navigation_message,
50 int target_tab_id); 51 int target_tab_id);
51 52
52 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 53 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
54 ImeMessage** ime_message);
55
56 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
53 RenderWidgetMessage** render_widget_message, 57 RenderWidgetMessage** render_widget_message,
54 int target_tab_id); 58 int target_tab_id);
55 59
56 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 60 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
57 SizeMessage** size_message); 61 SizeMessage** size_message);
58 62
59 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateStartConnectionMessage( 63 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateStartConnectionMessage(
60 const std::string& client_token, 64 const std::string& client_token,
61 int protocol_version); 65 int protocol_version);
62 66
63 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateCheckpointAckMessage( 67 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateCheckpointAckMessage(
64 int64_t checkpoint_id); 68 int64_t checkpoint_id);
65 69
66 } // namespace blimp 70 } // namespace blimp
67 71
68 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_ 72 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698