OLD | NEW |
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 EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CONTA
INER_H_ | 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CONTA
INER_H_ |
6 #define EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CONTA
INER_H_ | 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CONTA
INER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // BrowserPluginDelegate implementation. | 55 // BrowserPluginDelegate implementation. |
56 void DidFinishLoading() override; | 56 void DidFinishLoading() override; |
57 void DidReceiveData(const char* data, int data_length) override; | 57 void DidReceiveData(const char* data, int data_length) override; |
58 void DidResizeElement(const gfx::Size& new_size) override; | 58 void DidResizeElement(const gfx::Size& new_size) override; |
59 v8::Local<v8::Object> V8ScriptableObject(v8::Isolate*) override; | 59 v8::Local<v8::Object> V8ScriptableObject(v8::Isolate*) override; |
60 | 60 |
61 // WebURLLoaderClient overrides. | 61 // WebURLLoaderClient overrides. |
62 void didReceiveData(blink::WebURLLoader* loader, | 62 void didReceiveData(blink::WebURLLoader* loader, |
63 const char* data, | 63 const char* data, |
64 int data_length, | 64 int data_length, |
65 int encoded_data_length) override; | 65 int encoded_data_length, |
| 66 int encoded_body_length) override; |
66 void didFinishLoading(blink::WebURLLoader* loader, | 67 void didFinishLoading(blink::WebURLLoader* loader, |
67 double finish_time, | 68 double finish_time, |
68 int64_t total_encoded_data_length) override; | 69 int64_t total_encoded_data_length) override; |
69 | 70 |
70 // GuestViewContainer overrides. | 71 // GuestViewContainer overrides. |
71 void OnRenderFrameDestroyed() override; | 72 void OnRenderFrameDestroyed() override; |
72 | 73 |
73 // Post a JavaScript message to the guest. | 74 // Post a JavaScript message to the guest. |
74 void PostMessage(v8::Isolate* isolate, v8::Local<v8::Value> message); | 75 void PostMessage(v8::Isolate* isolate, v8::Local<v8::Value> message); |
75 | 76 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 gfx::Size element_size_; | 124 gfx::Size element_size_; |
124 | 125 |
125 base::WeakPtrFactory<MimeHandlerViewContainer> weak_factory_; | 126 base::WeakPtrFactory<MimeHandlerViewContainer> weak_factory_; |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewContainer); | 128 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewContainer); |
128 }; | 129 }; |
129 | 130 |
130 } // namespace extensions | 131 } // namespace extensions |
131 | 132 |
132 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CO
NTAINER_H_ | 133 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_CO
NTAINER_H_ |
OLD | NEW |