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

Unified Diff: extensions/common/guest_view/guest_view_constants.cc

Issue 1102173002: Move GuestView layer in browser to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed John's comments Created 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/common/guest_view/guest_view_constants.cc
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 f5acd357a3351242fadf97cdd099da44c4ddf750..0000000000000000000000000000000000000000
--- 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
« no previous file with comments | « extensions/common/guest_view/guest_view_constants.h ('k') | extensions/common/guest_view/guest_view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698