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

Side by Side Diff: Source/web/WebDevToolsFrontendImpl.cpp

Issue 437213004: wtf/Vector.h included more than necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "core/page/ContextMenuController.h" 49 #include "core/page/ContextMenuController.h"
50 #include "core/page/Page.h" 50 #include "core/page/Page.h"
51 #include "platform/ContextMenuItem.h" 51 #include "platform/ContextMenuItem.h"
52 #include "platform/weborigin/SecurityOrigin.h" 52 #include "platform/weborigin/SecurityOrigin.h"
53 #include "public/web/WebDevToolsFrontendClient.h" 53 #include "public/web/WebDevToolsFrontendClient.h"
54 #include "public/web/WebScriptSource.h" 54 #include "public/web/WebScriptSource.h"
55 #include "web/InspectorFrontendClientImpl.h" 55 #include "web/InspectorFrontendClientImpl.h"
56 #include "web/WebLocalFrameImpl.h" 56 #include "web/WebLocalFrameImpl.h"
57 #include "web/WebViewImpl.h" 57 #include "web/WebViewImpl.h"
58 #include "wtf/OwnPtr.h" 58 #include "wtf/OwnPtr.h"
59 #include "wtf/Vector.h"
59 60
60 using namespace blink; 61 using namespace blink;
61 62
62 namespace blink { 63 namespace blink {
63 64
64 class WebDevToolsFrontendImpl::InspectorFrontendResumeObserver : public ActiveDO MObject { 65 class WebDevToolsFrontendImpl::InspectorFrontendResumeObserver : public ActiveDO MObject {
65 WTF_MAKE_NONCOPYABLE(InspectorFrontendResumeObserver); 66 WTF_MAKE_NONCOPYABLE(InspectorFrontendResumeObserver);
66 public: 67 public:
67 InspectorFrontendResumeObserver(WebDevToolsFrontendImpl* webDevToolsFrontend Impl, Document* document) 68 InspectorFrontendResumeObserver(WebDevToolsFrontendImpl* webDevToolsFrontend Impl, Document* document)
68 : ActiveDOMObject(document) 69 : ActiveDOMObject(document)
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } 159 }
159 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(dispatchF unction); 160 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(dispatchF unction);
160 Vector< v8::Handle<v8::Value> > args; 161 Vector< v8::Handle<v8::Value> > args;
161 args.append(v8String(isolate, message)); 162 args.append(v8String(isolate, message));
162 v8::TryCatch tryCatch; 163 v8::TryCatch tryCatch;
163 tryCatch.SetVerbose(true); 164 tryCatch.SetVerbose(true);
164 ScriptController::callFunction(frame->frame()->document(), function, dispatc herObject, args.size(), args.data(), isolate); 165 ScriptController::callFunction(frame->frame()->document(), function, dispatc herObject, args.size(), args.data(), isolate);
165 } 166 }
166 167
167 } // namespace blink 168 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698