OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 } | 328 } |
329 #endif | 329 #endif |
330 bool IsFTPDirectoryListing() override; | 330 bool IsFTPDirectoryListing() override; |
331 void AttachGuest(int element_instance_id) override; | 331 void AttachGuest(int element_instance_id) override; |
332 void DetachGuest(int element_instance_id) override; | 332 void DetachGuest(int element_instance_id) override; |
333 void SetSelectedText(const base::string16& selection_text, | 333 void SetSelectedText(const base::string16& selection_text, |
334 size_t offset, | 334 size_t offset, |
335 const gfx::Range& range) override; | 335 const gfx::Range& range) override; |
336 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 336 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
337 v8::Local<v8::Context> context) override; | 337 v8::Local<v8::Context> context) override; |
| 338 void AddMessageToConsole(ConsoleMessageLevel level, |
| 339 const std::string& message) override; |
338 | 340 |
339 // blink::WebFrameClient implementation: | 341 // blink::WebFrameClient implementation: |
340 blink::WebPluginPlaceholder* createPluginPlaceholder( | 342 blink::WebPluginPlaceholder* createPluginPlaceholder( |
341 blink::WebLocalFrame*, | 343 blink::WebLocalFrame*, |
342 const blink::WebPluginParams&) override; | 344 const blink::WebPluginParams&) override; |
343 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 345 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
344 const blink::WebPluginParams& params); | 346 const blink::WebPluginParams& params); |
345 virtual blink::WebMediaPlayer* createMediaPlayer( | 347 virtual blink::WebMediaPlayer* createMediaPlayer( |
346 blink::WebLocalFrame* frame, | 348 blink::WebLocalFrame* frame, |
347 const blink::WebURL& url, | 349 const blink::WebURL& url, |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 void OnPaste(); | 629 void OnPaste(); |
628 void OnPasteAndMatchStyle(); | 630 void OnPasteAndMatchStyle(); |
629 void OnDelete(); | 631 void OnDelete(); |
630 void OnSelectAll(); | 632 void OnSelectAll(); |
631 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 633 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
632 void OnUnselect(); | 634 void OnUnselect(); |
633 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 635 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
634 void OnReplace(const base::string16& text); | 636 void OnReplace(const base::string16& text); |
635 void OnReplaceMisspelling(const base::string16& text); | 637 void OnReplaceMisspelling(const base::string16& text); |
636 void OnCSSInsertRequest(const std::string& css); | 638 void OnCSSInsertRequest(const std::string& css); |
637 void OnAddMessageToConsole(ConsoleMessageLevel level, | |
638 const std::string& message); | |
639 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 639 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
640 int id, | 640 int id, |
641 bool notify_result); | 641 bool notify_result); |
642 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 642 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
643 int id, | 643 int id, |
644 bool notify_result, | 644 bool notify_result, |
645 bool has_user_gesture); | 645 bool has_user_gesture); |
646 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, | 646 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, |
647 int id, | 647 int id, |
648 bool notify_result, | 648 bool notify_result, |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 #endif | 978 #endif |
979 | 979 |
980 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 980 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
981 | 981 |
982 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 982 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
983 }; | 983 }; |
984 | 984 |
985 } // namespace content | 985 } // namespace content |
986 | 986 |
987 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 987 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |