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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 } | 329 } |
330 #endif | 330 #endif |
331 bool IsFTPDirectoryListing() override; | 331 bool IsFTPDirectoryListing() override; |
332 void AttachGuest(int element_instance_id) override; | 332 void AttachGuest(int element_instance_id) override; |
333 void DetachGuest(int element_instance_id) override; | 333 void DetachGuest(int element_instance_id) override; |
334 void SetSelectedText(const base::string16& selection_text, | 334 void SetSelectedText(const base::string16& selection_text, |
335 size_t offset, | 335 size_t offset, |
336 const gfx::Range& range) override; | 336 const gfx::Range& range) override; |
337 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 337 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
338 v8::Local<v8::Context> context) override; | 338 v8::Local<v8::Context> context) override; |
| 339 void AddMessageToConsole(ConsoleMessageLevel level, |
| 340 const std::string& message) override; |
339 | 341 |
340 // blink::WebFrameClient implementation: | 342 // blink::WebFrameClient implementation: |
341 blink::WebPluginPlaceholder* createPluginPlaceholder( | 343 blink::WebPluginPlaceholder* createPluginPlaceholder( |
342 blink::WebLocalFrame*, | 344 blink::WebLocalFrame*, |
343 const blink::WebPluginParams&) override; | 345 const blink::WebPluginParams&) override; |
344 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 346 virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
345 const blink::WebPluginParams& params); | 347 const blink::WebPluginParams& params); |
346 virtual blink::WebMediaPlayer* createMediaPlayer( | 348 virtual blink::WebMediaPlayer* createMediaPlayer( |
347 blink::WebLocalFrame* frame, | 349 blink::WebLocalFrame* frame, |
348 const blink::WebURL& url, | 350 const blink::WebURL& url, |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 void OnPaste(); | 634 void OnPaste(); |
633 void OnPasteAndMatchStyle(); | 635 void OnPasteAndMatchStyle(); |
634 void OnDelete(); | 636 void OnDelete(); |
635 void OnSelectAll(); | 637 void OnSelectAll(); |
636 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); | 638 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); |
637 void OnUnselect(); | 639 void OnUnselect(); |
638 void OnMoveRangeSelectionExtent(const gfx::Point& point); | 640 void OnMoveRangeSelectionExtent(const gfx::Point& point); |
639 void OnReplace(const base::string16& text); | 641 void OnReplace(const base::string16& text); |
640 void OnReplaceMisspelling(const base::string16& text); | 642 void OnReplaceMisspelling(const base::string16& text); |
641 void OnCSSInsertRequest(const std::string& css); | 643 void OnCSSInsertRequest(const std::string& css); |
642 void OnAddMessageToConsole(ConsoleMessageLevel level, | |
643 const std::string& message); | |
644 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 644 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
645 int id, | 645 int id, |
646 bool notify_result); | 646 bool notify_result); |
647 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | 647 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, |
648 int id, | 648 int id, |
649 bool notify_result, | 649 bool notify_result, |
650 bool has_user_gesture); | 650 bool has_user_gesture); |
651 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, | 651 void OnJavaScriptExecuteRequestInIsolatedWorld(const base::string16& jscript, |
652 int id, | 652 int id, |
653 bool notify_result, | 653 bool notify_result, |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 #endif | 988 #endif |
989 | 989 |
990 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 990 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
991 | 991 |
992 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 992 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
993 }; | 993 }; |
994 | 994 |
995 } // namespace content | 995 } // namespace content |
996 | 996 |
997 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 997 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |