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

Side by Side Diff: chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc

Issue 1808083002: Migrate ExtensionPopup from BubbleDelegateView to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_popup.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/login/ui/simple_web_view_dialog.h" 5 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 17 matching lines...) Expand all
28 #include "components/toolbar/toolbar_model_impl.h" 28 #include "components/toolbar/toolbar_model_impl.h"
29 #include "content/public/browser/navigation_controller.h" 29 #include "content/public/browser/navigation_controller.h"
30 #include "content/public/browser/navigation_entry.h" 30 #include "content/public/browser/navigation_entry.h"
31 #include "content/public/browser/web_contents.h" 31 #include "content/public/browser/web_contents.h"
32 #include "content/public/common/content_constants.h" 32 #include "content/public/common/content_constants.h"
33 #include "grit/components_strings.h" 33 #include "grit/components_strings.h"
34 #include "ipc/ipc_message.h" 34 #include "ipc/ipc_message.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 #include "ui/base/theme_provider.h" 36 #include "ui/base/theme_provider.h"
37 #include "ui/views/background.h" 37 #include "ui/views/background.h"
38 #include "ui/views/bubble/bubble_delegate.h"
38 #include "ui/views/controls/webview/webview.h" 39 #include "ui/views/controls/webview/webview.h"
39 #include "ui/views/layout/grid_layout.h" 40 #include "ui/views/layout/grid_layout.h"
40 #include "ui/views/layout/layout_constants.h" 41 #include "ui/views/layout/layout_constants.h"
41 #include "ui/views/view.h" 42 #include "ui/views/view.h"
42 #include "ui/views/widget/widget.h" 43 #include "ui/views/widget/widget.h"
43 44
44 using content::WebContents; 45 using content::WebContents;
45 using views::GridLayout; 46 using views::GridLayout;
46 47
47 namespace { 48 namespace {
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 393
393 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { 394 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) {
394 if (reload_) { 395 if (reload_) {
395 reload_->ChangeMode( 396 reload_->ChangeMode(
396 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, 397 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD,
397 force); 398 force);
398 } 399 }
399 } 400 }
400 401
401 } // namespace chromeos 402 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_popup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698