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

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

Issue 7517001: Switch from WebDocument::insertStyleText to ::insertUserStyleSheet for programatic CSS injection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 #endif 735 #endif
736 void OnContextMenuClosed( 736 void OnContextMenuClosed(
737 const webkit_glue::CustomContextMenuContext& custom_context); 737 const webkit_glue::CustomContextMenuContext& custom_context);
738 void OnCopy(); 738 void OnCopy();
739 void OnCopyImageAt(int x, int y); 739 void OnCopyImageAt(int x, int y);
740 #if defined(OS_MACOSX) 740 #if defined(OS_MACOSX)
741 void OnCopyToFindPboard(); 741 void OnCopyToFindPboard();
742 #endif 742 #endif
743 void OnCut(); 743 void OnCut();
744 void OnCSSInsertRequest(const std::wstring& frame_xpath, 744 void OnCSSInsertRequest(const std::wstring& frame_xpath,
745 const std::string& css, 745 const std::string& css);
746 const std::string& id);
747 void OnCustomContextMenuAction( 746 void OnCustomContextMenuAction(
748 const webkit_glue::CustomContextMenuContext& custom_context, 747 const webkit_glue::CustomContextMenuContext& custom_context,
749 unsigned action); 748 unsigned action);
750 void OnDelete(); 749 void OnDelete();
751 void OnDeterminePageLanguage(); 750 void OnDeterminePageLanguage();
752 void OnDisableScrollbarsForSmallWindows( 751 void OnDisableScrollbarsForSmallWindows(
753 const gfx::Size& disable_scrollbars_size_limit); 752 const gfx::Size& disable_scrollbars_size_limit);
754 void OnDisassociateFromPopupCount(); 753 void OnDisassociateFromPopupCount();
755 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, 754 void OnDragSourceEndedOrMoved(const gfx::Point& client_point,
756 const gfx::Point& screen_point, 755 const gfx::Point& screen_point,
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 // bunch of stuff, you should probably create a helper class and put your 1172 // bunch of stuff, you should probably create a helper class and put your
1174 // data and methods on that to avoid bloating RenderView more. You can use 1173 // data and methods on that to avoid bloating RenderView more. You can use
1175 // the Observer interface to filter IPC messages and receive frame change 1174 // the Observer interface to filter IPC messages and receive frame change
1176 // notifications. 1175 // notifications.
1177 // --------------------------------------------------------------------------- 1176 // ---------------------------------------------------------------------------
1178 1177
1179 DISALLOW_COPY_AND_ASSIGN(RenderView); 1178 DISALLOW_COPY_AND_ASSIGN(RenderView);
1180 }; 1179 };
1181 1180
1182 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1181 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698