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

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

Issue 873923003: sky/shell should link with sky/engine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: moar deps Created 5 years, 10 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 | « sky/shell/ui/platform_impl.cc ('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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void didAddMessageToConsole( 91 void didAddMessageToConsole(
92 const blink::WebConsoleMessage& message, 92 const blink::WebConsoleMessage& message,
93 const blink::WebString& source_name, 93 const blink::WebString& source_name,
94 unsigned source_line, 94 unsigned source_line,
95 const blink::WebString& stack_trace) override; 95 const blink::WebString& stack_trace) override;
96 void didCreateScriptContext( 96 void didCreateScriptContext(
97 blink::WebLocalFrame*, 97 blink::WebLocalFrame*,
98 v8::Handle<v8::Context>) override; 98 v8::Handle<v8::Context>) override;
99 99
100 // WebViewClient methods: 100 // WebViewClient methods:
101 blink::ServiceProvider& services() override; 101 blink::ServiceProvider* services() override;
102 102
103 // Services methods: 103 // Services methods:
104 mojo::NavigatorHost* NavigatorHost() override; 104 mojo::NavigatorHost* NavigatorHost() override;
105 mojo::Shell* Shell() override;
106 105
107 // ViewManagerDelegate methods: 106 // ViewManagerDelegate methods:
108 void OnEmbed(mojo::View* root, 107 void OnEmbed(mojo::View* root,
109 mojo::InterfaceRequest<mojo::ServiceProvider> services, 108 mojo::InterfaceRequest<mojo::ServiceProvider> services,
110 mojo::ServiceProviderPtr exposed_services) override; 109 mojo::ServiceProviderPtr exposed_services) override;
111 void OnViewManagerDisconnected(mojo::ViewManager* view_manager) override; 110 void OnViewManagerDisconnected(mojo::ViewManager* view_manager) override;
112 111
113 // ViewObserver methods: 112 // ViewObserver methods:
114 void OnViewBoundsChanged(mojo::View* view, 113 void OnViewBoundsChanged(mojo::View* view,
115 const mojo::Rect& old_bounds, 114 const mojo::Rect& old_bounds,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 int debugger_id_; 147 int debugger_id_;
149 148
150 base::WeakPtrFactory<DocumentView> weak_factory_; 149 base::WeakPtrFactory<DocumentView> weak_factory_;
151 150
152 DISALLOW_COPY_AND_ASSIGN(DocumentView); 151 DISALLOW_COPY_AND_ASSIGN(DocumentView);
153 }; 152 };
154 153
155 } // namespace sky 154 } // namespace sky
156 155
157 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ 156 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_
OLDNEW
« no previous file with comments | « sky/shell/ui/platform_impl.cc ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698