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

Side by Side Diff: sky/engine/public/web/WebLocalFrame.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 years, 1 month 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 | « sky/engine/public/web/WebLeakDetector.h ('k') | sky/engine/public/web/WebMemoryUsageInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLocalFrame_h 5 #ifndef SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_
6 #define WebLocalFrame_h 6 #define SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_
7 7
8 #include "sky/engine/public/web/WebFrame.h" 8 #include "sky/engine/public/web/WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // Interface for interacting with in process frames. This contains methods that 12 // Interface for interacting with in process frames. This contains methods that
13 // require interacting with a frame's document. 13 // require interacting with a frame's document.
14 // FIXME: Move lots of methods from WebFrame in here. 14 // FIXME: Move lots of methods from WebFrame in here.
15 class WebLocalFrame : public WebFrame { 15 class WebLocalFrame : public WebFrame {
16 public: 16 public:
17 // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close(). 17 // Creates a WebFrame. Delete this WebFrame by calling WebFrame::close().
18 // It is valid to pass a null client pointer. 18 // It is valid to pass a null client pointer.
19 BLINK_EXPORT static WebLocalFrame* create(WebFrameClient*); 19 BLINK_EXPORT static WebLocalFrame* create(WebFrameClient*);
20 20
21 // Returns the WebFrame associated with the current V8 context. This 21 // Returns the WebFrame associated with the current V8 context. This
22 // function can return 0 if the context is associated with a Document that 22 // function can return 0 if the context is associated with a Document that
23 // is not currently being displayed in a Frame. 23 // is not currently being displayed in a Frame.
24 BLINK_EXPORT static WebLocalFrame* frameForCurrentContext(); 24 BLINK_EXPORT static WebLocalFrame* frameForCurrentContext();
25 25
26 // Returns the frame corresponding to the given context. This can return 0 26 // Returns the frame corresponding to the given context. This can return 0
27 // if the context is detached from the frame, or if the context doesn't 27 // if the context is detached from the frame, or if the context doesn't
28 // correspond to a frame (e.g., workers). 28 // correspond to a frame (e.g., workers).
29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>); 29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>);
30 }; 30 };
31 31
32 } // namespace blink 32 } // namespace blink
33 33
34 #endif // WebLocalFrame_h 34 #endif // SKY_ENGINE_PUBLIC_WEB_WEBLOCALFRAME_H_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebLeakDetector.h ('k') | sky/engine/public/web/WebMemoryUsageInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698