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

Side by Side Diff: sky/viewer/document_view.h

Issue 776143003: Remove Isolated Worlds from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/web/WebLocalFrameImpl.cpp ('k') | sky/viewer/document_view.cc » ('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 SKY_VIEWER_DOCUMENT_VIEW_H_ 5 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_
6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ 6 #define SKY_VIEWER_DOCUMENT_VIEW_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/public/cpp/application/lazy_interface_ptr.h" 10 #include "mojo/public/cpp/application/lazy_interface_ptr.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void frameDetached(blink::WebFrame*) override; 81 void frameDetached(blink::WebFrame*) override;
82 blink::WebNavigationPolicy decidePolicyForNavigation( 82 blink::WebNavigationPolicy decidePolicyForNavigation(
83 const blink::WebFrameClient::NavigationPolicyInfo& info) override; 83 const blink::WebFrameClient::NavigationPolicyInfo& info) override;
84 void didAddMessageToConsole( 84 void didAddMessageToConsole(
85 const blink::WebConsoleMessage& message, 85 const blink::WebConsoleMessage& message,
86 const blink::WebString& source_name, 86 const blink::WebString& source_name,
87 unsigned source_line, 87 unsigned source_line,
88 const blink::WebString& stack_trace) override; 88 const blink::WebString& stack_trace) override;
89 void didCreateScriptContext( 89 void didCreateScriptContext(
90 blink::WebLocalFrame*, 90 blink::WebLocalFrame*,
91 v8::Handle<v8::Context>, 91 v8::Handle<v8::Context>) override;
92 int extensionGroup,
93 int worldId) override;
94 92
95 // WebViewClient methods: 93 // WebViewClient methods:
96 blink::ServiceProvider& services() override; 94 blink::ServiceProvider& services() override;
97 95
98 // Services methods: 96 // Services methods:
99 mojo::NavigatorHost* NavigatorHost() override; 97 mojo::NavigatorHost* NavigatorHost() override;
100 mojo::Shell* Shell() override; 98 mojo::Shell* Shell() override;
101 99
102 // ViewManagerDelegate methods: 100 // ViewManagerDelegate methods:
103 void OnEmbed( 101 void OnEmbed(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_; 133 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
136 int debugger_id_; 134 int debugger_id_;
137 135
138 base::WeakPtrFactory<DocumentView> weak_factory_; 136 base::WeakPtrFactory<DocumentView> weak_factory_;
139 DISALLOW_COPY_AND_ASSIGN(DocumentView); 137 DISALLOW_COPY_AND_ASSIGN(DocumentView);
140 }; 138 };
141 139
142 } // namespace sky 140 } // namespace sky
143 141
144 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ 142 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698