| Index: chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
|
| diff --git a/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc b/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
|
| index 870496ef4062ef29b7728ac8613cd21c7218aaa0..b2bd60bfc82e0b811f5d2aa299dc6370890cde88 100644
|
| --- a/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
|
| +++ b/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
|
| @@ -21,36 +21,6 @@ bool GetValue(const base::ListValue& list, int pos, bool& value) {
|
| return list.GetBoolean(pos, &value);
|
| }
|
|
|
| -bool GetValue(const base::ListValue& list, int pos, gfx::Insets& insets) {
|
| - const base::DictionaryValue* dict;
|
| - if (!list.GetDictionary(pos, &dict))
|
| - return false;
|
| - int top = 0;
|
| - int left = 0;
|
| - int bottom = 0;
|
| - int right = 0;
|
| - if (!dict->GetInteger("top", &top) ||
|
| - !dict->GetInteger("left", &left) ||
|
| - !dict->GetInteger("bottom", &bottom) ||
|
| - !dict->GetInteger("right", &right))
|
| - return false;
|
| - insets.Set(top, left, bottom, right);
|
| - return true;
|
| -}
|
| -
|
| -bool GetValue(const base::ListValue& list, int pos, gfx::Size& size) {
|
| - const base::DictionaryValue* dict;
|
| - if (!list.GetDictionary(pos, &dict))
|
| - return false;
|
| - int width = 0;
|
| - int height = 0;
|
| - if (!dict->GetInteger("width", &width) ||
|
| - !dict->GetInteger("height", &height))
|
| - return false;
|
| - size.SetSize(width, height);
|
| - return true;
|
| -}
|
| -
|
| bool GetValue(const base::ListValue& list, int pos, gfx::Rect& rect) {
|
| const base::DictionaryValue* dict;
|
| if (!list.GetDictionary(pos, &dict))
|
| @@ -258,8 +228,6 @@ DevToolsEmbedderMessageDispatcher*
|
| d->RegisterHandler("closeWindow", &Delegate::CloseWindow, delegate);
|
| d->RegisterHandler("setInspectedPageBounds",
|
| &Delegate::SetInspectedPageBounds, delegate);
|
| - d->RegisterHandler("setContentsResizingStrategy",
|
| - &Delegate::SetContentsResizingStrategy, delegate);
|
| d->RegisterHandler("inspectElementCompleted",
|
| &Delegate::InspectElementCompleted, delegate);
|
| d->RegisterHandler("inspectedURLChanged",
|
|
|