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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc

Issue 480693002: Use a qualified path for ui_resources.h grit includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/views/extensions/extension_installed_bubble_view.h" 5 #include "chrome/browser/ui/views/extensions/extension_installed_bubble_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/browser/ui/views/tabs/tab_strip.h" 26 #include "chrome/browser/ui/views/tabs/tab_strip.h"
27 #include "chrome/browser/ui/views/toolbar/browser_action_view.h" 27 #include "chrome/browser/ui/views/toolbar/browser_action_view.h"
28 #include "chrome/browser/ui/views/toolbar/browser_actions_container.h" 28 #include "chrome/browser/ui/views/toolbar/browser_actions_container.h"
29 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" 29 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
30 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" 30 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
31 #include "chrome/common/extensions/sync_helper.h" 31 #include "chrome/common/extensions/sync_helper.h"
32 #include "chrome/common/url_constants.h" 32 #include "chrome/common/url_constants.h"
33 #include "extensions/common/extension.h" 33 #include "extensions/common/extension.h"
34 #include "grit/chromium_strings.h" 34 #include "grit/chromium_strings.h"
35 #include "grit/generated_resources.h" 35 #include "grit/generated_resources.h"
36 #include "grit/ui_resources.h"
37 #include "ui/base/l10n/l10n_util.h" 36 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/resource/resource_bundle.h" 37 #include "ui/base/resource/resource_bundle.h"
39 #include "ui/gfx/render_text.h" 38 #include "ui/gfx/render_text.h"
40 #include "ui/gfx/text_elider.h" 39 #include "ui/gfx/text_elider.h"
40 #include "ui/resources/grit/ui_resources.h"
41 #include "ui/views/controls/button/image_button.h" 41 #include "ui/views/controls/button/image_button.h"
42 #include "ui/views/controls/image_view.h" 42 #include "ui/views/controls/image_view.h"
43 #include "ui/views/controls/label.h" 43 #include "ui/views/controls/label.h"
44 #include "ui/views/controls/link.h" 44 #include "ui/views/controls/link.h"
45 #include "ui/views/controls/link_listener.h" 45 #include "ui/views/controls/link_listener.h"
46 #include "ui/views/layout/fill_layout.h" 46 #include "ui/views/layout/fill_layout.h"
47 #include "ui/views/layout/layout_constants.h" 47 #include "ui/views/layout/layout_constants.h"
48 48
49 using extensions::Extension; 49 using extensions::Extension;
50 50
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 void ExtensionInstalledBubbleView::WindowClosing() { 599 void ExtensionInstalledBubbleView::WindowClosing() {
600 if (bubble_.extension() && bubble_.type() == bubble_.PAGE_ACTION) { 600 if (bubble_.extension() && bubble_.type() == bubble_.PAGE_ACTION) {
601 BrowserView* browser_view = 601 BrowserView* browser_view =
602 BrowserView::GetBrowserViewForBrowser(bubble_.browser()); 602 BrowserView::GetBrowserViewForBrowser(bubble_.browser());
603 browser_view->GetLocationBarView()->SetPreviewEnabledPageAction( 603 browser_view->GetLocationBarView()->SetPreviewEnabledPageAction(
604 extensions::ExtensionActionManager::Get(bubble_.browser()->profile())-> 604 extensions::ExtensionActionManager::Get(bubble_.browser()->profile())->
605 GetPageAction(*bubble_.extension()), 605 GetPageAction(*bubble_.extension()),
606 false); // preview_enabled 606 false); // preview_enabled
607 } 607 }
608 } 608 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/bundle_installed_bubble.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698