summaryrefslogtreecommitdiffstats
path: root/extensions/common/guest_view
diff options
context:
space:
mode:
authorpaulmeyer <paulmeyer@chromium.org>2015-04-14 10:22:05 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-14 17:23:25 +0000
commitd1578c0c38ea388319b03c05832a38df602fa466 (patch)
tree62c613a6991ddc2d449f70690d0db34931f5e978 /extensions/common/guest_view
parent1146c316b4d0e3371997d018eced14da5122fcf9 (diff)
downloadchromium_src-d1578c0c38ea388319b03c05832a38df602fa466.zip
chromium_src-d1578c0c38ea388319b03c05832a38df602fa466.tar.gz
chromium_src-d1578c0c38ea388319b03c05832a38df602fa466.tar.bz2
Added the network error code to <webview> loadabort message and event.
BUG=470483 Review URL: https://codereview.chromium.org/1079573002 Cr-Commit-Position: refs/heads/master@{#325077}
Diffstat (limited to 'extensions/common/guest_view')
-rw-r--r--extensions/common/guest_view/guest_view_constants.cc1
-rw-r--r--extensions/common/guest_view/guest_view_constants.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/extensions/common/guest_view/guest_view_constants.cc b/extensions/common/guest_view/guest_view_constants.cc
index 94af1b5..f5acd35 100644
--- a/extensions/common/guest_view/guest_view_constants.cc
+++ b/extensions/common/guest_view/guest_view_constants.cc
@@ -20,6 +20,7 @@ const char kElementSizeIsLogical[] = "elementSizeIsLogical";
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";
diff --git a/extensions/common/guest_view/guest_view_constants.h b/extensions/common/guest_view/guest_view_constants.h
index e3baad0..8fe8ff1 100644
--- a/extensions/common/guest_view/guest_view_constants.h
+++ b/extensions/common/guest_view/guest_view_constants.h
@@ -23,6 +23,7 @@ extern const char kElementSizeIsLogical[];
extern const char kEventResize[];
// Parameters/properties on events.
+extern const char kCode[];
extern const char kContentWindowID[];
extern const char kID[];
extern const char kIsTopLevel[];