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

Side by Side Diff: chrome_frame/ready_mode/internal/ready_prompt_window.cc

Issue 7766007: Only put the chrome frame resources in the locale dlls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove include Created 9 years, 3 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_frame/ready_mode/internal/ready_prompt_window.h" 5 #include "chrome_frame/ready_mode/internal/ready_prompt_window.h"
6 6
7 #include <atlctrls.h> 7 #include <atlctrls.h>
8 #include <Shellapi.h> 8 #include <Shellapi.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/win/scoped_bstr.h" 11 #include "base/win/scoped_bstr.h"
12 #include "base/win/scoped_comptr.h" 12 #include "base/win/scoped_comptr.h"
13 #include "chrome_frame/ready_mode/internal/ready_mode_state.h" 13 #include "chrome_frame/ready_mode/internal/ready_mode_state.h"
14 #include "chrome_frame/ready_mode/internal/url_launcher.h" 14 #include "chrome_frame/ready_mode/internal/url_launcher.h"
15 #include "chrome_frame/simple_resource_loader.h" 15 #include "chrome_frame/simple_resource_loader.h"
16 #include "grit/chrome_frame_dialogs.h"
16 #include "grit/chromium_strings.h" 17 #include "grit/chromium_strings.h"
17 18
18 // atlctrlx.h requires 'min' and 'max' macros, the definition of which conflicts 19 // atlctrlx.h requires 'min' and 'max' macros, the definition of which conflicts
19 // with STL headers. Hence we include them out of the order defined by style 20 // with STL headers. Hence we include them out of the order defined by style
20 // guidelines. As a result you may not refer to std::min or std::max in this 21 // guidelines. As a result you may not refer to std::min or std::max in this
21 // file. 22 // file.
22 #include <minmax.h> // NOLINT 23 #include <minmax.h> // NOLINT
23 #include <atlctrlx.h> // NOLINT 24 #include <atlctrlx.h> // NOLINT
24 25
25 ReadyPromptWindow::ReadyPromptWindow( 26 ReadyPromptWindow::ReadyPromptWindow(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 LPNMHDR /*lParam*/, 115 LPNMHDR /*lParam*/,
115 BOOL& /*bHandled*/) { 116 BOOL& /*bHandled*/) {
116 url_launcher_->LaunchUrl(SimpleResourceLoader::Get( 117 url_launcher_->LaunchUrl(SimpleResourceLoader::Get(
117 IDS_CHROME_FRAME_READY_MODE_LEARN_MORE_URL)); 118 IDS_CHROME_FRAME_READY_MODE_LEARN_MORE_URL));
118 return 0; 119 return 0;
119 } 120 }
120 121
121 void ReadyPromptWindow::OnFinalMessage(HWND) { 122 void ReadyPromptWindow::OnFinalMessage(HWND) {
122 delete this; 123 delete this;
123 } 124 }
OLDNEW
« no previous file with comments | « chrome_frame/ready_mode/internal/ready_prompt_window.h ('k') | chrome_frame/resources/chrome_frame_dialogs.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698