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

Side by Side Diff: Source/core/page/DOMWindow.h

Issue 15901021: Move window.crypto to modules/crypto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile error in debug mode Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/Crypto.idl ('k') | Source/core/page/DOMWindow.cpp » ('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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "core/dom/EventTarget.h" 31 #include "core/dom/EventTarget.h"
32 #include "core/page/FrameDestructionObserver.h" 32 #include "core/page/FrameDestructionObserver.h"
33 #include "core/platform/Supplementable.h" 33 #include "core/platform/Supplementable.h"
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 class BarProp; 37 class BarProp;
38 class CSSRuleList; 38 class CSSRuleList;
39 class CSSStyleDeclaration; 39 class CSSStyleDeclaration;
40 class Console; 40 class Console;
41 class Crypto;
42 class DOMApplicationCache; 41 class DOMApplicationCache;
43 class DOMPoint; 42 class DOMPoint;
44 class DOMSelection; 43 class DOMSelection;
45 class DOMURL; 44 class DOMURL;
46 class DOMWindowProperty; 45 class DOMWindowProperty;
47 class Database; 46 class Database;
48 class DatabaseCallback; 47 class DatabaseCallback;
49 class Document; 48 class Document;
50 class Element; 49 class Element;
51 class EventListener; 50 class EventListener;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 114
116 bool allowPopUp(); // Call on first window, not target window. 115 bool allowPopUp(); // Call on first window, not target window.
117 static bool allowPopUp(Frame* firstFrame); 116 static bool allowPopUp(Frame* firstFrame);
118 static bool canShowModalDialog(const Frame*); 117 static bool canShowModalDialog(const Frame*);
119 static bool canShowModalDialogNow(const Frame*); 118 static bool canShowModalDialogNow(const Frame*);
120 119
121 // DOM Level 0 120 // DOM Level 0
122 121
123 Screen* screen() const; 122 Screen* screen() const;
124 History* history() const; 123 History* history() const;
125 Crypto* crypto() const;
126 BarProp* locationbar() const; 124 BarProp* locationbar() const;
127 BarProp* menubar() const; 125 BarProp* menubar() const;
128 BarProp* personalbar() const; 126 BarProp* personalbar() const;
129 BarProp* scrollbars() const; 127 BarProp* scrollbars() const;
130 BarProp* statusbar() const; 128 BarProp* statusbar() const;
131 BarProp* toolbar() const; 129 BarProp* toolbar() const;
132 Navigator* navigator() const; 130 Navigator* navigator() const;
133 Navigator* clientInformation() const { return navigator(); } 131 Navigator* clientInformation() const { return navigator(); }
134 132
135 Location* location() const; 133 Location* location() const;
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 void willDestroyDocumentInFrame(); 400 void willDestroyDocumentInFrame();
403 401
404 RefPtr<Document> m_document; 402 RefPtr<Document> m_document;
405 403
406 bool m_shouldPrintWhenFinishedLoading; 404 bool m_shouldPrintWhenFinishedLoading;
407 405
408 HashSet<DOMWindowProperty*> m_properties; 406 HashSet<DOMWindowProperty*> m_properties;
409 407
410 mutable RefPtr<Screen> m_screen; 408 mutable RefPtr<Screen> m_screen;
411 mutable RefPtr<History> m_history; 409 mutable RefPtr<History> m_history;
412 mutable RefPtr<Crypto> m_crypto;
413 mutable RefPtr<BarProp> m_locationbar; 410 mutable RefPtr<BarProp> m_locationbar;
414 mutable RefPtr<BarProp> m_menubar; 411 mutable RefPtr<BarProp> m_menubar;
415 mutable RefPtr<BarProp> m_personalbar; 412 mutable RefPtr<BarProp> m_personalbar;
416 mutable RefPtr<BarProp> m_scrollbars; 413 mutable RefPtr<BarProp> m_scrollbars;
417 mutable RefPtr<BarProp> m_statusbar; 414 mutable RefPtr<BarProp> m_statusbar;
418 mutable RefPtr<BarProp> m_toolbar; 415 mutable RefPtr<BarProp> m_toolbar;
419 mutable RefPtr<Console> m_console; 416 mutable RefPtr<Console> m_console;
420 mutable RefPtr<Navigator> m_navigator; 417 mutable RefPtr<Navigator> m_navigator;
421 mutable RefPtr<Location> m_location; 418 mutable RefPtr<Location> m_location;
422 mutable RefPtr<StyleMedia> m_media; 419 mutable RefPtr<StyleMedia> m_media;
(...skipping 18 matching lines...) Expand all
441 } 438 }
442 439
443 inline String DOMWindow::defaultStatus() const 440 inline String DOMWindow::defaultStatus() const
444 { 441 {
445 return m_defaultStatus; 442 return m_defaultStatus;
446 } 443 }
447 444
448 } // namespace WebCore 445 } // namespace WebCore
449 446
450 #endif // DOMWindow_h 447 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/page/Crypto.idl ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698