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

Unified Diff: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.cc

Issue 9796012: Revert 127833 - Re-land alexbost's experimental offscreenTabs API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.cc
===================================================================
--- chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.cc (revision 127860)
+++ chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.cc (working copy)
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.h"
-
-namespace extensions {
-namespace offscreen_tabs_constants {
-
-const char kEventTypeKey[] = "type";
-const char kEventAltKeyKey[] = "altKey";
-const char kEventCtrlKeyKey[] = "ctrlKey";
-const char kEventMetaKeyKey[] = "metaKey";
-const char kEventShiftKeyKey[] = "shiftKey";
-
-const char kMouseEventButtonKey[] = "button";
-const char kMouseEventWheelDeltaXKey[] = "wheelDeltaX";
-const char kMouseEventWheelDeltaYKey[] = "wheelDeltaY";
-
-const char kMouseEventTypeValueMousedown[] = "mousedown";
-const char kMouseEventTypeValueMouseup[] = "mouseup";
-const char kMouseEventTypeValueClick[] = "click";
-const char kMouseEventTypeValueMousemove[] = "mousemove";
-const char kMouseEventTypeValueMousewheel[] = "mousewheel";
-const int kMouseEventButtonValueLeft = 0;
-const int kMouseEventButtonValueMiddle = 1;
-const int kMouseEventButtonValueRight = 2;
-
-const char kKeyboardEventCharCodeKey[] = "charCode";
-const char kKeyboardEventKeyCodeKey[] = "keyCode";
-
-const char kKeyboardEventTypeValueKeypress[] = "keypress";
-const char kKeyboardEventTypeValueKeydown[] = "keydown";
-const char kKeyboardEventTypeValueKeyup[] = "keyup";
-
-const char kCurrentTabNotFound[] = "No current tab found";
-const char kInvalidKeyboardEventObjectError[] =
- "Invalid or unexpected KeyboardEvent object";
-const char kInvalidMouseEventObjectError[] =
- "Invalid or unexpected MouseEvent object";
-const char kNoMouseCoordinatesError[] = "No mouse coordinates specified";
-const char kOffscreenTabNotFoundError[] = "No offscreen tab with id: *.";
-
-} // namespace offscreen_Tabs_constants
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698