| OLD | NEW |
| 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 "chrome/browser/instant/instant_loader.h" | 5 #include "chrome/browser/instant/instant_loader.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h" | 27 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h" |
| 28 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 28 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 29 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" | 29 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" |
| 30 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 30 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 31 #include "chrome/common/chrome_notification_types.h" | 31 #include "chrome/common/chrome_notification_types.h" |
| 32 #include "chrome/common/chrome_switches.h" | 32 #include "chrome/common/chrome_switches.h" |
| 33 #include "chrome/common/render_messages.h" | 33 #include "chrome/common/render_messages.h" |
| 34 #include "content/browser/renderer_host/render_view_host.h" | 34 #include "content/browser/renderer_host/render_view_host.h" |
| 35 #include "content/browser/renderer_host/render_widget_host.h" | 35 #include "content/browser/renderer_host/render_widget_host.h" |
| 36 #include "content/browser/renderer_host/render_widget_host_view.h" | 36 #include "content/browser/renderer_host/render_widget_host_view.h" |
| 37 #include "content/browser/tab_contents/navigation_controller.h" | |
| 38 #include "content/browser/tab_contents/provisional_load_details.h" | 37 #include "content/browser/tab_contents/provisional_load_details.h" |
| 39 #include "content/browser/tab_contents/tab_contents.h" | 38 #include "content/browser/tab_contents/tab_contents.h" |
| 40 #include "content/browser/tab_contents/tab_contents_view.h" | 39 #include "content/browser/tab_contents/tab_contents_view.h" |
| 41 #include "content/public/browser/favicon_status.h" | 40 #include "content/public/browser/favicon_status.h" |
| 41 #include "content/public/browser/navigation_controller.h" |
| 42 #include "content/public/browser/navigation_details.h" | 42 #include "content/public/browser/navigation_details.h" |
| 43 #include "content/public/browser/navigation_entry.h" | 43 #include "content/public/browser/navigation_entry.h" |
| 44 #include "content/public/browser/notification_details.h" | 44 #include "content/public/browser/notification_details.h" |
| 45 #include "content/public/browser/notification_observer.h" | 45 #include "content/public/browser/notification_observer.h" |
| 46 #include "content/public/browser/notification_registrar.h" | 46 #include "content/public/browser/notification_registrar.h" |
| 47 #include "content/public/browser/notification_service.h" | 47 #include "content/public/browser/notification_service.h" |
| 48 #include "content/public/browser/notification_source.h" | 48 #include "content/public/browser/notification_source.h" |
| 49 #include "content/public/browser/notification_types.h" | 49 #include "content/public/browser/notification_types.h" |
| 50 #include "content/public/browser/web_contents_delegate.h" | 50 #include "content/public/browser/web_contents_delegate.h" |
| 51 #include "net/http/http_util.h" | 51 #include "net/http/http_util.h" |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 host->Send(new ChromeViewMsg_SearchBoxResize( | 1107 host->Send(new ChromeViewMsg_SearchBoxResize( |
| 1108 host->routing_id(), GetOmniboxBoundsInTermsOfPreview())); | 1108 host->routing_id(), GetOmniboxBoundsInTermsOfPreview())); |
| 1109 } else { | 1109 } else { |
| 1110 host->Send(new ChromeViewMsg_SearchBoxChange( | 1110 host->Send(new ChromeViewMsg_SearchBoxChange( |
| 1111 host->routing_id(), user_text, verbatim, 0, 0)); | 1111 host->routing_id(), user_text, verbatim, 0, 0)); |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 frame_load_observer_.reset(new FrameLoadObserver( | 1114 frame_load_observer_.reset(new FrameLoadObserver( |
| 1115 this, preview_contents()->web_contents(), user_text, verbatim)); | 1115 this, preview_contents()->web_contents(), user_text, verbatim)); |
| 1116 } | 1116 } |
| OLD | NEW |