summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_observer.h
Commit message (Collapse)AuthorAgeFilesLines
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-2/+3
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Move the handling of the ViewMsg_CustomContextMenuAction and ↵ananta@chromium.org2011-09-131-0/+2
| | | | | | | | | | | | | | ViewMsg_Navigate out of chrome and replace the intended handling with notifications on the RenderViewObserver interface. Continuing changes to get rid of the pattern of IPC messages going across content and chrome. BUG=87335 TEST=no change in functionality. Blocked plugins and about handler should continue to work. Review URL: http://codereview.chromium.org/7880006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100933 0039d316-1c4b-4281-b951-d872f2087c98
* Rip out code for logging cross-frame property accesses.thakis@chromium.org2011-08-141-6/+0
| | | | | | | | | | | | | | | | This depends on RenderView overriding a method of WebFrameClient that was added in http://trac.webkit.org/changeset/56829 but subsequently removed in http://trac.webkit.org/changeset/56849 . Since the code has been nonfunctional for over 1 year, I figure it's safe to remove it. BUG=none TEST=none Review URL: http://codereview.chromium.org/7645015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96742 0039d316-1c4b-4281-b951-d872f2087c98
* Adapt to new icon interface from WebFramemichaelbai@google.com2011-05-171-1/+3
| | | | | | | | | | | | | | | | - Adapt to the new icon methods from both WebFrame and WebFrameClient. - Touch icons will be fetched and stored if kEnableTouchIcon=1, Currently it is disabled by default. - Moved the kEnableTouchIcon definition to chrome_constants so it could be seen in both browser and renderer code. BUG=71571 TEST=Tested by existent unit test. Review URL: http://codereview.chromium.org/7032013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85651 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the new WebPermissionClient interface in Chrome code to get rid of ↵jam@chromium.org2011-04-301-6/+0
| | | | | | | | all the awkward calls to ContentRendererClient. Review URL: http://codereview.chromium.org/6905117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83679 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most prerendering code/references from content. mmenke@chromium.org2011-04-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | The only place where prerendering code remains in content is in ResourceDispatcherHost. As NavigationState can no longer be used to track prerendering histogram information, the prerendering renderer-side histograms have been reworked (And renamed) as well. The histogram intended to track use of prerendering RenderViews has been removed, as histograms are not recorded when a RenderView is destroyed. BUG=77090 TEST=Compiles, existing PrerenderBrowserTests, grep Review URL: http://codereview.chromium.org/6900026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83642 0039d316-1c4b-4281-b951-d872f2087c98
* Move the content settings code out of RenderView, since it belongs in the ↵jam@chromium.org2011-04-181-0/+6
| | | | | | | | | Chrome layer. BUG=76793 Review URL: http://codereview.chromium.org/6873040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81955 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last Chrome dependencies from renderer, and enforce no more ↵jam@chromium.org2011-04-181-0/+2
| | | | | | | | includes through DEPS. I also added DEPS checking for gpu/plugin/worker directories as well. I moved the Chrome specific browser tests to the chrome directory, and removed render_widget_unittest since it didn't seem to be testing much (there are tests that test it much more fully). I had to move bindings_policy.h, which ideally would be split into separate pieces so that the content layer only has to know about the content bindings. Given that it's basically an enum, I moved the whole file now since it's used in a lot of places, and the value of turning on DEPS checking is really high. Review URL: http://codereview.chromium.org/6874038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81924 0039d316-1c4b-4281-b951-d872f2087c98
* Clear RenderThread of any Chrome specific code, and move a bunch of stuff ↵jam@chromium.org2011-04-161-1/+3
| | | | | | | | | out of RenderView. Took out CookieMessageFilter since it's not used anymore. Removed RenderProcessTest and RendererMainTest since they really weren't testing much. Review URL: http://codereview.chromium.org/6873014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81851 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of the Chrome dependencies from RenderThread.jam@chromium.org2011-04-141-0/+7
| | | | | | Review URL: http://codereview.chromium.org/6853029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81666 0039d316-1c4b-4281-b951-d872f2087c98
* Move code that talks to spelling and translate out of content. I create ↵jam@chromium.org2011-04-131-4/+3
| | | | | | | | ChromeRenderObserver, which is a RenderViewObserver for the Chrome layer. Also, I added a TranslateTabHelper to hold the per-tab language data and moved LanguageState back to chrome since it's not used by content. Review URL: http://codereview.chromium.org/6824068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81341 0039d316-1c4b-4281-b951-d872f2087c98
* Adds TabContents/RenderView observers for automation/testing messages.kkania@chromium.org2011-04-071-0/+7
| | | | | | | | | | | | | | | | The RenderViewObserver currently sends two messages to the browser related to tracking client redirects, which is needed for determining whether to wait for a future navigation. This is particularly needed to wait correctly in chromedriver for form submissions and javascript redirects. However, timed redirects still need to be considered. BUG=none TEST=none Review URL: http://codereview.chromium.org/6676136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80848 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Stop creating RenderViewObservers from chrome/ in RenderView.thestig@chromium.org2011-04-071-1/+2
| | | | | | | | BUG=76795 TEST=none Review URL: http://codereview.chromium.org/6750018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80818 0039d316-1c4b-4281-b951-d872f2087c98
* Move a few RenderViewObservers to ChromeContentRendererClient so that we can ↵jam@chromium.org2011-04-011-0/+3
| | | | | | | | tighten up the DEPS checking a little more. Review URL: http://codereview.chromium.org/6677114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80243 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of the extension dependencies from content\renderer.jam@chromium.org2011-04-011-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6706004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80204 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore preliminary page captures for client-side phishing detection.bryner@chromium.org2011-03-311-1/+2
| | | | | | | | | | | | | | These happen before the page has finished loading, which can result in classification of a partial page (undesirable), or in aborting classification if additional frames load after the preliminary capture. We'll now only start classification once the final capture happens. BUG=none TEST=PhishingClassifierDelegateTest Review URL: http://codereview.chromium.org/6731072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80084 0039d316-1c4b-4281-b951-d872f2087c98
* Make UserScriptIdleScheduler not tied to NavigationState, as part of ↵jam@chromium.org2011-03-311-0/+3
| | | | | | | | removing the extension dependencies from content. Review URL: http://codereview.chromium.org/6731080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80029 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of remaining files from chrome\renderer to content\renderer.jam@chromium.org2011-03-191-0/+72
TBR=avi Review URL: http://codereview.chromium.org/6688047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78781 0039d316-1c4b-4281-b951-d872f2087c98