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

Side by Side Diff: content/browser/tab_contents/interstitial_page.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 #include "content/browser/tab_contents/interstitial_page.h" 5 #include "content/browser/tab_contents/interstitial_page.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/browser/content_browser_client.h" 26 #include "content/public/browser/content_browser_client.h"
27 #include "content/public/browser/notification_service.h" 27 #include "content/public/browser/notification_service.h"
28 #include "content/public/browser/notification_source.h" 28 #include "content/public/browser/notification_source.h"
29 #include "content/public/common/bindings_policy.h" 29 #include "content/public/common/bindings_policy.h"
30 #include "content/public/common/page_transition_types.h" 30 #include "content/public/common/page_transition_types.h"
31 #include "content/public/common/view_types.h" 31 #include "content/public/common/view_types.h"
32 #include "net/base/escape.h" 32 #include "net/base/escape.h"
33 #include "net/url_request/url_request_context_getter.h" 33 #include "net/url_request/url_request_context_getter.h"
34 34
35 using content::BrowserThread;
35 using WebKit::WebDragOperation; 36 using WebKit::WebDragOperation;
36 using WebKit::WebDragOperationsMask; 37 using WebKit::WebDragOperationsMask;
37 38
38 namespace { 39 namespace {
39 40
40 class ResourceRequestTask : public Task { 41 class ResourceRequestTask : public Task {
41 public: 42 public:
42 ResourceRequestTask(int process_id, 43 ResourceRequestTask(int process_id,
43 int render_view_host_id, 44 int render_view_host_id,
44 ResourceRequestAction action) 45 ResourceRequestAction action)
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 void InterstitialPage::InterstitialPageRVHViewDelegate::TakeFocus( 658 void InterstitialPage::InterstitialPageRVHViewDelegate::TakeFocus(
658 bool reverse) { 659 bool reverse) {
659 if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate()) 660 if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate())
660 interstitial_page_->tab()->GetViewDelegate()->TakeFocus(reverse); 661 interstitial_page_->tab()->GetViewDelegate()->TakeFocus(reverse);
661 } 662 }
662 663
663 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply( 664 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply(
664 int request_id, int number_of_matches, const gfx::Rect& selection_rect, 665 int request_id, int number_of_matches, const gfx::Rect& selection_rect,
665 int active_match_ordinal, bool final_update) { 666 int active_match_ordinal, bool final_update) {
666 } 667 }
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/tab_contents/render_view_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698