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

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

Issue 2808923002: Revert of add a new set of commands to resize and position windows (patchset #35 id:680001 of https… (Closed)
Patch Set: Created 3 years, 8 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
48 private: 44 private:
49 DevToolsProtocol() {} 45 DevToolsProtocol() {}
50 ~DevToolsProtocol() {} 46 ~DevToolsProtocol() {}
51 }; 47 };
52 48
53 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 49 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/chrome_devtools_manager_delegate.cc ('k') | chrome/browser/devtools/devtools_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698