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

Unified Diff: chrome/renderer/extensions/extension_helper.cc

Issue 11028125: Remove legacy draggable region code and refactor to share common draggable region code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 2 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
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/extension_helper.cc
diff --git a/chrome/renderer/extensions/extension_helper.cc b/chrome/renderer/extensions/extension_helper.cc
index b3ad591ecc84179bd01a2c47e54ed8ee8a879ebb..957360ae18c4845103cb309ad1ab3d3acebd15b3 100644
--- a/chrome/renderer/extensions/extension_helper.cc
+++ b/chrome/renderer/extensions/extension_helper.cc
@@ -265,12 +265,6 @@ void ExtensionHelper::DraggableRegionsChanged(WebKit::WebFrame* frame) {
extensions::DraggableRegion region;
region.bounds = webregions[i].bounds;
region.draggable = webregions[i].draggable;
-
- // TODO(jianli): to be removed after WebKit patch that changes the draggable
- // region syntax is landed.
- region.label = UTF16ToASCII(webregions[i].label);
- region.clip = webregions[i].clip;
-
regions.push_back(region);
}
Send(new ExtensionHostMsg_UpdateDraggableRegions(routing_id(), regions));
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698