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

Side by Side Diff: chrome/browser/devtools/devtools_protocol.h

Issue 2734123004: add a new set of commands to resize and position windows (Closed)
Patch Set: fix layout test Created 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 23 matching lines...) Expand all
34 std::unique_ptr<base::DictionaryValue> params); 34 std::unique_ptr<base::DictionaryValue> params);
35 35
36 static std::unique_ptr<base::DictionaryValue> CreateSuccessResponse( 36 static std::unique_ptr<base::DictionaryValue> CreateSuccessResponse(
37 int command_id, 37 int command_id,
38 std::unique_ptr<base::DictionaryValue> result); 38 std::unique_ptr<base::DictionaryValue> result);
39 39
40 static std::unique_ptr<base::DictionaryValue> CreateInvalidParamsResponse( 40 static std::unique_ptr<base::DictionaryValue> CreateInvalidParamsResponse(
41 int command_id, 41 int command_id,
42 const std::string& param); 42 const std::string& param);
43 43
44 static std::unique_ptr<base::DictionaryValue> CreateErrorResponse(
45 int command_id,
46 const std::string& error_message);
47
44 private: 48 private:
45 DevToolsProtocol() {} 49 DevToolsProtocol() {}
46 ~DevToolsProtocol() {} 50 ~DevToolsProtocol() {}
47 }; 51 };
48 52
49 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 53 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698