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

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

Issue 1810213009: blimp: Add settings to allow the client to download the whole page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@record_full_document
Patch Set: Minor comment fixes. 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 EngineSettingsMessage;
20 class InputMessage; 20 class InputMessage;
21 class NavigationMessage; 21 class NavigationMessage;
22 class RenderWidgetMessage; 22 class RenderWidgetMessage;
23 class SettingsMessage;
23 class SizeMessage; 24 class SizeMessage;
24 class StartConnectionMessage; 25 class StartConnectionMessage;
26 class TabControlMessage;
25 27
26 // Suite of helper methods to simplify the repetitive task of creating 28 // Suite of helper methods to simplify the repetitive task of creating
27 // new BlimpMessages, initializing them, and extracting type-specific 29 // new BlimpMessages, initializing them, and extracting type-specific
28 // inner messages. 30 // inner messages.
29 // 31 //
30 // 32 //
31 // Every specialization of CreateBlimpMessage returns an initialized 33 // Every specialization of CreateBlimpMessage returns an initialized
32 // BlimpMessage object. In addition, a pointer to the type-specific inner 34 // BlimpMessage object. In addition, a pointer to the type-specific inner
33 // message is returned via the initial double-pointer parameter. 35 // message is returned via the initial double-pointer parameter.
34 // 36 //
(...skipping 14 matching lines...) Expand all
49 NavigationMessage** navigation_message, 51 NavigationMessage** navigation_message,
50 int target_tab_id); 52 int target_tab_id);
51 53
52 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 54 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
53 RenderWidgetMessage** render_widget_message, 55 RenderWidgetMessage** render_widget_message,
54 int target_tab_id); 56 int target_tab_id);
55 57
56 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage( 58 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
57 SizeMessage** size_message); 59 SizeMessage** size_message);
58 60
61 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateBlimpMessage(
62 EngineSettingsMessage** engine_settings);
63
59 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateStartConnectionMessage( 64 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateStartConnectionMessage(
60 const std::string& client_token, 65 const std::string& client_token,
61 int protocol_version); 66 int protocol_version);
62 67
63 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateCheckpointAckMessage( 68 BLIMP_COMMON_EXPORT scoped_ptr<BlimpMessage> CreateCheckpointAckMessage(
64 int64_t checkpoint_id); 69 int64_t checkpoint_id);
65 70
66 } // namespace blimp 71 } // namespace blimp
67 72
68 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_ 73 #endif // BLIMP_COMMON_CREATE_BLIMP_MESSAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698