| OLD | NEW |
| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "chrome/browser/ui/browser_window.h" | 60 #include "chrome/browser/ui/browser_window.h" |
| 61 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 61 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
| 62 #include "chrome/browser/ui/login/login_prompt.h" | 62 #include "chrome/browser/ui/login/login_prompt.h" |
| 63 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 63 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 64 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" | 64 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" |
| 65 #include "chrome/browser/ui/webui/ntp/most_visited_handler.h" | 65 #include "chrome/browser/ui/webui/ntp/most_visited_handler.h" |
| 66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 67 #include "chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h" | 67 #include "chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h" |
| 68 #include "chrome/common/automation_messages.h" | 68 #include "chrome/common/automation_messages.h" |
| 69 #include "chrome/common/chrome_notification_types.h" | 69 #include "chrome/common/chrome_notification_types.h" |
| 70 #include "chrome/common/chrome_view_type.h" | |
| 71 #include "chrome/common/content_settings_types.h" | 70 #include "chrome/common/content_settings_types.h" |
| 72 #include "chrome/common/extensions/extension.h" | 71 #include "chrome/common/extensions/extension.h" |
| 72 #include "chrome/common/view_type.h" |
| 73 #include "content/public/browser/dom_operation_notification_details.h" | 73 #include "content/public/browser/dom_operation_notification_details.h" |
| 74 #include "content/public/browser/navigation_controller.h" | 74 #include "content/public/browser/navigation_controller.h" |
| 75 #include "content/public/browser/notification_service.h" | 75 #include "content/public/browser/notification_service.h" |
| 76 #include "content/public/browser/render_process_host.h" | 76 #include "content/public/browser/render_process_host.h" |
| 77 #include "content/public/browser/render_view_host.h" | 77 #include "content/public/browser/render_view_host.h" |
| 78 #include "content/public/browser/web_contents.h" | 78 #include "content/public/browser/web_contents.h" |
| 79 #include "content/public/common/process_type.h" | 79 #include "content/public/common/process_type.h" |
| 80 #include "googleurl/src/gurl.h" | 80 #include "googleurl/src/gurl.h" |
| 81 #include "third_party/skia/include/core/SkBitmap.h" | 81 #include "third_party/skia/include/core/SkBitmap.h" |
| 82 #include "ui/gfx/codec/png_codec.h" | 82 #include "ui/gfx/codec/png_codec.h" |
| (...skipping 2867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2950 } | 2950 } |
| 2951 | 2951 |
| 2952 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); | 2952 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); |
| 2953 if (host->extension_id() == extension_id_ && | 2953 if (host->extension_id() == extension_id_ && |
| 2954 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) { | 2954 host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) { |
| 2955 AutomationJSONReply(automation_, reply_message_.release()) | 2955 AutomationJSONReply(automation_, reply_message_.release()) |
| 2956 .SendSuccess(NULL); | 2956 .SendSuccess(NULL); |
| 2957 delete this; | 2957 delete this; |
| 2958 } | 2958 } |
| 2959 } | 2959 } |
| OLD | NEW |