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

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

Issue 762723002: Remove ENABLE(COMPOSITOR). (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/WebViewImpl.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 mojo::Shell* GetShell() override; 66 mojo::Shell* GetShell() override;
67 void BeginFrame(base::TimeTicks frame_time) override; 67 void BeginFrame(base::TimeTicks frame_time) override;
68 void OnSurfaceIdAvailable(mojo::SurfaceIdPtr surface_id) override; 68 void OnSurfaceIdAvailable(mojo::SurfaceIdPtr surface_id) override;
69 // sky::LayerClient 69 // sky::LayerClient
70 void PaintContents(SkCanvas* canvas, const gfx::Rect& clip) override; 70 void PaintContents(SkCanvas* canvas, const gfx::Rect& clip) override;
71 71
72 void StartDebuggerInspectorBackend(); 72 void StartDebuggerInspectorBackend();
73 73
74 private: 74 private:
75 // WebWidgetClient methods: 75 // WebWidgetClient methods:
76 blink::WebLayerTreeView* initializeLayerTreeView() override; 76 void initializeLayerTreeView() override;
77 void scheduleAnimation() override; 77 void scheduleAnimation() override;
78 78
79 // WebFrameClient methods: 79 // WebFrameClient methods:
80 mojo::View* createChildFrame(const blink::WebURL& url) override; 80 mojo::View* createChildFrame(const blink::WebURL& url) override;
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,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_; 135 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
136 int debugger_id_; 136 int debugger_id_;
137 137
138 base::WeakPtrFactory<DocumentView> weak_factory_; 138 base::WeakPtrFactory<DocumentView> weak_factory_;
139 DISALLOW_COPY_AND_ASSIGN(DocumentView); 139 DISALLOW_COPY_AND_ASSIGN(DocumentView);
140 }; 140 };
141 141
142 } // namespace sky 142 } // namespace sky
143 143
144 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ 144 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebViewImpl.cpp ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698