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

Side by Side Diff: content/renderer/mojo_bindings_controller.h

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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
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 CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_ 5 #ifndef CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_
6 #define CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_ 6 #define CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 25 matching lines...) Expand all
36 ~MojoBindingsController() override; 36 ~MojoBindingsController() override;
37 37
38 void CreateContextState(); 38 void CreateContextState();
39 void DestroyContextState(v8::Local<v8::Context> context); 39 void DestroyContextState(v8::Local<v8::Context> context);
40 MojoContextState* GetContextState(); 40 MojoContextState* GetContextState();
41 41
42 // RenderFrameObserver overrides: 42 // RenderFrameObserver overrides:
43 void WillReleaseScriptContext(v8::Local<v8::Context> context, 43 void WillReleaseScriptContext(v8::Local<v8::Context> context,
44 int world_id) override; 44 int world_id) override;
45 void DidClearWindowObject() override; 45 void DidClearWindowObject() override;
46 void OnDestruct() override;
46 47
47 const bool for_layout_tests_; 48 const bool for_layout_tests_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(MojoBindingsController); 50 DISALLOW_COPY_AND_ASSIGN(MojoBindingsController);
50 }; 51 };
51 52
52 } // namespace content 53 } // namespace content
53 54
54 #endif // CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_ 55 #endif // CONTENT_RENDERER_MOJO_BINDINGS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/user_media_client_impl.cc ('k') | content/renderer/mojo_bindings_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698