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

Side by Side Diff: Source/bindings/v8/custom/V8WindowCustom.cpp

Issue 27048004: Move PlatformScreen, PlatformScreenChromium, and Widget to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Rebase to apply to trunk Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | 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) 2009, 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2011 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "core/page/Chrome.h" 55 #include "core/page/Chrome.h"
56 #include "core/frame/ContentSecurityPolicy.h" 56 #include "core/frame/ContentSecurityPolicy.h"
57 #include "core/frame/DOMTimer.h" 57 #include "core/frame/DOMTimer.h"
58 #include "core/frame/DOMWindow.h" 58 #include "core/frame/DOMWindow.h"
59 #include "core/frame/DOMWindowTimers.h" 59 #include "core/frame/DOMWindowTimers.h"
60 #include "core/frame/Frame.h" 60 #include "core/frame/Frame.h"
61 #include "core/frame/FrameView.h" 61 #include "core/frame/FrameView.h"
62 #include "core/page/Page.h" 62 #include "core/page/Page.h"
63 #include "core/page/Settings.h" 63 #include "core/page/Settings.h"
64 #include "core/page/WindowFeatures.h" 64 #include "core/page/WindowFeatures.h"
65 #include "core/platform/PlatformScreen.h"
66 #include "core/platform/graphics/MediaPlayer.h" 65 #include "core/platform/graphics/MediaPlayer.h"
67 #include "core/storage/Storage.h" 66 #include "core/storage/Storage.h"
68 #include "core/workers/SharedWorkerRepository.h" 67 #include "core/workers/SharedWorkerRepository.h"
68 #include "platform/PlatformScreen.h"
69 #include "wtf/ArrayBuffer.h" 69 #include "wtf/ArrayBuffer.h"
70 #include "wtf/OwnPtr.h" 70 #include "wtf/OwnPtr.h"
71 71
72 namespace WebCore { 72 namespace WebCore {
73 73
74 // FIXME: There is a lot of duplication with SetTimeoutOrInterval() in V8WorkerG lobalScopeCustom.cpp. 74 // FIXME: There is a lot of duplication with SetTimeoutOrInterval() in V8WorkerG lobalScopeCustom.cpp.
75 // We should refactor this. 75 // We should refactor this.
76 void WindowSetTimeoutImpl(const v8::FunctionCallbackInfo<v8::Value>& args, bool singleShot, ExceptionState& es) 76 void WindowSetTimeoutImpl(const v8::FunctionCallbackInfo<v8::Value>& args, bool singleShot, ExceptionState& es)
77 { 77 {
78 int argumentCount = args.Length(); 78 int argumentCount = args.Length();
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 v8::Handle<v8::Context> context = frame->script()->currentWorldContext(); 538 v8::Handle<v8::Context> context = frame->script()->currentWorldContext();
539 if (context.IsEmpty()) 539 if (context.IsEmpty())
540 return v8Undefined(); 540 return v8Undefined();
541 541
542 v8::Handle<v8::Object> global = context->Global(); 542 v8::Handle<v8::Object> global = context->Global();
543 ASSERT(!global.IsEmpty()); 543 ASSERT(!global.IsEmpty());
544 return global; 544 return global;
545 } 545 }
546 546
547 } // namespace WebCore 547 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698