diff options
Diffstat (limited to 'extensions/common/guest_view/guest_view_constants.cc')
-rw-r--r-- | extensions/common/guest_view/guest_view_constants.cc | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/extensions/common/guest_view/guest_view_constants.cc b/extensions/common/guest_view/guest_view_constants.cc deleted file mode 100644 index f5acd35..0000000 --- a/extensions/common/guest_view/guest_view_constants.cc +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2014 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 "extensions/common/guest_view/guest_view_constants.h" - -namespace guestview { - -// Sizing attributes/parameters. -const char kAttributeAutoSize[] = "autosize"; -const char kAttributeMaxHeight[] = "maxheight"; -const char kAttributeMaxWidth[] = "maxwidth"; -const char kAttributeMinHeight[] = "minheight"; -const char kAttributeMinWidth[] = "minwidth"; -const char kElementWidth[] = "elementWidth"; -const char kElementHeight[] = "elementHeight"; -const char kElementSizeIsLogical[] = "elementSizeIsLogical"; - -// Events. -const char kEventResize[] = "guestViewInternal.onResize"; - -// Parameters/properties on events. -const char kCode[] = "code"; -const char kContentWindowID[] = "contentWindowId"; -const char kID[] = "id"; -const char kIsTopLevel[] = "isTopLevel"; -const char kNewWidth[] = "newWidth"; -const char kNewHeight[] = "newHeight"; -const char kOldWidth[] = "oldWidth"; -const char kOldHeight[] = "oldHeight"; -const char kReason[] = "reason"; -const char kUrl[] = "url"; -const char kUserGesture[] = "userGesture"; - -// Initialization parameters. -const char kParameterApi[] = "api"; -const char kParameterInstanceId[] = "instanceId"; - -// Other. -const char kGuestViewManagerKeyName[] = "guest_view_manager"; -const int kInstanceIDNone = 0; -const int kDefaultWidth = 300; -const int kDefaultHeight = 300; - -} // namespace guestview |