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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_popup.h

Issue 9193018: Tweak Win ExtensionPopup::OnNativeFocusChange logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and update copyright years. Created 8 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_popup.cc » ('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 (c) 2011 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 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/extensions/extension_host.h" 10 #include "chrome/browser/extensions/extension_host.h"
11 #include "chrome/browser/ui/views/extensions/extension_view.h" 11 #include "chrome/browser/ui/views/extensions/extension_view.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 static const int kMaxWidth; 65 static const int kMaxWidth;
66 static const int kMaxHeight; 66 static const int kMaxHeight;
67 67
68 private: 68 private:
69 ExtensionPopup(Browser* browser, 69 ExtensionPopup(Browser* browser,
70 ExtensionHost* host, 70 ExtensionHost* host,
71 views::View* anchor_view, 71 views::View* anchor_view,
72 views::BubbleBorder::ArrowLocation arrow_location, 72 views::BubbleBorder::ArrowLocation arrow_location,
73 bool inspect_with_devtools); 73 bool inspect_with_devtools);
74 74
75 // Show the bubble, focus on its content, and register listeners.
76 void ShowBubble();
77
75 // The contained host for the view. 78 // The contained host for the view.
76 scoped_ptr<ExtensionHost> extension_host_; 79 scoped_ptr<ExtensionHost> extension_host_;
77 80
78 // Flag used to indicate if the pop-up should open a devtools window once 81 // Flag used to indicate if the pop-up should open a devtools window once
79 // it is shown inspecting it. 82 // it is shown inspecting it.
80 bool inspect_with_devtools_; 83 bool inspect_with_devtools_;
81 84
82 content::NotificationRegistrar registrar_; 85 content::NotificationRegistrar registrar_;
83 86
84 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); 87 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup);
85 }; 88 };
86 89
87 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 90 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_popup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698