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

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: Rebaseline Created 9 years, 4 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 #endif 748 #endif
749 void OnContextMenuClosed( 749 void OnContextMenuClosed(
750 const webkit_glue::CustomContextMenuContext& custom_context); 750 const webkit_glue::CustomContextMenuContext& custom_context);
751 void OnCopy(); 751 void OnCopy();
752 void OnCopyImageAt(int x, int y); 752 void OnCopyImageAt(int x, int y);
753 #if defined(OS_MACOSX) 753 #if defined(OS_MACOSX)
754 void OnCopyToFindPboard(); 754 void OnCopyToFindPboard();
755 #endif 755 #endif
756 void OnCut(); 756 void OnCut();
757 void OnCSSInsertRequest(const std::wstring& frame_xpath, 757 void OnCSSInsertRequest(const std::wstring& frame_xpath,
758 const std::string& css, 758 const std::string& css);
759 const std::string& id);
760 void OnCustomContextMenuAction( 759 void OnCustomContextMenuAction(
761 const webkit_glue::CustomContextMenuContext& custom_context, 760 const webkit_glue::CustomContextMenuContext& custom_context,
762 unsigned action); 761 unsigned action);
763 void OnDelete(); 762 void OnDelete();
764 void OnDeterminePageLanguage(); 763 void OnDeterminePageLanguage();
765 void OnDisableScrollbarsForSmallWindows( 764 void OnDisableScrollbarsForSmallWindows(
766 const gfx::Size& disable_scrollbars_size_limit); 765 const gfx::Size& disable_scrollbars_size_limit);
767 void OnDisassociateFromPopupCount(); 766 void OnDisassociateFromPopupCount();
768 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, 767 void OnDragSourceEndedOrMoved(const gfx::Point& client_point,
769 const gfx::Point& screen_point, 768 const gfx::Point& screen_point,
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 // bunch of stuff, you should probably create a helper class and put your 1190 // bunch of stuff, you should probably create a helper class and put your
1192 // data and methods on that to avoid bloating RenderView more. You can use 1191 // data and methods on that to avoid bloating RenderView more. You can use
1193 // the Observer interface to filter IPC messages and receive frame change 1192 // the Observer interface to filter IPC messages and receive frame change
1194 // notifications. 1193 // notifications.
1195 // --------------------------------------------------------------------------- 1194 // ---------------------------------------------------------------------------
1196 1195
1197 DISALLOW_COPY_AND_ASSIGN(RenderView); 1196 DISALLOW_COPY_AND_ASSIGN(RenderView);
1198 }; 1197 };
1199 1198
1200 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1199 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698