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

Side by Side Diff: chrome/browser/extensions/extension_offscreen_tabs_module_constants.h

Issue 7720002: Chrome Extensions chrome.experimental.offscreenTabs.* API implementation, docs, and test. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Constants used for the Tabs API and the Windows API.
6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_OFFSCREEN_TABS_MODULE_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_OFFSCREEN_TABS_MODULE_CONSTANTS_H_
9 #pragma once
10
11 namespace extension_offscreen_tabs_module_constants {
12
13 // offscreen tab keys
14 extern const char kIdKey[];
15 extern const char kUrlKey[];
16 extern const char kWidthKey[];
17 extern const char kHeightKey[];
18
19 // toDataUrl keys
20 extern const char kFormatKey[];
21 extern const char kQualityKey[];
22
23 // mouse keys
24 extern const char kMouseEventTypeKey[];
25 extern const char kMouseEventButtonKey[];
26 extern const char kMouseEventWheelDeltaXKey[];
27 extern const char kMouseEventWheelDeltaYKey[];
28 extern const char kMouseEventAltKeyKey[];
29 extern const char kMouseEventCtrlKeyKey[];
30 extern const char kMouseEventMetaKeyKey[];
31 extern const char kMouseEventShiftKeyKey[];
32
33 // toDataUrl values
34 extern const char kFormatValueJpeg[];
35 extern const char kFormatValuePng[];
36 extern const char kMimeTypeJpeg[];
37 extern const char kMimeTypePng[];
38
39 // mouse values
40 extern const char kMouseEventTypeValueMousedown[];
41 extern const char kMouseEventTypeValueMouseup[];
42 extern const char kMouseEventTypeValueClick[];
43 extern const char kMouseEventTypeValueMousemove[];
44 extern const char kMouseEventTypeValueMousewheel[];
45 extern const int kMouseEventButtonValueLeft;
46 extern const int kMouseEventButtonValueMiddle;
47 extern const int kMouseEventButtonValueRight;
48
49 // keyboard keys
50 extern const char kKeyboardEventTypeKey[];
51 extern const char kKeyboardEventCharCodeKey[];
52 extern const char kKeyboardEventKeyCodeKey[];
53 extern const char kKeyboardEventAltKeyKey[];
54 extern const char kKeyboardEventCtrlKeyKey[];
55 extern const char kKeyboardEventShiftKeyKey[];
56
57 // keyboard values
58 extern const char kKeyboardEventTypeValueKeypress[];
59 extern const char kKeyboardEventTypeValueKeydown[];
60 extern const char kKeyboardEventTypeValueKeyup[];
61
62 // errors
63 extern const char kInternalVisibleTabCaptureError[];
64 extern const char kInvalidKeyboardEventObjectError[];
65 extern const char kInvalidMouseEventObjectError[];
66 extern const char kInvalidUrlError[];
67 extern const char kNoCrashBrowserError[];
68 extern const char kNoCurrentWindowError[];
69 extern const char kNoMouseCoordinatesError[];
70 extern const char kOffscreenTabNotFoundError[];
71 extern const char kTabNotFoundError[];
72
73 }; // namespace extension_offscreen_tabs_module_constants
74
75 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_OFFSCREEN_TABS_MODULE_CONSTANTS_H _
76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698