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

Side by Side Diff: Source/bindings/v8/DOMWrapperWorld.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/bindings/v8/BindingSecurity.cpp ('k') | Source/bindings/v8/DOMWrapperWorld.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // main world's. 81 // main world's.
82 // 82 //
83 // FIXME: Right now, resource injection simply bypasses the main world's 83 // FIXME: Right now, resource injection simply bypasses the main world's
84 // DOM. More work is necessary to allow the isolated world's policy to be 84 // DOM. More work is necessary to allow the isolated world's policy to be
85 // applied correctly. 85 // applied correctly.
86 static void setIsolatedWorldContentSecurityPolicy(int worldID, const String& policy); 86 static void setIsolatedWorldContentSecurityPolicy(int worldID, const String& policy);
87 static void clearIsolatedWorldContentSecurityPolicy(int worldID); 87 static void clearIsolatedWorldContentSecurityPolicy(int worldID);
88 bool isolatedWorldHasContentSecurityPolicy(); 88 bool isolatedWorldHasContentSecurityPolicy();
89 89
90 // Associate a logger with the world identified by worldId (worlId may be 0 90 // Associate a logger with the world identified by worldId (worlId may be 0
91 // identifying the main world). 91 // identifying the main world).
92 static void setActivityLogger(int worldId, PassOwnPtr<V8DOMActivityLogger>); 92 static void setActivityLogger(int worldId, PassOwnPtr<V8DOMActivityLogger>);
93 static V8DOMActivityLogger* activityLogger(int worldId); 93 static V8DOMActivityLogger* activityLogger(int worldId);
94 94
95 bool isMainWorld() const { return m_worldId == mainWorldId; } 95 bool isMainWorld() const { return m_worldId == mainWorldId; }
96 bool isIsolatedWorld() const { return isIsolatedWorldId(m_worldId); } 96 bool isIsolatedWorld() const { return isIsolatedWorldId(m_worldId); }
97 97
98 int worldId() const { return m_worldId; } 98 int worldId() const { return m_worldId; }
99 int extensionGroup() const { return m_extensionGroup; } 99 int extensionGroup() const { return m_extensionGroup; }
100 DOMDataStore* isolatedWorldDOMDataStore() const 100 DOMDataStore* isolatedWorldDOMDataStore() const
101 { 101 {
(...skipping 20 matching lines...) Expand all
122 122
123 DOMWrapperWorld* mainThreadNormalWorld(); 123 DOMWrapperWorld* mainThreadNormalWorld();
124 124
125 // FIXME: this is a workaround for a problem in ScriptController 125 // FIXME: this is a workaround for a problem in ScriptController
126 // Do not use this anywhere else!! 126 // Do not use this anywhere else!!
127 DOMWrapperWorld* existingWindowShellWorkaroundWorld(); 127 DOMWrapperWorld* existingWindowShellWorkaroundWorld();
128 128
129 } // namespace WebCore 129 } // namespace WebCore
130 130
131 #endif // DOMWrapperWorld_h 131 #endif // DOMWrapperWorld_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/BindingSecurity.cpp ('k') | Source/bindings/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698