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

Side by Side Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/automation/automation_provider_observers.h" 5 #include "chrome/browser/automation/automation_provider_observers.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #include "googleurl/src/gurl.h" 83 #include "googleurl/src/gurl.h"
84 #include "third_party/skia/include/core/SkBitmap.h" 84 #include "third_party/skia/include/core/SkBitmap.h"
85 #include "ui/gfx/codec/png_codec.h" 85 #include "ui/gfx/codec/png_codec.h"
86 #include "ui/gfx/rect.h" 86 #include "ui/gfx/rect.h"
87 87
88 using content::BrowserThread; 88 using content::BrowserThread;
89 using content::DomOperationNotificationDetails; 89 using content::DomOperationNotificationDetails;
90 using content::DownloadItem; 90 using content::DownloadItem;
91 using content::DownloadManager; 91 using content::DownloadManager;
92 using content::NavigationController; 92 using content::NavigationController;
93 using content::RenderViewHost;
93 using content::WebContents; 94 using content::WebContents;
94 95
95 // Holds onto start and stop timestamps for a particular tab 96 // Holds onto start and stop timestamps for a particular tab
96 class InitialLoadObserver::TabTime { 97 class InitialLoadObserver::TabTime {
97 public: 98 public:
98 explicit TabTime(base::TimeTicks started) 99 explicit TabTime(base::TimeTicks started)
99 : load_start_time_(started) { 100 : load_start_time_(started) {
100 } 101 }
101 void set_stop_time(base::TimeTicks stopped) { 102 void set_stop_time(base::TimeTicks stopped) {
102 load_stop_time_ = stopped; 103 load_stop_time_ = stopped;
(...skipping 3105 matching lines...) Expand 10 before | Expand all | Expand 10 after
3208 } 3209 }
3209 3210
3210 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); 3211 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
3211 if (host->extension_id() == extension_id_ && 3212 if (host->extension_id() == extension_id_ &&
3212 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) { 3213 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) {
3213 AutomationJSONReply(automation_, reply_message_.release()) 3214 AutomationJSONReply(automation_, reply_message_.release())
3214 .SendSuccess(NULL); 3215 .SendSuccess(NULL);
3215 delete this; 3216 delete this;
3216 } 3217 }
3217 } 3218 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.h ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698